From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sat, 19 Nov 2011 12:59:09 +0100 Subject: [U-Boot] [PATCH 2/9] ARM: cerf250: re-add MACH_TYPE_PXA_CERF In-Reply-To: <1321703956-4224-1-git-send-email-agust@denx.de> References: <1321703956-4224-1-git-send-email-agust@denx.de> Message-ID: <1321703956-4224-3-git-send-email-agust@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de MACH_TYPE_PXA_CERF was removed from mach-types.h. Add it to the board config file. Signed-off-by: Anatolij Gustschin --- board/cerf250/cerf250.c | 3 --- include/configs/cerf250.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/cerf250/cerf250.c b/board/cerf250/cerf250.c index 043afea..615c288 100644 --- a/board/cerf250/cerf250.c +++ b/board/cerf250/cerf250.c @@ -43,9 +43,6 @@ int board_init (void) dcache_disable(); icache_disable(); - /* arch number of cerf PXA Board */ - gd->bd->bi_arch_number = MACH_TYPE_PXA_CERF; - /* adress of boot parameters */ gd->bd->bi_boot_params = 0xa0000100; diff --git a/include/configs/cerf250.h b/include/configs/cerf250.h index 70427da..dde9e14 100644 --- a/include/configs/cerf250.h +++ b/include/configs/cerf250.h @@ -42,6 +42,9 @@ #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */ +#define MACH_TYPE_PXA_CERF 139 +#define CONFIG_MACH_TYPE MACH_TYPE_PXA_CERF + /* we will never enable dcache, because we have to setup MMU first */ #define CONFIG_SYS_DCACHE_OFF -- 1.7.5.4