Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-29 Thread Apurva Nandan
On 29/01/24 17:49, Nishanth Menon wrote: On 17:02-20240129, Apurva Nandan wrote: Hi, On 24/01/24 02:17, Nishanth Menon wrote: On 20:21-20240123, Apurva Nandan wrote: [...] +void k3_mem_init(void) +{ + struct udevice *dev; + int ret, ctr = 1; + + if (IS_ENABLED(CONFIG_K3_J7

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-29 Thread Nishanth Menon
On 17:02-20240129, Apurva Nandan wrote: > Hi, > > On 24/01/24 02:17, Nishanth Menon wrote: > > On 20:21-20240123, Apurva Nandan wrote: > > [...] > > > > > +void k3_mem_init(void) > > > > > +{ > > > > > + struct udevice *dev; > > > > > + int ret, ctr = 1; > > > > > + > > > > > + if (IS_

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-29 Thread Apurva Nandan
Hi, On 24/01/24 02:17, Nishanth Menon wrote: On 20:21-20240123, Apurva Nandan wrote: [...] +void k3_mem_init(void) +{ + struct udevice *dev; + int ret, ctr = 1; + + if (IS_ENABLED(CONFIG_K3_J721E_DDRSS)) { + ret = uclass_get_device(UCLASS_RAM, 0, &dev); +

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-23 Thread Nishanth Menon
On 20:21-20240123, Apurva Nandan wrote: [...] > > > +void k3_mem_init(void) > > > +{ > > > + struct udevice *dev; > > > + int ret, ctr = 1; > > > + > > > + if (IS_ENABLED(CONFIG_K3_J721E_DDRSS)) { > > > + ret = uclass_get_device(UCLASS_RAM, 0, &dev); > > > + if (ret) > > > +

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-23 Thread Apurva Nandan
On 20/01/24 01:04, Nishanth Menon wrote: On 23:20-20240119, Apurva Nandan wrote: [...] +void k3_spl_init(void) +{ + struct udevice *dev; + int ret; + + /* +* Cannot delay this further as there is a chance that +* K3_BOOT_PARAM_TABLE_INDEX can be over written

Re: [PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-19 Thread Nishanth Menon
On 23:20-20240119, Apurva Nandan wrote: [...] > +void k3_spl_init(void) > +{ > + struct udevice *dev; > + int ret; > + > + /* > + * Cannot delay this further as there is a chance that > + * K3_BOOT_PARAM_TABLE_INDEX can be over written by SPL MALLOC section. > + */ > +

[PATCH v8 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2024-01-19 Thread Apurva Nandan
Add J784S4 initialization files for initial SPL boot. config SYS_K3_MCU_SCRATCHPAD_BASE default value is same for J721E, J721S2, J784S4. So combined them into a single default. Signed-off-by: Hari Nagalla [ add firewall configurations and change the R5 MCU scratchpad ] Signed-off-by: Manorit Cha