Skip to content
Snippets Groups Projects
Commit dbe29e36 authored by Stefan Roese's avatar Stefan Roese Committed by Wolfgang Denk
Browse files

mtd: nand/onenand: Register mtd device upon device scanning


With this patch the NAND and OneNAND devices are registered in the MTD
subsystem and can then be referenced by the mtdcore code (e.g.
get_mtd_device_nm()). This is needed for the new "ubi part" command
syntax without the flash type parameter (nor|nand|onenand).

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 10bb62d8
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment