On 4/27/22 13:53, Patrice Chotard wrote: > Replace CONFIG_SUPPORT_SPL by CONFIG_SPL_BUILD to allow > dram_init() execution when using none SPL defconfig > (stm32f746-disco_defconfig). > > Signed-off-by: Patrice Chotard <patrice.chot...@foss.st.com> > Reviewed-by: Patrick Delaunay <patrick.delau...@foss.st.com> > --- > > (no changes since v1) > > board/st/stm32f746-disco/stm32f746-disco.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/st/stm32f746-disco/stm32f746-disco.c > b/board/st/stm32f746-disco/stm32f746-disco.c > index 69f657c54b..2ab23f2f4f 100644 > --- a/board/st/stm32f746-disco/stm32f746-disco.c > +++ b/board/st/stm32f746-disco/stm32f746-disco.c > @@ -29,7 +29,7 @@ DECLARE_GLOBAL_DATA_PTR; > > int dram_init(void) > { > -#ifndef CONFIG_SUPPORT_SPL > +#ifndef CONFIG_SPL_BUILD > int rv; > struct udevice *dev; > rv = uclass_get_device(UCLASS_RAM, 0, &dev); Applied to u-boot-stm32 Thanks Patrice
- Re: [PATCH v2 03/12] configs: stm32f746-disco: Add s... Patrice CHOTARD
- [PATCH v2 04/12] configs: stm32f769-disco: Rename stm32f7... Patrice Chotard
- Re: [PATCH v2 04/12] configs: stm32f769-disco: Renam... Patrice CHOTARD
- [PATCH v2 06/12] configs: stm32f769-disco: Migrate SPL fl... Patrice Chotard
- Re: [PATCH v2 06/12] configs: stm32f769-disco: Migra... Patrice CHOTARD
- [PATCH v2 07/12] configs: stm32f746-disco: Migrate SPL fl... Patrice Chotard
- Re: [PATCH v2 07/12] configs: stm32f746-disco: Migra... Patrice CHOTARD
- [PATCH v2 05/12] configs: stm32f769-disco: Add stm32f769-... Patrice Chotard
- Re: [PATCH v2 05/12] configs: stm32f769-disco: Add s... Patrice CHOTARD
- [PATCH v2 08/12] board: stm32f746-disco: Fix dram_init() ... Patrice Chotard
- Re: [PATCH v2 08/12] board: stm32f746-disco: Fix dra... Patrice CHOTARD
- [PATCH v2 09/12] configs: stm32f746-disco: use CONFIG_DEF... Patrice Chotard
- Re: [PATCH v2 09/12] configs: stm32f746-disco: use C... Patrice CHOTARD
- [PATCH v2 11/12] configs: stm32746g-eval: Add stm32746g-e... Patrice Chotard
- Re: [PATCH v2 11/12] configs: stm32746g-eval: Add st... Patrice CHOTARD
- [PATCH v2 10/12] configs: stm32746g-eval: Add stm32746g-e... Patrice Chotard
- Re: [PATCH v2 10/12] configs: stm32746g-eval: Add st... Patrice CHOTARD
- [PATCH v2 12/12] doc: Add documentation for STM32 MCUs Patrice Chotard
- Re: [Uboot-stm32] [PATCH v2 12/12] doc: Add document... Patrick DELAUNAY
- Re: [PATCH v2 12/12] doc: Add documentation for STM3... Patrice CHOTARD