[PATCH 1/4] ARM: imx8m: allow ddr_get_firmware to be called from other units

Sascha Hauer sha at pengutronix.de
Thu Dec 8 23:14:34 PST 2022


On Wed, Dec 07, 2022 at 11:09:21PM +0100, Lucas Stach wrote:
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
>  include/soc/imx8m/ddr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks

Sascha

> 
> diff --git a/include/soc/imx8m/ddr.h b/include/soc/imx8m/ddr.h
> index 2149ae432554..0b3c4d47e39d 100644
> --- a/include/soc/imx8m/ddr.h
> +++ b/include/soc/imx8m/ddr.h
> @@ -389,7 +389,7 @@ extern struct dram_timing_info dram_timing;
>  void ddr_get_firmware_lpddr4(void);
>  void ddr_get_firmware_ddr(void);
>  
> -static void ddr_get_firmware(enum dram_type dram_type)
> +static inline void ddr_get_firmware(enum dram_type dram_type)
>  {
>  	if (dram_type == DRAM_TYPE_LPDDR4)
>  		ddr_get_firmware_lpddr4();
> -- 
> 2.38.1
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list