>
>
> 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);
> +

This is wrong or you need to fix the IS_E_PROCESSOR() macro.

IS_E_PROCESSOR(svr) should be defined:

svr & 0x80000

or you want:

IS_E_PROCESSOR(SVR_SOC_VER(get_svr()))

- k

>
> #if defined(CONFIG_HAS_ETH0) || defined(CONFIG_HAS_ETH1) ||\
>     defined(CONFIG_HAS_ETH2) || defined(CONFIG_HAS_ETH3)
>       fdt_fixup_ethernet(blob, bd);
> diff --git a/include/asm-ppc/processor.h b/include/asm-ppc/processor.h
> index 8bdfb9d..14d3d70 100644
> --- a/include/asm-ppc/processor.h
> +++ b/include/asm-ppc/processor.h
> @@ -883,6 +883,15 @@
> /* Some parts define SVR[0:23] as the SOC version */
> #define SVR_SOC_VER(svr) (((svr) >> 8) & 0xFFFFFF)    /* SOC Version  
> fields */
>
> +/* whether MPC8xxxE (i.e. has SEC) */
> +#if defined(CONFIG_MPC85xx)
> +#define IS_E_PROCESSOR(svr)  (svr & 0x800)
> +#else
> +#if defined(CONFIG_MPC83XX)
> +#define IS_E_PROCESSOR(spridr)       (!(spridr & 0x00010000))
> +#endif
> +#endif
> +
> /*
>  * SVR_SOC_VER() Version Values
>  */

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to