summaryrefslogtreecommitdiff
path: root/include/configs/olimex_am335x_som.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/olimex_am335x_som.h')
-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 */