]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
PPC: Create and use CONFIG_HIGH_BATS
authorBecky Bruce <becky.bruce@freescale.com>
Fri, 9 May 2008 00:02:12 +0000 (19:02 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jun 2008 15:48:41 +0000 (17:48 +0200)
Change all code that conditionally operates on high bat
registers (that is, BATs 4-7) to look at CONFIG_HIGH_BATS
instead of the myriad ways this is done now.  Define the option
for every config for which high bats are supported (and
enabled by early boot, on parts where they're not always
enabled)

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
47 files changed:
cpu/74xx_7xx/start.S
cpu/mpc83xx/start.S
include/configs/Alaska8220.h
include/configs/BC3450.h
include/configs/CPCI750.h
include/configs/IceCube.h
include/configs/MPC8313ERDB.h
include/configs/MPC8315ERDB.h
include/configs/MPC8323ERDB.h
include/configs/MPC832XEMDS.h
include/configs/MPC8349EMDS.h
include/configs/MPC8349ITX.h
include/configs/MPC8360EMDS.h
include/configs/MPC8360ERDK.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/PM520.h
include/configs/TB5200.h
include/configs/TOP5200.h
include/configs/TQM5200.h
include/configs/TQM834x.h
include/configs/Total5200.h
include/configs/Yukon8220.h
include/configs/ads5121.h
include/configs/aev.h
include/configs/canmb.h
include/configs/cm5200.h
include/configs/cpci5200.h
include/configs/hmi1001.h
include/configs/inka4x0.h
include/configs/jupiter.h
include/configs/mcc200.h
include/configs/mecp5200.h
include/configs/motionpro.h
include/configs/mpc7448hpc2.h
include/configs/munices.h
include/configs/o2dnt.h
include/configs/p3mx.h
include/configs/pf5200.h
include/configs/sbc8349.h
include/configs/smmaco4.h
include/configs/sorcery.h
include/configs/spieval.h
include/configs/uc101.h
include/configs/v38b.h

index b5834b91e3e054ef4506777b9b8f1fa2e536a27d..42b0f72ac048db8fae7e3824d975d32faa23d52e 100644 (file)
@@ -316,7 +316,7 @@ invalidate_bats:
        mtspr   IBAT1U, r0
        mtspr   IBAT2U, r0
        mtspr   IBAT3U, r0
-#ifdef CONFIG_750FX
+#ifdef CONFIG_HIGH_BATS
        mtspr   IBAT4U, r0
        mtspr   IBAT5U, r0
        mtspr   IBAT6U, r0
@@ -327,7 +327,7 @@ invalidate_bats:
        mtspr   DBAT1U, r0
        mtspr   DBAT2U, r0
        mtspr   DBAT3U, r0
-#ifdef CONFIG_750FX
+#ifdef CONFIG_HIGH_BATS
        mtspr   DBAT4U, r0
        mtspr   DBAT5U, r0
        mtspr   DBAT6U, r0
@@ -414,7 +414,7 @@ setup_bats:
        mtspr   DBAT3U, r3
        isync
 
-#ifdef CONFIG_750FX
+#ifdef CONFIG_HIGH_BATS
        /* IBAT 4 */
        addis   r4, r0, CFG_IBAT4L@h
        ori     r4, r4, CFG_IBAT4L@l
index 309eb30e8e97b423218d5f5f761461c5fedf1e3b..c1821747917f1d003e0ffb103ba094fedc816f65 100644 (file)
@@ -557,7 +557,7 @@ invalidate_bats:
        mtspr   IBAT1U, r0
        mtspr   IBAT2U, r0
        mtspr   IBAT3U, r0
-#if (CFG_HID2 & HID2_HBE)
+#ifdef CONFIG_HIGH_BATS
        mtspr   IBAT4U, r0
        mtspr   IBAT5U, r0
        mtspr   IBAT6U, r0
@@ -568,7 +568,7 @@ invalidate_bats:
        mtspr   DBAT1U, r0
        mtspr   DBAT2U, r0
        mtspr   DBAT3U, r0
-#if (CFG_HID2 & HID2_HBE)
+#ifdef CONFIG_HIGH_BATS
        mtspr   DBAT4U, r0
        mtspr   DBAT5U, r0
        mtspr   DBAT6U, r0
@@ -655,7 +655,7 @@ setup_bats:
        mtspr   DBAT3U, r3
        isync
 
-#if (CFG_HID2 & HID2_HBE)
+#ifdef CONFIG_HIGH_BATS
        /* IBAT 4 */
        addis   r4, r0, CFG_IBAT4L@h
        ori     r4, r4, CFG_IBAT4L@l
index 3f2f6140f634da7fda0895ae8136a7957bf1ff14..38b962f8232c8c6d61aa5175a84af8e5572103c1 100644 (file)
@@ -31,6 +31,8 @@
 #define CONFIG_MPC8220         1
 #define CONFIG_ALASKA8220      1       /* ... on Alaska board  */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* Input clock running at 30Mhz, read Hid1 for the CPU multiplier to
    determine the CPU speed. */
 #define CFG_MPC8220_CLKIN      30000000/* ... running at 30MHz */
index 706c13efad4047ed18afae786adc11ced0ff298f..b7574bf1494b80f8eab7f12b03bc8f84a2f9f29c 100644 (file)
@@ -61,6 +61,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH */
 #define BOOTFLAG_WARM          0x02    /* Software reboot                  */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported              */
+
 /*
  * Serial console configuration
  */
index 48e29a20876cd2330ec4c8fa68c2564372aed573..89edbde1de64baa44e469f6de0f84bffcef3dd63 100644 (file)
@@ -61,6 +61,8 @@
 
 #undef CONFIG_ECC                      /* enable ECC support */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* which initialization functions to call for this board */
 #define CONFIG_MISC_INIT_R
 #define CONFIG_BOARD_PRE_INIT
index f85cff7abffcf4bcec0b3c8376979771ce398b28..3a347eac55e51c08f46fd9bdfe49065472873993 100644 (file)
@@ -37,6 +37,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index 610151f5860e2c790f6fdfd7ca23ed823ca44961..d547681c3d0deb3b67011252673fd03269f636d7 100644 (file)
 
 #define CFG_HID2 HID2_HBE
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* DDR @ 0x00000000 */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10)
 #define CFG_IBAT0U     (CFG_SDRAM_BASE | BATU_BL_256M | BATU_VS | BATU_VP)
