From 8ad4561aeb4f6c414ea8c87d7bb5151d8166c618 Mon Sep 17 00:00:00 2001 From: Vikram Pandita Date: Thu, 24 Mar 2011 16:51:05 -0700 Subject: 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 --- Makefile | 5 +++++ board/omap4430sdp/omap4430sdp.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/Makefile b/Makefile index c6cb2f01..72dfebd7 100644 --- a/Makefile +++ b/Makefile @@ -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; -- cgit v1.2.3