
26 Oct
2016
26 Oct
'16
2:34 p.m.
Hi,
On Wed, Oct 26, 2016 at 02:10:32PM +0200, Antoine Tenart wrote:
The sun5i SoCs can take advantage of the newly introduce PSCI suspend function. Add defines used by the PSCI code.
Signed-off-by: Antoine Tenart antoine.tenart@free-electrons.com
include/configs/sun5i.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h index d2576599036a..86eeb847ac42 100644 --- a/include/configs/sun5i.h +++ b/include/configs/sun5i.h @@ -19,6 +19,9 @@
#define CONFIG_SUNXI_USB_PHYS 2
+#define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_A1_BASE +#define CONFIG_TIMER_CLK_FREQ 24000000
That seems wrong. AFAIK, the TIMER_CLK_FREQ is only used to set CNTFRQ in the arch timers, and the A13 (and related) doesn't have them.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com