]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand/onenand: Register mtd device upon device scanning
authorStefan Roese <sr@denx.de>
Fri, 24 Apr 2009 13:59:35 +0000 (15:59 +0200)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Apr 2009 23:15:38 +0000 (01:15 +0200)
commitdbe29e36a4c2775b69b5a63b0ce2bac89c08e691
treeda7930d4f212f88a2a9e3ede33873869f75bea16
parent10bb62d85a0850dbad1fdd34123378686373f166
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: Stefan Roese <sr@denx.de>
drivers/mtd/nand/nand.c
drivers/mtd/onenand/onenand_uboot.c