[U-Boot] [PATCH 8/8] arm: rmobile: lager: Remove MACH_TYPE_LAGER and CONFIG_MACH_TYPE
Nobuhiro Iwamatsu
nobuhiro.iwamatsu.yj at renesas.com
Tue Apr 8 04:41:40 CEST 2014
MACH_TYPE_LAGER and CONFIG_MACH_TYPE are not already available on Lager board.
This removes them.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
---
board/renesas/lager/lager.c | 2 --
include/configs/lager.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c
index 898fb57..a5a0474 100644
--- a/board/renesas/lager/lager.c
+++ b/board/renesas/lager/lager.c
@@ -85,8 +85,6 @@ void arch_preboot_os(void)
DECLARE_GLOBAL_DATA_PTR;
int board_init(void)
{
- /* board id for linux */
- gd->bd->bi_arch_number = MACH_TYPE_LAGER;
/* adress of boot parameters */
gd->bd->bi_boot_params = LAGER_SDRAM_BASE + 0x100;
diff --git a/include/configs/lager.h b/include/configs/lager.h
index 269cfec..ac31128 100644
--- a/include/configs/lager.h
+++ b/include/configs/lager.h
@@ -16,8 +16,6 @@
#define CONFIG_RMOBILE
#define CONFIG_RMOBILE_BOARD_STRING "Lager"
#define CONFIG_SH_GPIO_PFC
-#define MACH_TYPE_LAGER 4538
-#define CONFIG_MACH_TYPE MACH_TYPE_LAGER
#include <asm/arch/rmobile.h>
--
1.8.5
More information about the U-Boot
mailing list