summaryrefslogtreecommitdiffstats
path: root/arch/ppc/include/asm/processor.h
diff options
context:
space:
mode:
authorRenaud Barbier <renaud.barbier@ge.com>2014-07-25 16:28:54 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-07-28 07:26:27 +0200
commit7e2d9247233c724850ed91b1ff239d9f5af84edf (patch)
tree34957475f57f43067df5e5ad7c369a57e6234855 /arch/ppc/include/asm/processor.h
parent7e1e8aac7b7e0b26e93e5c9fb7ee1f32810a75ad (diff)
downloadbarebox-7e2d9247233c724850ed91b1ff239d9f5af84edf.tar.gz
barebox-7e2d9247233c724850ed91b1ff239d9f5af84edf.tar.xz
ppc: Freescale P1010 headers
Add a minimal Integrated Flash Controller header file and new definitions to support the P1010 SOC. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc/include/asm/processor.h')
-rw-r--r--arch/ppc/include/asm/processor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc/include/asm/processor.h b/arch/ppc/include/asm/processor.h
index c9633fe507..e8a9c1402c 100644
--- a/arch/ppc/include/asm/processor.h
+++ b/arch/ppc/include/asm/processor.h
@@ -851,7 +851,7 @@
#define SVR_MIN(svr) (((svr) >> 0) & 0xF) /* Minor revision field*/
/* Some parts define SVR[0:23] as the SOC version */
-#define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFFFFF) /* SOC Version fields */
+#define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFF7FF) /* SOC w/o E bit */
#define IS_E_PROCESSOR(svr) ((svr) & 0x80000)
/*
@@ -867,6 +867,7 @@
#define SVR_8641 0x8090
#define SVR_8544 0x803401
#define SVR_8544_E 0x803C01
+#define SVR_P1010 0x80F100
#define SVR_P1022 0x80E600
#define SVR_P2020 0x80E200
#define SVR_P2020_E 0x80EA00