RTEMS 6.3
Loading...
Searching...
No Matches
xnandpsu_flashdev.h File Reference

Flashdev backend XNandPsu peripheral. More...

Go to the source code of this file.

Functions

rtems_flashdev * xnandpsu_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.