diff options
author | Vikram Pandita <vikram.pandita@ti.com> | 2011-03-24 16:51:05 -0700 |
---|---|---|
committer | Vikram Pandita <vikram.pandita@ti.com> | 2011-03-24 16:51:05 -0700 |
commit | 8ad4561aeb4f6c414ea8c87d7bb5151d8166c618 (patch) | |
tree | a79f6a45cc1220b216e5baeaec9d9ccc51b044d8 | |
parent | ed48690ba11124d4b142f2de9156d6965c4e7db4 (diff) | |
download | u-boot-pandroid-8ad4561aeb4f6c414ea8c87d7bb5151d8166c618.tar.gz |
omap4: blaze: tablet: introduce omap44XXtablet_config
Be consistent with xloader build using: omap44XXtablet_config
Also pass the correct MACH_ID for Blaze Tablet to kernel.
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | board/omap4430sdp/omap4430sdp.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1830,8 +1830,13 @@ omap3430labrador_config : unconfig omap3430zoom2_config : unconfig @./mkconfig $(@:_config=) arm omap3 omap3430zoom2 +omap44XXtablet_config \ omap4430sdp_config : unconfig @./mkconfig $(@:_config=) arm omap4 omap4430sdp + @if [ "$(findstring tablet, $@)" ] ; then \ + echo "#define OMAP44XX_TABLET_CONFIG" >> ./include/config.h ; \ + echo "Configuring for OMAP4 Tablet .... "; \ + fi; omap4430panda_config : unconfig @./mkconfig $(@:_config=) arm omap4 omap4430panda diff --git a/board/omap4430sdp/omap4430sdp.c b/board/omap4430sdp/omap4430sdp.c index b00ef956..686a41de 100644 --- a/board/omap4430sdp/omap4430sdp.c +++ b/board/omap4430sdp/omap4430sdp.c @@ -484,7 +484,11 @@ int board_init(void) #endif /* board id for Linux */ +#if defined(OMAP44XX_TABLET_CONFIG) + gd->bd->bi_arch_number = MACH_TYPE_OMAP_BLAZE; +#else gd->bd->bi_arch_number = MACH_TYPE_OMAP_4430SDP; +#endif gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */ return 0; |