RTEMS 6.2
Loading...
Searching...
No Matches
Functions
xnandpsu_flashdev.h File Reference

Flashdev backend XNandPsu peripheral. More...

#include <dev/flash/flashdev.h>
#include <dev/nand/xnandpsu.h>

Go to the source code of this file.

Functions

rtems_flashdevxnandpsu_flashdev_init (XNandPsu *nandpsu)
 Initializes a flash device using Xilinx's xnandpsu flash driver.
 

Detailed Description

Flashdev backend XNandPsu peripheral.

Function Documentation

◆ xnandpsu_flashdev_init()

rtems_flashdev * xnandpsu_flashdev_init ( XNandPsu nandpsu)

Initializes a flash device using Xilinx's xnandpsu flash driver.

The flash device is not registered in this call. The returned object must be destroyed with rtems_flashdev_destroy if it has not been registered.

Parameters
[in]nandpsuA pointer to a configured XNandPsu device.
Return values
Apointer to the rtems_flashdev.
NULLon failure.