]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - patches/0029-ENGR00114746-Disable-flash-header-for-mx35-nand-boo.patch
imported Ka-Ro specific additions to U-Boot 2009.08 for TX28
[karo-tx-uboot.git] / patches / 0029-ENGR00114746-Disable-flash-header-for-mx35-nand-boo.patch
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
5
6 Disable flash header for mx35 nand boot.
7
8 Signed-off-by: Terry Lv <r65388@freescale.com>
9 ---
10  include/configs/mx35_3stack.h |   11 +++++++----
11  1 files changed, 7 insertions(+), 4 deletions(-)
12
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
17 @@ -36,10 +36,6 @@
18  #define CONFIG_DISPLAY_CPUINFO
19  #define CONFIG_DISPLAY_BOARDINFO
20  
21 -#define CONFIG_FLASH_HEADER     1
22 -#define CONFIG_FLASH_HEADER_OFFSET 0x400
23 -#define CONFIG_FLASH_HEADER_BARKER 0xB1
24 -
25  #define BOARD_LATE_INIT
26  /*
27   * Disabled for now due to build problems under Debian and a significant increase
28 @@ -190,6 +186,13 @@
29  
30  #define CONFIG_MMC              1
31  #define CONFIG_CMD_MMC
32 +
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
37 +#endif
38 +
39  #define CONFIG_DOS_PARTITION    1
40  #define CONFIG_CMD_FAT          1
41  #define CONFIG_MMC_BASE         0x0
42 -- 
43 1.5.4.4
44