[U-Boot] [PATCHv1] powerpc/mpc85xx: Add property 'fsl, sec-era' in device tree node 'crypto'.
Andy Fleming
afleming at gmail.com
Thu Jan 24 01:06:40 CET 2013
>
>
> diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c
> b/arch/powerpc/cpu/mpc85xx/fdt.c
> index 5af2661..e7b5dfd 100644
> --- a/arch/powerpc/cpu/mpc85xx/fdt.c
> +++ b/arch/powerpc/cpu/mpc85xx/fdt.c
> @@ -591,6 +591,14 @@ void ft_cpu_setup(void *blob, bd_t *bd)
> /* delete crypto node if not on an E-processor */
> if (!IS_E_PROCESSOR(get_svr()))
> fdt_fixup_crypto_node(blob, 0);
> +#if CONFIG_SYS_FSL_SEC_COMPAT >= 4 /* SEC 4.x/5.x */
> + else {
> + ccsr_sec_t __iomem *sec;
> +
> + sec = (void __iomem *)CONFIG_SYS_FSL_SEC_ADDR;
>
This isn't defined for every board. It breaks the build.
Andy
More information about the U-Boot
mailing list