[PATCH v2 4/6] misc: mvebu: Add sample at reset driver

Pali Rohár pali at kernel.org
Tue Sep 20 12:42:05 CEST 2022


On Tuesday 20 September 2022 20:31:51 Chris Packham wrote:
> diff --git a/lib/fdtdec.c b/lib/fdtdec.c
> index 96b6b71a60..26e5c82bcd 100644
> --- a/lib/fdtdec.c
> +++ b/lib/fdtdec.c
> @@ -74,7 +74,11 @@ static const char * const compat_names[COMPAT_COUNT] = {
>  	COMPAT(ALTERA_SOCFPGA_F2SDR2, "altr,socfpga-fpga2sdram2-bridge"),
>  	COMPAT(ALTERA_SOCFPGA_FPGA0, "altr,socfpga-a10-fpga-mgr"),
>  	COMPAT(ALTERA_SOCFPGA_NOC, "altr,socfpga-a10-noc"),
> -	COMPAT(ALTERA_SOCFPGA_CLK_INIT, "altr,socfpga-a10-clk-init")
> +	COMPAT(ALTERA_SOCFPGA_CLK_INIT, "altr,socfpga-a10-clk-init"),
> +	COMPAT(MVEBU_SAR, "marvell,sample-at-reset"),
> +	COMPAT(MVEBU_SAR_REG_COMMON, "marvell,sample-at-reset-common"),
> +	COMPAT(MVEBU_SAR_REG_AP806, "marvell,sample-at-reset-ap806"),
> +	COMPAT(MVEBU_SAR_REG_CP110, "marvell,sample-at-reset-cp110"),
>  };

Hello! You should really not to extend compat_names[]. This list here is
just for old u-boot code and entries should be removed from it only.


More information about the U-Boot mailing list