summaryrefslogtreecommitdiff
path: root/include/configs/am335x_evm.h
diff options
context:
space:
mode:
authorStefan Mavrodiev <stefan.mavrodiev@gmail.com>2016-10-03 13:08:35 +0300
committerDaniel Palmer <daniel@0x0f.com>2020-10-18 16:53:27 +0900
commitef178362108415979ec8cfaa051222599d07a68c (patch)
tree0377fe692398c89b6331daccd332a3bb3a60ac40 /include/configs/am335x_evm.h
parent050acee119b3757fee3bd128f55d720fdd9bb890 (diff)
Add support for AM335x Olimex boards
Signed-off-by: Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r--include/configs/am335x_evm.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 9c4ef369c5..e847d796aa 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -87,12 +87,13 @@
BOOT_TARGET_PXE(func) \
BOOT_TARGET_DHCP(func)
-#include <config_distro_bootcmd.h>
+//#include <config_distro_bootcmd.h>
#ifndef CONFIG_SPL_BUILD
#include <environment/ti/dfu.h>
#include <environment/ti/mmc.h>
+#if 0
#define CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
DEFAULT_MMC_TI_ARGS \
@@ -169,6 +170,13 @@
BOOTENV
#endif
+#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
+
/* NS16550 Configuration */
#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
#define CONFIG_SYS_NS16550_COM2 0x48022000 /* UART1 */