[PATCH 2/2] omap3evm: Setup ATAGs for Linux boot
Sanjeev Premi
premi at ti.com
Tue Feb 7 11:16:54 EST 2012
Signed-off-by: Sanjeev Premi <premi at ti.com>
---
arch/arm/boards/omap3evm/board.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/omap3evm/board.c b/arch/arm/boards/omap3evm/board.c
index 21d2504..3108146 100644
--- a/arch/arm/boards/omap3evm/board.c
+++ b/arch/arm/boards/omap3evm/board.c
@@ -60,6 +60,7 @@
#include <mach/omap3-mux.h>
#include <mach/gpmc.h>
#include <errno.h>
+#include <generated/mach-types.h>
/*
@@ -262,6 +263,9 @@ static int omap3evm_init_devices(void)
add_generic_device("omap-hsmmc", -1, NULL, OMAP_MMC1_BASE, SZ_4K,
IORESOURCE_MEM, NULL);
#endif
+ armlinux_set_bootparams((void *)0x80000100);
+ armlinux_set_architecture(MACH_TYPE_OMAP3EVM);
+
return 0;
}
device_initcall(omap3evm_init_devices);
--
1.7.0.4
More information about the barebox
mailing list