projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
084cbb6
)
imx6: geam6ul: Enable MTD device support
author
Jagan Teki
<
[email protected]
>
Tue, 13 Dec 2016 16:56:56 +0000
(17:56 +0100)
committer
Stefano Babic
<
[email protected]
>
Fri, 16 Dec 2016 16:16:10 +0000
(17:16 +0100)
Enable MTD device, partition and command support.
Cc: Stefano Babic <
[email protected]
>
Cc: Matteo Lisi <
[email protected]
>
Cc: Michael Trimarchi <
[email protected]
>
Signed-off-by: Jagan Teki <
[email protected]
>
include/configs/imx6ul_geam.h
patch
|
blob
|
history
diff --git
a/include/configs/imx6ul_geam.h
b/include/configs/imx6ul_geam.h
index 4fe130b7d5656ba9ad0ec2bef520ec8a8abd7be6..8938b8079a2b1f1259089fbfec0a9e984455c854 100644
(file)
--- a/
include/configs/imx6ul_geam.h
+++ b/
include/configs/imx6ul_geam.h
@@
-124,6
+124,12
@@
# define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
# 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_BURST
# define CONFIG_APBH_DMA_BURST8