summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_lbc.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-09-16 09:43:12 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-09-24 12:05:27 -0500
commit01df521217957d77d53c2d570183eded7030938f (patch)
tree1854aebfe6dbe2f407d6e1db466f2292b5270beb /include/asm-ppc/fsl_lbc.h
parent25bacf7a2b096496e2c58f2de4e5b2bce8fba038 (diff)
downloadu-boot-imx-01df521217957d77d53c2d570183eded7030938f.zip
u-boot-imx-01df521217957d77d53c2d570183eded7030938f.tar.gz
u-boot-imx-01df521217957d77d53c2d570183eded7030938f.tar.bz2
ppc/p4080: Add p4080 platform immap definitions
The p4080 SoC has a significant amount of commonality with the 85xx/PQ3 platform. We reuse the 85xx immap and just add new definitions for local access and global utils. The global utils is now broken into global utils, clocking and run control/power management. The offsets from CCSR for a number of blocks have also changed. We introduce the CONFIG_FSL_CORENET define to distinquish the PQ3 style of platform from the new p4080 platform. We don't use QoirQ as there are products (like p2020) that are PQ3 based platforms but have the QoirQ name. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/fsl_lbc.h')
-rw-r--r--include/asm-ppc/fsl_lbc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc/fsl_lbc.h b/include/asm-ppc/fsl_lbc.h
index 08d31e1..5723de6 100644
--- a/include/asm-ppc/fsl_lbc.h
+++ b/include/asm-ppc/fsl_lbc.h
@@ -317,6 +317,10 @@
#define LCRR_CLKDIV_2 0x00000002
#define LCRR_CLKDIV_4 0x00000004
#define LCRR_CLKDIV_8 0x00000008
+#elif defined(CONFIG_FSL_CORENET)
+#define LCRR_CLKDIV_8 0x00000002
+#define LCRR_CLKDIV_16 0x00000004
+#define LCRR_CLKDIV_32 0x00000008
#else
#define LCRR_CLKDIV_4 0x00000002
#define LCRR_CLKDIV_8 0x00000004