[U-Boot] [PATCH v3 09/10] sun5i: add defines used by the PSCI code

Maxime Ripard maxime.ripard at free-electrons.com
Wed Oct 26 14:34:30 CEST 2016


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161026/8e603961/attachment.sig>


More information about the U-Boot mailing list