index e0a887c7e6526f2de96b7b805aef01a6e1b90704..7a5d0aa1dde27d54114ee5e58c8c6cca004bb378 100644 (file)
 /*
  * MMU Setup
  */
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 
 /* DDR: cache cacheable */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
index 32f57ac7dad8f1435406e2f3e92e47793dc88189..977c041dca6e31f18f639e9f99534000e0bf2469 100644 (file)
 /*
  * MMU Setup
  */
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 
 /* DDR: cache cacheable */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
index 1276a124c936de2b4db060d3cfd7ebeda33476a2..9ca2a2be04ed67c51519611b16463f14f75fcf73 100644 (file)
  * MMU Setup
  */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* DDR: cache cacheable */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
 #define CFG_IBAT0U     (CFG_SDRAM_BASE | BATU_BL_256M | BATU_VS | BATU_VP)
index 119e7ac7c617bd83525164ec58bc1f15cd5c4a9b..bd775400032d36d383491c0846b6593b03da2bc4 100644 (file)
 
 
 #define CFG_HID2 HID2_HBE
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 
 /* DDR @ 0x00000000 */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
index c72de03c013051ab36acba579b2a49ac0505c3c8..38410a1764ce80fcff596b13fbb3a543cc8c8b67 100644 (file)
@@ -555,6 +555,7 @@ boards, we say we have two, but don't display a message if we find only one. */
 #define CFG_HID0_FINAL CFG_HID0_INIT
 
 #define CFG_HID2       HID2_HBE
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 
 /* DDR  */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
