aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/xlp/dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/netlogic/xlp/dt.c')
-rw-r--r--arch/mips/netlogic/xlp/dt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/netlogic/xlp/dt.c b/arch/mips/netlogic/xlp/dt.c
index bdde33147bce..7cc46032b28e 100644
--- a/arch/mips/netlogic/xlp/dt.c
+++ b/arch/mips/netlogic/xlp/dt.c
@@ -48,9 +48,10 @@ static void *xlp_fdt_blob;
48void __init *xlp_dt_init(void *fdtp) 48void __init *xlp_dt_init(void *fdtp)
49{ 49{
50 if (!fdtp) { 50 if (!fdtp) {
51 switch (current_cpu_data.processor_id & 0xff00) { 51 switch (current_cpu_data.processor_id & PRID_IMP_MASK) {
52#ifdef CONFIG_DT_XLP_GVP 52#ifdef CONFIG_DT_XLP_GVP
53 case PRID_IMP_NETLOGIC_XLP9XX: 53 case PRID_IMP_NETLOGIC_XLP9XX:
54 case PRID_IMP_NETLOGIC_XLP5XX:
54 fdtp = __dtb_xlp_gvp_begin; 55 fdtp = __dtb_xlp_gvp_begin;
55 break; 56 break;
56#endif 57#endif