1 From ecbbc581c9f54a3512cd3f6ef42562b1cf047d35 Mon Sep 17 00:00:00 2001
2 From: Terry Lv <r65388@freescale.com>
3 Date: Mon, 3 Aug 2009 15:14:43 +0000
4 Subject: [PATCH] ENGR00114746: Disable flash header for mx35 nand boot
6 Disable flash header for mx35 nand boot.
8 Signed-off-by: Terry Lv <r65388@freescale.com>
10 include/configs/mx35_3stack.h | 11 +++++++----
11 1 files changed, 7 insertions(+), 4 deletions(-)
13 diff --git a/include/configs/mx35_3stack.h b/include/configs/mx35_3stack.h
14 index a49939a..796fb03 100644
15 --- a/include/configs/mx35_3stack.h
16 +++ b/include/configs/mx35_3stack.h
18 #define CONFIG_DISPLAY_CPUINFO
19 #define CONFIG_DISPLAY_BOARDINFO
21 -#define CONFIG_FLASH_HEADER 1
22 -#define CONFIG_FLASH_HEADER_OFFSET 0x400
23 -#define CONFIG_FLASH_HEADER_BARKER 0xB1
25 #define BOARD_LATE_INIT
27 * Disabled for now due to build problems under Debian and a significant increase
31 #define CONFIG_CMD_MMC
33 +#if defined(CONFIG_FSL_MMC)
34 + #define CONFIG_FLASH_HEADER 1
35 + #define CONFIG_FLASH_HEADER_OFFSET 0x400
36 + #define CONFIG_FLASH_HEADER_BARKER 0xB1
39 #define CONFIG_DOS_PARTITION 1
40 #define CONFIG_CMD_FAT 1
41 #define CONFIG_MMC_BASE 0x0