> -----Original Message-----
> From: Wenbin song [mailto:wenbin.s...@nxp.com]
> Sent: Thursday, November 30, 2017 8:27 AM
> To: York Sun <york....@nxp.com>; Prabhakar Kushwaha
> <prabhakar.kushw...@nxp.com>; Ran Wang <ran.wan...@nxp.com>; Mingkai
> Hu <mingkai...@nxp.com>; u-boot@lists.denx.de
> Cc: Wenbin Song <wenbin.s...@nxp.com>
> Subject: [PATCH 2/2] armv8: ls1043a: Discard the needless cpu nodes
> 
> Using "cpu_pos_mask()" function to detect the real online cpus,
> and discard the needless cpu nodes on kernel dft.
> 
> Signed-off-by: Wenbin Song <wenbin.s...@nxp.com>
> ---
>  arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  4 ++++
>  arch/arm/cpu/armv8/fsl-layerscape/fdt.c   | 32
> +++++++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> index 47145a2432..971a98c6cc 100644
> --- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> +++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
> @@ -176,6 +176,10 @@ config HAS_FEATURE_ENHANCED_MSI
>       bool
>       default y if ARCH_LS1043A
> 
> +config DISCARD_OFFLINE_CPU_NODES
> +     bool
> +     default y if ARCH_LS1043A
> +

As per understanding this feature is for taking care of SoC personalities with 
reduced cores. 

Why a new config is required? Why cannot this be taken care at run time by 
reading SVR.

-pk

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to