mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Re-factoring the legacy NAND code (legacy NAND now only in board-specific
code and in SoC code). Boards using the old way have CFG_NAND_LEGACY and BOARDLIBS = drivers/nand_legacy/libnand_legacy.a added. Build breakage for NETTA.ERR and NETTA_ISDN - will go away when the new NAND support is implemented for these boards.
This commit is contained in:
@@ -28,6 +28,10 @@
|
||||
#ifndef __LINUX_MTD_NAND_IDS_H
|
||||
#define __LINUX_MTD_NAND_IDS_H
|
||||
|
||||
#ifndef CFG_NAND_LEGACY
|
||||
#error This module is for the legacy NAND support
|
||||
#endif
|
||||
|
||||
static struct nand_flash_dev nand_flash_ids[] = {
|
||||
{"Toshiba TC5816BDC", NAND_MFR_TOSHIBA, 0x64, 21, 1, 2, 0x1000, 0},
|
||||
{"Toshiba TC5832DC", NAND_MFR_TOSHIBA, 0x6b, 22, 0, 2, 0x2000, 0},
|
||||
|
||||
Reference in New Issue
Block a user