On 07/01/2025 11:38, Chintan Vankar wrote: > From: Andreas Dannenberg <dannenb...@ti.com> > > Enable cache to support Ethernet boot for AM62p-SK. Please give more details in commit log. What happens to Ethernet boot if you don't enable cache? Is this a requirement by Ethernet hardware? > > Signed-off-by: Andreas Dannenberg <dannenb...@ti.com> > Signed-off-by: Chintan Vankar <c-van...@ti.com> > --- > board/ti/am62px/evm.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c > index 7362fa4520a..2a85af980c7 100644 > --- a/board/ti/am62px/evm.c > +++ b/board/ti/am62px/evm.c > @@ -9,6 +9,7 @@ > #include <efi_loader.h> > #include <asm/arch/hardware.h> > #include <asm/io.h> > +#include <cpu_func.h> > #include <dm/uclass.h> > #include <env.h> > #include <fdt_support.h> > @@ -53,6 +54,13 @@ int board_init(void) > return 0; > } > > +#if IS_ENABLED(CONFIG_SPL_BUILD) > +void spl_board_init(void) > +{ > + enable_caches(); > +} > +#endif > + > int dram_init(void) > { > return fdtdec_setup_mem_size_base(); -- cheers, -roger
- [PATCH 05/13] configs: am68: Add configs for enabling Ethb... Chintan Vankar
- Re: [PATCH 05/13] configs: am68: Add configs for enab... Roger Quadros
- Re: [PATCH 05/13] configs: am68: Add configs for ... Vankar, Chintan
- Re: [PATCH 05/13] configs: am68: Add configs ... Roger Quadros
- [PATCH 09/13] arm: mach-k3: am62p5_init: Probe AM65 CPSW N... Chintan Vankar
- Re: [PATCH 09/13] arm: mach-k3: am62p5_init: Probe AM... Bryan Brattlof
- Re: [PATCH 09/13] arm: mach-k3: am62p5_init: Probe AM... Roger Quadros
- [PATCH 02/13] arm: mach-k3: j721s2: Update SoC auto-gen da... Chintan Vankar
- Re: [PATCH 02/13] arm: mach-k3: j721s2: Update SoC au... Bryan Brattlof
- [PATCH 10/13] board: ti: am62px: evm: Enable cache for AM6... Chintan Vankar
- Re: [PATCH 10/13] board: ti: am62px: evm: Enable cach... Roger Quadros
- Re: [PATCH 10/13] board: ti: am62px: evm: Enable ... Chintan Vankar
- [PATCH 11/13] configs: am62p: Add configs for enabling ETH... Chintan Vankar
- [PATCH 12/13] configs: am62p: Enable configs required for ... Chintan Vankar
- Re: [PATCH 12/13] configs: am62p: Enable configs requ... Bryan Brattlof
- [PATCH 13/13] arch: arm: dts: k3-am62p5-sk-u-boot: Add boo... Chintan Vankar