index 983575eb0c16a7629d27b501547c2794e37b7b05..fcfbe6f82199734ee2578325536e92b6e835cfc1 100644 (file)
  * MMU Setup
  */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* DDR: cache cacheable */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
 #define CFG_IBAT0U     (CFG_SDRAM_BASE | BATU_BL_256M | BATU_VS | BATU_VP)
index 7b7d6f50c00b59b8ec3abbf437989bd2db52f5ba..adedcb95af6010469ee7828034eafad5e8a424ea 100644 (file)
  * MMU Setup
  */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* DDR: cache cacheable */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
 #define CFG_IBAT0U     (CFG_SDRAM_BASE | BATU_BL_256M | BATU_VS | BATU_VP)
index e92493ae4db029f8e2129baa064cff3276281250..4e159a0b462715411d8b8d3994aeb667dbe00077 100644 (file)
 /*
  * MMU Setup
  */
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 
 /* DDR: cache cacheable */
 #define CFG_SDRAM_LOWER                CFG_SDRAM_BASE
index f7e6fd2c52bec95b0d05c15adc56b29d22f29f18..29c2490e6b1915eddd1d77823a3f00c686842493 100644 (file)
  * MMU Setup
  */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* DDR: cache cacheable */
 #define CFG_SDRAM_LOWER                CFG_SDRAM_BASE
 #define CFG_SDRAM_UPPER                (CFG_SDRAM_BASE + 0x10000000)
index 15ff0eacf2571989b2c3516d1f09a53fa31762d7..a051b6d39bf64ab79faf36bca9b43a370773c4a1 100644 (file)
@@ -55,6 +55,7 @@
 #define CONFIG_NUM_DDR_CONTROLLERS     1
 #define CONFIG_INTERRUPTS              /* enable pci, srio, ddr interrupts */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported & enabled */
 #define CONFIG_ALTIVEC         1
 
 /*
index 9acc3da54a2933116ab61c9400aff41b4ae37456..49ee7ffd3a2568d65e3f5000e96ebc5eed3e91e1 100644 (file)
@@ -67,6 +67,7 @@
 #define BANK_INTERLEAVING              0x22000000
 #define SUPER_BANK_INTERLEAVING                0x23000000
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported and enabled */
 
 #define CONFIG_ALTIVEC         1
 
index 6eb644492553fa1585d15f396df2594f4c9a3ec2..259178f857bb7af800948b84cb329bdc3ddb6695 100644 (file)
@@ -40,6 +40,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index 6cb3022b93f021b8639445d414da9b9aa62378a6..d21783b838f897360bf90fc19c98431de4b7fc7a 100644 (file)
@@ -42,6 +42,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index 71fa36baae9ceab90d64dafbd1ac28c96c298b46..4c447356a442d7946784e690794229089a48744c 100644 (file)
@@ -50,6 +50,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index bff2edf76963194ae1a0cfa54310a474cc64b2d9..bfb478a86888f618857cb517cbe6d50368d6c4bb 100644 (file)
@@ -47,6 +47,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM          0x02    /* Software reboot                      */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported                  */
+
 /*
  * Serial console configuration
  */
index a86939e0978278b74062a051dc004a6d6e0ba0f4..89fc46541607359d5f92582ba098159e0c9ea6d9 100644 (file)
@@ -423,6 +423,8 @@ extern int tqm834x_num_flash_banks;
 #define CFG_HID0_FINAL CFG_HID0_INIT
 #define CFG_HID2       HID2_HBE
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* DDR 0 - 512M */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
 #define CFG_IBAT0U     (CFG_SDRAM_BASE | BATU_BL_256M | BATU_VS | BATU_VP)
