diff options
author | Becky Bruce | 2008-05-08 19:02:12 -0500 |
---|---|---|
committer | Wolfgang Denk | 2008-06-03 17:48:41 +0200 |
commit | 31d826722434931e1152a09d140187dcf72f8aac (patch) | |
tree | 374f0cae200f233bb5e68efb784991f4d232ab70 /include/configs/o2dnt.h | |
parent | 912810eeca90eedd1503f5e883f3a8da39d7ff89 (diff) |
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/o2dnt.h')
-rw-r--r-- | include/configs/o2dnt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/o2dnt.h b/include/configs/o2dnt.h index 8dde1ef3916..88bdb03e67a 100644 --- a/include/configs/o2dnt.h +++ b/include/configs/o2dnt.h @@ -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 */ |