Message ID | CAHbNUh3Ao0k5gKF-3V0Ktc5+3-NhucP62fUp_i9kPjn+jTevGg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tuesday 07 January 2014, Tushar Behera wrote: > >> > >> be a good time to get rid of the L2_AUX_VAL and L2_AUX_MASK defines and > >> > >> just read the respective settings from DT. > >> > > >> > Ok. > >> > >> Does the node you list above have the right settings for this? > >> > > I will add another patch to remove the usage of L2_AUX_VAL and > L2_AUX_MASK defines for regular mode, but we might still be needing > them for secure firmware booting, Well, the point was that all the settings from these arguments are supposed to come from DT properties these days. If you need to set or clear a bit that doesn't have a property yet, I'd prefer if you extend the binding and the pl310_of_setup() implementation. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/plat-samsung/s5p-sleep.S b/arch/arm/plat-samsung/s5p-sleep.S index a030e73..d1753c5 100644 --- a/arch/arm/plat-samsung/s5p-sleep.S +++ b/arch/arm/plat-samsung/s5p-sleep.S @@ -62,6 +62,8 @@ ENTRY(s3c_cpu_resume) bne resume_l2on adr r0, l2x0_regs_phys ldr r0, [r0] + cmp r0, #0 + beq resume_l2on ldr r1, [r0, #L2X0_R_PHY_BASE] ldr r2, [r1, #L2X0_CTRL] tst r2, #0x1