summaryrefslogtreecommitdiff
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorPoonam Aggrwal <poonam.aggrwal@freescale.com>2009-09-02 13:35:21 +0530
committerTom Rix <Tom.Rix@windriver.com>2009-10-03 09:04:17 -0500
commitea8be4a65b18e8e6d41b7c7687280b1071cb9969 (patch)
tree1cc4fd4b291b78874a03351e0afda9f804b2a5b7 /include/asm-ppc
parent865f24dc92d03928c09b7f20a3133823e53c1ac3 (diff)
ppc/85xx,86xx: Handling Unknown SOC version
Incase the system is detected with Unknown SVR, let the system boot with a default value and a proper message. Now with dynamic detection of SOC properties from SVR, this is necessary to prevent a crash. Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
index 78ef4187f2..0a4c66c9d9 100644
--- a/include/asm-ppc/processor.h
+++ b/include/asm-ppc/processor.h
@@ -1034,6 +1034,8 @@
#define SVR_8641 0x809000
#define SVR_8641D 0x809001
+#define SVR_Unknown 0xFFFFFF
+
#define _GLOBAL(n)\
.globl n;\
n: