mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 01:48:52 +09:00
imx6: icorem6: Enable MTD device support
Enable MTD device, partition and command support. Cc: Stefano Babic <sbabic@denx.de> Cc: Peng Fan <peng.fan@nxp.com> Cc: Matteo Lisi <matteo.lisi@engicam.com> Cc: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
parent
023ff2f732
commit
310db71d04
@ -124,6 +124,12 @@
|
|||||||
# define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
|
# define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
|
||||||
# define CONFIG_SYS_NAND_U_BOOT_OFFS 0x200000
|
# define CONFIG_SYS_NAND_U_BOOT_OFFS 0x200000
|
||||||
|
|
||||||
|
/* MTD device */
|
||||||
|
# define CONFIG_MTD_DEVICE
|
||||||
|
# define CONFIG_CMD_MTDPARTS
|
||||||
|
# define CONFIG_MTD_PARTITIONS
|
||||||
|
# define MTDIDS_DEFAULT "nand0=nand"
|
||||||
|
|
||||||
# define CONFIG_APBH_DMA
|
# define CONFIG_APBH_DMA
|
||||||
# define CONFIG_APBH_DMA_BURST
|
# define CONFIG_APBH_DMA_BURST
|
||||||
# define CONFIG_APBH_DMA_BURST8
|
# define CONFIG_APBH_DMA_BURST8
|
||||||
|
Loading…
Reference in New Issue
Block a user