summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorDaniel Palmer <daniel@0x0f.com>2020-10-18 20:05:35 +0900
committerDaniel Palmer <daniel@0x0f.com>2020-10-18 20:05:35 +0900
commit3eb0c91c6ed1c66cf138b0dc954dd3d086198f87 (patch)
tree5590da47b1497436bae17a1f4ce0687a99fd5eba /include/configs
parentc25a63fd0b20fb1da5262fb09181adc8e0cbeb22 (diff)
More fixing
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/olimex_am335x_som.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/olimex_am335x_som.h b/include/configs/olimex_am335x_som.h
index d113ad5b3e..6d6051bbd8 100644
--- a/include/configs/olimex_am335x_som.h
+++ b/include/configs/olimex_am335x_som.h
@@ -53,6 +53,7 @@
#endif
#ifndef CONFIG_SPL_BUILD
+#if 0
#define CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
"boot_fdt=try\0" \
@@ -109,6 +110,13 @@
"fi;\0" \
NANDARGS
/*DFUARGS*/
+#else
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "loadaddr=0x82000000\0" \
+ "fdtaddr=0x88000000\0" \
+ "bootargs=console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p1\0" \
+ "bootcmd=ext4load mmc 0:1 $loadaddr /boot/zImage; ext4load mmc 0:1 $fdtaddr /boot/am335x-olimex-som.dtb; bootz $loadaddr - $fdtaddr\0"
+#endif
#endif
/* NS16550 Configuration */