index 31f10dd87c09256e508406fc42388e45e8ca1c32..598fe7bf27823fd100ed8ccf362a467863acfdb8 100644 (file)
@@ -48,6 +48,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index 00c4ff093a6ce78f995e673d3a15291598894d19..1b4195a08fd0e2bb90f5c13308c75973d84ab44f 100644 (file)
@@ -31,6 +31,8 @@
 #define CONFIG_MPC8220         1
 #define CONFIG_YUKON8220       1       /* ... on Yukon board   */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* Input clock running at 30Mhz, read Hid1 for the CPU multiplier to
    determine the CPU speed. */
 #define CFG_MPC8220_CLKIN      30000000/* ... running at 30MHz */
index c975a249c74fe5654dbf46226a4588728fa671ca..4226529eb7ddee16bd78ce66f9919da72c0b1a6f 100644 (file)
 #define CFG_HID0_FINAL HID0_ENABLE_MACHINE_CHECK
 #define CFG_HID2       HID2_HBE
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Internal Definitions
  *
index e3f810c5c89508f38a054d5ef7738725f1887d29..c5e475921c430bc5ed60b1b287fc015a78d1156e 100644 (file)
@@ -41,6 +41,8 @@
 #define CONFIG_AEVFIFO         1
 #define CFG_MPC5XXX_CLKIN      33000000 /* ... running at 33.000000MHz */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
index 0f7bb619ceba2c28467bc186245079379ee60b99..f097e2c2f09042b7a085273b096ef030140bedbc 100644 (file)
@@ -40,6 +40,8 @@
 
 #define CONFIG_BOARD_EARLY_INIT_R
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index d554348021fcfc0ff6be22dd8e04a424ab4689d5..ef50c7cabb7c2b2400b6779c785abb1ce2b6d662 100644 (file)
@@ -31,6 +31,8 @@
 #define CONFIG_MPC5200         1       /* (more precisely an MPC5200 CPU) */
 #define CONFIG_CM5200          1       /* ... on CM5200 platform */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Supported commands
  */
index 1b30e51a3feac90f81aa29cacd291ed896e86a5c..fffd1fe1fa7866c0896651ce307786f288ef4309 100644 (file)
@@ -50,6 +50,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported    */
+
 /*
  * Serial console configuration
  */
index e5a88977445bd768d3f42d6f8c4d25642d59725b..ad7cf76869a8c8e35e1939f5c833edf0481f4170 100644 (file)
@@ -40,6 +40,8 @@
 
 #define CONFIG_BOARD_EARLY_INIT_R
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported                  */
+
 /*
  * Serial console configuration
  */
index c89f041ee470bf0107cdb341c0d36f4d90b4beb5..6ec92c38c578580c8c001a1c5306c583e8ac48b8 100644 (file)
@@ -40,6 +40,8 @@
 
 #define CONFIG_MISC_INIT_F     1       /* Use misc_init_f()                    */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported                  */
+
 /*
  * Serial console configuration
  */
index 980e9fe9cea1e050ad65935d7009c7c3af807cee..c9859270c00ed0de5666f63a9e06dd88dc559b8e 100644 (file)
@@ -41,6 +41,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index a9c86f9e3f76c3728c84eafef7c0939ac98dfb9d..e4c3f7239be4fbd6bae717a027e49143e4219bfb 100644 (file)
@@ -40,6 +40,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM          0x02    /* Software reboot                      */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported                  */
+
 /*
  * Serial console configuration
  *
index 5218d9ca97593b7a7a237315b616d284c6882ed0..8dfb9aa8a96f859fc8e61ee2e120188c2220ee6c 100644 (file)
@@ -50,6 +50,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index 1503598166c1be56424ff58db544df138477822f..b6843af3dc6c9f93131e91ce3cc4116045614942 100644 (file)
@@ -35,6 +35,7 @@
 #define CONFIG_MPC5200         1       /* More exactly a MPC5200 */
 #define CONFIG_MOTIONPRO       1       /* ... on Promess Motion-PRO board */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 
 /*
  * BOOTP options
index f614e679f9e91c5842215cc2d331d930c3d4497b..a218f7576c7254a3eedfdca926c7e93e745a8a70 100644 (file)
@@ -39,7 +39,7 @@
 #define CONFIG_MPC7448HPC2
 
 #define CONFIG_74xx
-#define CONFIG_750FX           /* this option to enable init of extended BATs */
+#define CONFIG_HIGH_BATS       /* High BATs supported */
 #define CONFIG_ALTIVEC         /* undef to disable */
 
 #define CFG_BOARD_NAME         "MPC7448 HPC II"
