summaryrefslogtreecommitdiff
path: root/include/configs/aristainetos2.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2019-12-01 13:23:30 +0300
committerStefano Babic <sbabic@denx.de>2020-01-07 12:26:56 +0300
commit1204b9675ed670da9317d87a5a29f06b6412745b (patch)
treec625e741cfda435df5f7cad439a66759b92ec611 /include/configs/aristainetos2.h
parent1c9c4642c3c548678d96bba9f2ae7fb499324916 (diff)
downloadu-boot-1204b9675ed670da9317d87a5a29f06b6412745b.tar.xz
imx6: aristainetos: readd aristainetos 2b board
readd aristainetos 2b board. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/aristainetos2.h')
-rw-r--r--include/configs/aristainetos2.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/aristainetos2.h b/include/configs/aristainetos2.h
index 48cea2b4d0..d2646d26da 100644
--- a/include/configs/aristainetos2.h
+++ b/include/configs/aristainetos2.h
@@ -86,6 +86,28 @@
"enable_hab_check=0\0"
#endif
+#if (CONFIG_SYS_BOARD_VERSION == 3)
+#define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
+ "dead=led led_red on\0" \
+ "mtdids=nand0=gpmi-nand,nor0=spi0.0\0" \
+ "mtdparts=mtdparts=spi0.0:832k(u-boot),64k(env),64k(env-red)," \
+ "-(ubi-nor);gpmi-nand:-(ubi)\0" \
+ "addmisc=setenv bootargs ${bootargs} net.ifnames=0 consoleblank=0 " \
+ "bootmode=${bootmode} mmcpart=${mmcpart}\0" \
+ "mainboot=echo Booting from SD-card ...; " \
+ "run mainargs addmtd addmisc;" \
+ "if test -n ${addmiscM}; then run addmiscM;fi;" \
+ "if test -n ${addmiscC}; then run addmiscC;fi;" \
+ "if test -n ${addmiscD}; then run addmiscD;fi;" \
+ "run boot_board_type;" \
+ "bootm ${fit_addr_r}\0" \
+ "mainargs=setenv bootargs console=${console},${baudrate} " \
+ "root=${mmcroot}\0" \
+ "main_load_fit=ext4load mmc ${mmcdev}:${mmcpart} ${fit_addr_r} " \
+ "${fit_file}\0" \
+ "rescue_load_fit=ext4load mmc ${mmcdev}:${mmcrescuepart} " \
+ "${fit_addr_r} ${rescue_fit_file}\0"
+#else
#define CONFIG_EXTRA_ENV_BOARD_SETTINGS \
"dead=led led_red on\0" \
"mtdids=nand0=gpmi-nand,nor0=spi3.1\0" \
@@ -106,6 +128,7 @@
"${fit_file}\0" \
"rescue_load_fit=ext4load mmc ${mmcdev}:${mmcrescuepart} " \
"${fit_addr_r} ${rescue_fit_file}\0"
+#endif
#define CONFIG_EXTRA_ENV_SETTINGS \
"disable_giga=yes\0" \