diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-05-08 19:02:12 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-03 17:48:41 +0200 |
commit | 31d826722434931e1152a09d140187dcf72f8aac (patch) | |
tree | 374f0cae200f233bb5e68efb784991f4d232ab70 /include/configs/TQM834x.h | |
parent | 912810eeca90eedd1503f5e883f3a8da39d7ff89 (diff) | |
download | u-boot-31d826722434931e1152a09d140187dcf72f8aac.tar.gz u-boot-31d826722434931e1152a09d140187dcf72f8aac.tar.xz u-boot-31d826722434931e1152a09d140187dcf72f8aac.zip |
PPC: Create and use CONFIG_HIGH_BATS
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>
Diffstat (limited to 'include/configs/TQM834x.h')
-rw-r--r-- | include/configs/TQM834x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h index a86939e097..89fc465416 100644 --- a/include/configs/TQM834x.h +++ b/include/configs/TQM834x.h @@ -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) |