index 38b27bb3a776eb24625989ab437b98553ce9ba0d..e0046ec2d38efb8e2066d50a846d0a5270a92e0e 100644 (file)
@@ -35,6 +35,7 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 #define CFG_CACHELINE_SIZE     32      /* For MPC5xxx CPUs */
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 
 /*
  * Command line configuration.
index 8dde1ef3916e7cba3d7e5c1207e8449b1c192532..88bdb03e67af93694e92dec1bb897cda75aa244d 100644 (file)
@@ -37,6 +37,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index 0dac5161ba74bc6214f6dfd88814d27e85a67f6b..0913b14a4ca9f22adef465244d4b4ca9abe8b03c 100644 (file)
@@ -42,6 +42,7 @@
 
 #if defined (CONFIG_P3M750)
 #define CONFIG_750FX                   /* 750GL/GX/FX                  */
+#define CONFIG_HIGH_BATS               /* High BATs supported          */
 #define CFG_BOARD_NAME         "P3M750"
 #define CFG_BUS_HZ             100000000
 #define CFG_BUS_CLK            CFG_BUS_HZ
index 2ce39c913c831a2e873ca04ddef34a4b07b727ed..c065d3328c97be28156e6d2e38ef6e9114a03cde 100644 (file)
@@ -49,6 +49,7 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
 /*
  * Serial console configuration
  */
index 0ebc674a69a6d2adeba6e88a1472dcd01cd96163..74815567ff922a4daf7422c48b9e716ac611cb9f 100644 (file)
 
 #define CFG_HID2 HID2_HBE
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* DDR @ 0x00000000 */
 #define CFG_IBAT0L     (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
 #define CFG_IBAT0U     (CFG_SDRAM_BASE | BATU_BL_256M | BATU_VS | BATU_VP)
index 4578cae7d666c2fae3c6445ff435c54628334882..3e47eb88a7cba31331ab87eacda42d18197f271c 100644 (file)
@@ -42,6 +42,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index c62b9775c697f57e611234373c0ea6d8ddd3ee8a..18f553373709cc448c1c6cfdba8cc97d67cfe80b 100644 (file)
@@ -31,6 +31,8 @@
 #define CONFIG_MPC8220         1
 #define CONFIG_SORCERY         1       /* Sorcery board */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /* Input clock running at 60Mhz, read Hid1 for the CPU multiplier to
    determine the CPU speed. */
 #define CFG_MPC8220_CLKIN      60000000 /* ... running at 60MHz */
index 49213dc67ade3c71ee6c46724b87706fdc89d7dc..69d2d67ab1cdbfe4b45b66d682e48cfb7bc01e39 100644 (file)
@@ -44,6 +44,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot           */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */
index dc1d7e1b3d421813c3cc7205a8cbb99db108ebb6..042750e2fe9a98f5623b0e833d9e501b912e45a2 100644 (file)
@@ -40,6 +40,8 @@
 
 #define CONFIG_BOARD_EARLY_INIT_R
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported                  */
+
 /*
  * Serial console configuration
  */
index e24d6f77ae6c004f13c6548c01b3babd0ead344f..c2035225526092a941654ba85579acee301006b9 100644 (file)
@@ -46,6 +46,8 @@
 #define BOOTFLAG_COLD          0x01    /* Normal Power-On: Boot from FLASH  */
 #define BOOTFLAG_WARM          0x02    /* Software reboot */
 
+#define CONFIG_HIGH_BATS       1       /* High BATs supported */
+
 /*
  * Serial console configuration
  */