summaryrefslogtreecommitdiff
path: root/include/configs/sorcery.h
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-05-08 19:02:12 -0500
committerWolfgang Denk <wd@denx.de>2008-06-03 17:48:41 +0200
commit31d826722434931e1152a09d140187dcf72f8aac (patch)
tree374f0cae200f233bb5e68efb784991f4d232ab70 /include/configs/sorcery.h
parent912810eeca90eedd1503f5e883f3a8da39d7ff89 (diff)
downloadu-boot-imx-31d826722434931e1152a09d140187dcf72f8aac.zip
u-boot-imx-31d826722434931e1152a09d140187dcf72f8aac.tar.gz
u-boot-imx-31d826722434931e1152a09d140187dcf72f8aac.tar.bz2
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/sorcery.h')
-rw-r--r--include/configs/sorcery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sorcery.h b/include/configs/sorcery.h
index c62b977..18f5533 100644
--- a/include/configs/sorcery.h
+++ b/include/configs/sorcery.h
@@ -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 */