Before this was named just evm, which doesn't match the naming
of the other TI board file directory and makes it look like a
common directory for evms. Name this omap3evm.
Signed-off-by: Andrew Davis
---
Changes from v1:
- Call dir omap3evm instead of omap3
arch/arm/mach-omap2/omap3/Kconfig
-by: Andrew Davis
[0]
https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/tree/plat/ti/k3/common/drivers/ti_sci/ti_sci_protocol.h#n50
drivers/firmware/ti_sci.c | 2 +-
drivers/firmware/ti_sci.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/firmware
On 1/10/23 3:25 PM, Judith Mendez wrote:
List some common boot modes and their corresponding switch
settings for AM62 SK.
Signed-off-by: Judith Mendez
---
Acked-by: Andrew Davis
doc/board/ti/am62x_sk.rst | 29 +
1 file changed, 29 insertions(+)
diff --git
this should not be an issue for any K3
device, so make it default for all.
Signed-off-by: Neha Malcom Francis
---
Acked-by: Andrew Davis
Changes since v1:
- added ARM64 to conditions to default to 0x40
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl
On 12/19/22 2:29 PM, Bryan Brattlof wrote:
Texas Instrument's entire K3 generation of SoCs use much of the same
frameworks and boot flow, especially at the uboot level. Though there
are small differences introduced as each new K3 based SoC is developed
and as the K3 generation matures that will
On 11/4/22 8:08 AM, Tom Rini wrote:
On Fri, Nov 04, 2022 at 11:49:39AM +, Peter Robinson wrote:
Hi Bryan,
This series will introduce basic support (SD and UART) support for Texas
Instruments AM62Ax SK EVM.
The am62ax shares many of the same features as the am62x however it uses
a new
J721e needs DM firmware when using updated SYSFW. Add steps to fetch,
build, and deploy the same.
Signed-off-by: Andrew Davis
---
Changes from v2:
- s/DM/DM Firmware
Changes from v1:
- None
doc/board/ti/j721e_evm.rst | 16 ++--
1 file changed, 10 insertions(+), 6 deletions
* BASH code should be labeled as such.
* Code blocks should be indented by 4 spaces.
Fix these here.
Suggested-by: Heinrich Schuchardt
Signed-off-by: Andrew Davis
---
Changes from v2:
- None
Changes from v1:
- New patch with fixes suggested by Heinrich
doc/board/ti/j721e_evm.rst | 24
On 11/6/22 2:49 AM, Heinrich Schuchardt wrote:
On 11/1/22 15:06, Andrew Davis wrote:
On 10/7/22 6:47 PM, Heinrich Schuchardt wrote:
On 10/7/22 22:37, Andrew Davis wrote:
J721e needs DM firmware when using updated SYSFW. Add steps to fetch,
build, and deploy the same.
Signed-off-by: Andrew
On 10/7/22 6:47 PM, Heinrich Schuchardt wrote:
On 10/7/22 22:37, Andrew Davis wrote:
J721e needs DM firmware when using updated SYSFW. Add steps to fetch,
build, and deploy the same.
Signed-off-by: Andrew Davis
---
doc/board/ti/j721e_evm.rst | 16 ++--
1 file changed, 10
J721e needs DM firmware when using updated SYSFW. Add steps to fetch,
build, and deploy the same.
Signed-off-by: Andrew Davis
---
Changes from v1:
- None
doc/board/ti/j721e_evm.rst | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/doc/board/ti
* BASH code should be labeled as such.
* Code blocks should be indented by 4 spaces.
Fix these here.
Suggested-by: Heinrich Schuchardt
Signed-off-by: Andrew Davis
---
Changes from v1:
- New patch with fixes suggested by Heinrich
doc/board/ti/j721e_evm.rst | 24
1
On 3/21/23 9:10 AM, Hari Nagalla wrote:
Signed-off-by: Apurva Nandan
Signed-off-by: Bryan Bratloff
Signed-off-by: Nishant Menon
Signed-off-by: Hari Nagalla
---
arch/arm/mach-k3/Kconfig | 16 +-
arch/arm/mach-k3/Makefile | 2 +
the build will emit warnings, for non-HS
devices these can be ignored.
Signed-off-by: Manorit Chawdhry
---
This will help with keeping the HS and non-HS configs in sync :)
Acked-by: Andrew Davis
configs/j7200_evm_a72_defconfig| 3 +-
configs/j7200_evm_r5_defconfig | 1
On 2/28/23 12:19 PM, Jan Kiszka wrote:
From: Su Baocheng
Due to different signature keys, the PG1 and the PG2 boards can no
longer use the same FSBL (tiboot3). This makes it impossible anyway to
maintaine a single flash.bin for both variants, so we can also split the
build.
Having two
On 2/28/23 9:10 AM, Simon Glass wrote:
Hi Neha,
On Tue, 28 Feb 2023 at 02:50, Neha Malcom Francis wrote:
Hi Simon,
On 28/02/23 06:05, Simon Glass wrote:
Hi Neha,
On Fri, 24 Feb 2023 at 05:03, Neha Malcom Francis wrote:
core-secdev-k3 is the TI security development package provided for
On 2/28/23 12:19 PM, Jan Kiszka wrote:
From: Jan Kiszka
This feature is desired on the platform.
As you can see here your split defconfigs are already out of sync
and need special maintenance :)
Andrew
Signed-off-by: Jan Kiszka
---
configs/iot2050_pg1_defconfig | 1 +
On 3/1/23 12:29 PM, Jan Kiszka wrote:
On 01.03.23 18:26, Andrew Davis wrote:
On 2/28/23 12:19 PM, Jan Kiszka wrote:
From: Su Baocheng
Due to different signature keys, the PG1 and the PG2 boards can no
longer use the same FSBL (tiboot3). This makes it impossible anyway to
maintaine a single
On 3/1/23 1:21 PM, Jan Kiszka wrote:
On 01.03.23 19:34, Andrew Davis wrote:
On 3/1/23 12:29 PM, Jan Kiszka wrote:
On 01.03.23 18:26, Andrew Davis wrote:
On 2/28/23 12:19 PM, Jan Kiszka wrote:
From: Su Baocheng
Due to different signature keys, the PG1 and the PG2 boards can no
longer use
dtfile needs mangled when used to
select a config node from OE made FIT image. Do this here.
Signed-off-by: Andrew Davis
---
include/configs/ti_armv7_common.h | 3 ++-
include/environment/ti/ti_armv7_common.env | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/includ
On 4/25/23 2:31 AM, Neha Malcom Francis wrote:
Hi Simon
On 25/04/23 01:12, Simon Glass wrote:
Hi Neha,
On Fri, 21 Apr 2023 at 06:32, Neha Malcom Francis wrote:
Support added for HS and GP boot binaries for AM64x.
tiboot3.bin, tispl.bin and u-boot.img: For HS-SE devices
tiboot3.bin_fs,
On 4/26/23 9:13 AM, Kumar, Udit wrote:
Hi Neha,
On 4/26/2023 5:31 PM, Neha Malcom Francis wrote:
Hi Udit
On 26/04/23 16:09, Kumar, Udit wrote:
Hi Neha,
Hi Udit,
[..]
I do have a general doubt; why do we have only atf-sram sub-node in
msmc_sram in all other devices (j721e, j7200 and
-by: Jayesh Choudhary
---
Matches what we do in j721e_init.c, LGTM,
Reviewed-by: Andrew Davis
arch/arm/mach-k3/j721s2_init.c | 53 ++
1 file changed, 53 insertions(+)
diff --git a/arch/arm/mach-k3/j721s2_init.c b/arch/arm/mach-k3/j721s2_init.c
index 09e55ed456
The TARGET_x_R5_EVM check is already enough to limit these defines to
only the correct builds. Remove the extra outer check.
Signed-off-by: Andrew Davis
---
include/configs/j721e_evm.h | 4 +---
include/configs/j721s2_evm.h | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git
This function is not used currently; remove it.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/common.c | 19 ---
arch/arm/mach-k3/include/mach/sys_proto.h | 1 -
2 files changed, 20 deletions(-)
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3
This belongs in the J721e specific file as it is the only place
this is used. Any board level users should use the SOC driver.
While here, move the J721e and J7200 SoC IDs out of sys_proto.h
and into hardware.h. Add the rest of the SoC IDs for completeness
and later use.
Signed-off-by: Andrew
This header is only used locally by K3 init files, no need to have it
up with the global mach includes. Move into local includes.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am625_init.c | 2 +-
arch/arm/mach-k3/am62a7_init.c | 2 +-
arch/arm/mach
These probably should be in some system wide header given their use.
Until then move them out of K3 sys_proto.h so we can finish cleaning
that header out.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/include/mach/sys_proto.h | 4
drivers/ram/k3-am654-ddrss.c | 4
2
for board detection.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am642_init.c | 3 +--
arch/arm/mach-k3/am654_init.c | 3 +--
arch/arm/mach-k3/common.c | 10 ++
arch/arm/mach-k3/common.h | 2 ++
arch/arm/mach-k3/include/mach
it is no
longer board level. Enable OF_SYSTEM_SETUP in the configurations that use
this to keep functionality the same.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/common.c | 16
arch/arm/mach-k3/include/mach/sys_proto.h | 1 -
board/siemens/iot2050/board.c
This function is the same for each device when it needs to shutdown
the R5 core. Move this to the common section and move the remaining
device specific ID list to the device hardware include.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am642_init.c | 51
This matches AM64 and J721e and removes the need to forward
declare k3_spl_init(), k3_mem_init(), and check_rom_loaded_sysfw()
in sys_proto.h.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/include/mach/sys_proto.h | 3 --
arch/arm/mach-k3/j721s2_init.c| 64
This header file is now empty, remove it.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am642_init.c | 2 --
arch/arm/mach-k3/am654_init.c | 1 -
arch/arm/mach-k3/common.c | 1 -
arch/arm/mach-k3/include/mach/sys_proto.h | 10 --
arch/arm
The K3 JTAG and SoC ID information is already stored in the K3 arch
hardware file, include that and use its definitions here.
Signed-off-by: Andrew Davis
---
drivers/soc/Kconfig | 2 +-
drivers/soc/soc_ti_k3.c | 30 +-
2 files changed, 10 insertions(+), 22
The J7200 EVM will not include this file, all these J7200 checks look
to be copy/paste errors from j721e_evm.h, which J7200 *can* include.
Signed-off-by: Andrew Davis
---
include/configs/j721s2_evm.h | 23 ++-
1 file changed, 2 insertions(+), 21 deletions(-)
diff --git
On 3/31/23 12:04 PM, Nishanth Menon wrote:
On 16:06-20230330, Ryan Eatmon wrote:
The oe-core class for assembling the fitImage includes the vendor
sub-directory (with the / changed to _) in the config sections of
the fitImage. Our env var settings for chosing which section to
boot from needs
On 3/31/23 1:11 PM, Tom Rini wrote:
On Fri, Mar 31, 2023 at 12:19:14PM -0500, Andrew Davis wrote:
On 3/31/23 12:04 PM, Nishanth Menon wrote:
On 16:06-20230330, Ryan Eatmon wrote:
The oe-core class for assembling the fitImage includes the vendor
sub-directory (with the / changed
On 3/31/23 1:36 PM, Tom Rini wrote:
On Fri, Mar 31, 2023 at 01:23:23PM -0500, Andrew Davis wrote:
On 3/31/23 1:11 PM, Tom Rini wrote:
On Fri, Mar 31, 2023 at 12:19:14PM -0500, Andrew Davis wrote:
On 3/31/23 12:04 PM, Nishanth Menon wrote:
On 16:06-20230330, Ryan Eatmon wrote:
The oe-core
for typedef'ing
it in some of the tests, so also remove those.
Signed-off-by: Andrew Davis
---
include/binman_sym.h| 8
tools/binman/test/blob_syms.c | 2 --
tools/binman/test/u_boot_binman_syms.c | 2 --
tools/binman/test/u_boot_binman_syms_size.c
On 4/4/23 7:13 AM, Neha Malcom Francis wrote:
The ti-secure entry contains certificate for binaries that will be
loaded or booted by system firmware whereas the ti-secure-rom entry
contains certificate for binaries that will be booted by ROM. Support
for both these types of certificates is
On 4/4/23 7:13 AM, Neha Malcom Francis wrote:
By providing entries in the binman node of the device tree, binman will
be able to find and package board config artifacts generated by
TIBoardConfig with sysfw.bin and generate the final image sysfw.itb.
It will also pick out the R5 SPL and sign it
strategy.
Thank you!
For the whole series,
Acked-by: Andrew Davis
[0] https://lists.denx.de/pipermail/u-boot/2023-April/514400.html
Signed-off-by: Andrew Davis
---
arch/arm/dts/omap-gpmc-smsc9221.dtsi | 1 +
arch/arm/dts/omap3-beagle-xm-ab.dts | 7 ++-
arch/arm/dts/omap3-beagle-xm.dts | 7 ++-
arch/arm/dts/omap3-beagle.dts| 7
Signed-off-by: Andrew Davis
---
arch/arm/dts/dra7-dspeve-thermal.dtsi | 7 ++-
arch/arm/dts/dra7-evm-common.dtsi | 7 ++-
arch/arm/dts/dra7-evm.dts | 7 ++-
arch/arm/dts/dra7-iva-thermal.dtsi| 7 ++-
arch/arm/dts/dra7-mmc-iodelay.dtsi| 2 +-
arch/arm
Signed-off-by: Andrew Davis
---
arch/arm/dts/da850-evm.dts | 7 ++-
arch/arm/dts/da850-lcdk.dts | 3 +--
arch/arm/dts/da850-lego-ev3.dts | 6 +-
arch/arm/dts/da850.dtsi | 6 +-
arch/arm/dts/dm8168-evm.dts | 6 +-
arch/arm/dts/dm816x-clocks.dtsi | 6
Signed-off-by: Andrew Davis
---
arch/arm/dts/am4372.dtsi| 7 ++-
arch/arm/dts/am437x-gp-evm.dts | 7 ++-
arch/arm/dts/am437x-idk-evm.dts | 7 ++-
arch/arm/dts/am437x-sk-evm.dts | 7 ++-
arch/arm/dts/am43x-epos-evm.dts | 7 ++-
arch/arm/dts/am43xx-clocks.dtsi | 5
is the only functional change, it fixes boot on DRA7-EVMs.
Thanks,
Andrew
Andrew Davis (17):
arm: dts: am3x: Update devicetree header comments to sync with
v6.3-rc6
arm: dts: am43x: Update devicetree header comments to sync with
v6.3-rc6
arm: dts: am57x: Update devicetree header
Signed-off-by: Andrew Davis
---
arch/arm/dts/am335x-base0033.dts| 5 +
arch/arm/dts/am335x-chiliboard.dts | 7 ++-
arch/arm/dts/am335x-chilisom.dtsi | 7 ++-
arch/arm/dts/am335x-evm.dts | 7 ++-
arch/arm/dts/am335x-evmsk.dts | 7
Signed-off-by: Andrew Davis
---
arch/arm/dts/omap4-cpu-thermal.dtsi | 7 ++-
arch/arm/dts/omap4-panda-common.dtsi | 2 +-
arch/arm/dts/omap4-panda-es.dts | 2 +-
arch/arm/dts/omap4-panda.dts | 2 +-
arch/arm/dts/omap4-sdp-es23plus.dts | 2 +-
arch/arm/dts/omap4-sdp.dts
Signed-off-by: Andrew Davis
---
arch/arm/dts/keystone-clocks.dtsi | 7 ++-
arch/arm/dts/keystone-k2e-clocks.dtsi | 7 ++-
arch/arm/dts/keystone-k2e-evm.dts | 7 ++-
arch/arm/dts/keystone-k2e-netcp.dtsi | 7 ++-
arch/arm/dts/keystone-k2e.dtsi | 7 ++-
arch
Signed-off-by: Andrew Davis
---
arch/arm/dts/am571x-idk.dts| 7 ++-
arch/arm/dts/am5729-beagleboneai.dts | 1 +
arch/arm/dts/am572x-idk-common.dtsi| 2 +-
arch/arm/dts/am572x-idk.dts| 7 ++-
arch/arm/dts/am574x-idk.dts| 2
This is a collection of all the whitespace, renames, comment, and other
changes that should not change the DT functionality from Linux v6.3-rc6.
Signed-off-by: Andrew Davis
---
arch/arm/dts/am571x-idk.dts| 6 +-
arch/arm/dts/am572x-idk-common.dtsi| 8 +-
arch/arm/dts
This is a collection of all the whitespace, renames, comment, and other
changes that should not change the DT functionality from Linux v6.3-rc6.
Signed-off-by: Andrew Davis
---
arch/arm/dts/keystone-clocks.dtsi | 52 +-
arch/arm/dts/keystone-k2e-clocks.dtsi | 8 +--
arch
Several DTS files have been updated in the Linux kernel with a new
IOPAD macro. Sync for the same here.
Signed-off-by: Andrew Davis
---
arch/arm/dts/am437x-gp-evm.dts | 315 -
arch/arm/dts/am437x-sk-evm.dts | 290 +++---
2 files changed
This is a collection of all the whitespace, renames, comment, and other
changes that should not change the DT functionality from Linux v6.3-rc6.
Signed-off-by: Andrew Davis
---
arch/arm/dts/am335x-bone-common.dtsi | 1 -
arch/arm/dts/am335x-boneblack-hdmi.dtsi | 7 +-
arch
This is a collection of all the whitespace, renames, comment, and other
changes that should not change the DT functionality from Linux v6.3-rc6.
Signed-off-by: Andrew Davis
---
arch/arm/dts/da850-evm.dts | 20 ++--
arch/arm/dts/da850-lego-ev3.dts | 2 +-
arch/arm/dts/da850
This is a collection of all the whitespace, renames, comment, and other
changes that should not change the DT functionality from Linux v6.3-rc6.
Signed-off-by: Andrew Davis
---
arch/arm/dts/omap-gpmc-smsc911x.dtsi | 6 ++--
arch/arm/dts/omap-gpmc-smsc9221.dtsi | 6 ++--
arch
Signed-off-by: Andrew Davis
---
arch/arm/dts/omap5-board-common.dtsi | 2 +-
arch/arm/dts/omap5-core-thermal.dtsi | 7 ++-
arch/arm/dts/omap5-gpu-thermal.dtsi | 7 ++-
arch/arm/dts/omap5-uevm.dts | 2 +-
arch/arm/dts/omap5.dtsi | 2 +-
5 files changed, 7 insertions
This reverts commit 5717294230bc3578959960003be898433642. This
does not exist in upstream kernel.org and breaks boot on DRA7-EVMs.
Drop the same.
Signed-off-by: Andrew Davis
---
arch/arm/dts/am57xx-idk-common-u-boot.dtsi | 1 -
arch/arm/dts/dra7-evm-u-boot.dtsi | 1 -
arch/arm/dts
On 4/11/23 4:21 AM, Neha Malcom Francis wrote:
Hi Bryan
On 10/04/23 20:09, Bryan Brattlof wrote:
Hi Neha!
On April 10, 2023 thus sayeth Neha Malcom Francis:
Add support for ESM (Error Signalling Module) in J721E and J7200. The
ESM error pin output is routed to the PMIC (Power Management IC)
Several DTS files have been updated in the Linux kernel with a new
PADCONF macro replacing the IOPAD version. Sync for the same here.
Signed-off-by: Andrew Davis
---
arch/arm/dts/am335x-base0033.dts| 48 ++--
arch/arm/dts/am335x-chiliboard.dts | 66 +++---
arch/arm/dts/am335x
you
can add my Rb.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/include/mach/sys_proto.h | 4
drivers/ram/k3-am654-ddrss.c | 4
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-k3/include/mach/sys_proto.h
b/arch/arm/mach-k3/include/mach
and add
the rest of the SoC IDs for completeness and later use.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/common.c | 20 --
arch/arm/mach-k3/common.h | 3 ---
arch/arm/mach-k3/include/mach/hardware.h | 25 +++
arch/arm
This matches AM64 and J721e and removes the need to forward
declare k3_spl_init(), k3_mem_init(), and check_rom_loaded_sysfw()
in sys_proto.h.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/include/mach/sys_proto.h | 3 --
arch/arm/mach-k3/j721s2_init.c
This header file is now empty, remove it.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am642_init.c | 2 --
arch/arm/mach-k3/am654_init.c | 1 -
arch/arm/mach-k3/common.c | 1 -
arch/arm/mach-k3/include/mach/sys_proto.h | 10 --
arch/arm
This function is not used currently; remove it.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/common.c | 19 ---
arch/arm/mach-k3/include/mach/sys_proto.h | 1 -
2 files changed, 20 deletions(-)
diff --git a/arch/arm/mach-k3
This matches how it was done for pre-K3 TI platforms and it allows
us to move the forward declaration out of sys_proto.h.
It also removes the need for K3_BOARD_DETECT as one is free to simply
override the weak function in their board files as needed.
Signed-off-by: Andrew Davis
---
arch/arm
and later use.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/common.c | 20 --
arch/arm/mach-k3/common.h | 3 ---
arch/arm/mach-k3/include/mach/hardware.h | 25 +++
arch/arm/mach-k3/include/mach/sys_proto.h | 3 ---
4 files
This function is not used currently; remove it.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/common.c | 19 ---
arch/arm/mach-k3/include/mach/sys_proto.h | 1 -
2 files changed, 20 deletions(-)
diff --git a/arch/arm/mach-k3
The K3 JTAG and SoC ID information is already stored in the K3 arch
hardware file, include that and use its definitions here.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
drivers/soc/Kconfig | 2 +-
drivers/soc/soc_ti_k3.c | 30 +-
2 files
This function is the same for each device when it needs to shutdown
the R5 core. Move this to the common section and move the remaining
device specific ID list to the device hardware include.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/am642_init.c
This matches how it was done for pre-K3 TI platforms and it allows
us to move the forward declaration out of sys_proto.h.
It also removes the need for K3_BOARD_DETECT as one is free to simply
override the weak function in their board files as needed.
Signed-off-by: Andrew Davis
Reviewed
These probably should be in some system wide header given their use.
Until then move them out of K3 sys_proto.h so we can finish cleaning
that header out.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/include/mach/sys_proto.h | 4
drivers/ram/k3-am654
This header is only used locally by K3 init files, no need to have it
up with the global mach includes. Move into local includes.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/am625_init.c | 2 +-
arch/arm/mach-k3/am62a7_init.c
This header file is now empty, remove it.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/am642_init.c | 2 --
arch/arm/mach-k3/am654_init.c | 1 -
arch/arm/mach-k3/common.c | 1 -
arch/arm/mach-k3/include/mach
This matches AM64 and J721e and removes the need to forward
declare k3_spl_init(), k3_mem_init(), and check_rom_loaded_sysfw()
in sys_proto.h.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/include/mach/sys_proto.h | 3 --
arch/arm/mach-k3/j721s2_init.c
it is no
longer board level. Enable OF_SYSTEM_SETUP in the configurations that use
this to keep functionality the same.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/common.c | 16
arch/arm/mach-k3/include/mach/sys_proto.h | 1
These probably should be in some system wide header given their use.
Until then move them out of K3 sys_proto.h so we can finish cleaning
that header out.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/include/mach/sys_proto.h | 4
drivers/ram/k3-am654
This function is the same for each device when it needs to shutdown
the R5 core. Move this to the common section and move the remaining
device specific ID list to the device hardware include.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/am642_init.c
The TARGET_x_R5_EVM check is already enough to limit these defines to
only the correct builds. Remove the extra outer check.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
board/ti/j721e/j721e.env | 2 --
board/ti/j721s2/j721s2.env | 2 --
2 files changed, 4 deletions
The J7200 EVM will not include this file, this J7200 checks look
to be a copy/paste errora from j721e_evm.h, which J7200 *can* include.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
include/configs/j721s2_evm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This header is only used locally by K3 init files, no need to have it
up with the global mach includes. Move into local includes.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/am625_init.c | 2 +-
arch/arm/mach-k3/am62a7_init.c
The J7200 EVM will not include this file, this J7200 checks look
to be a copy/paste errora from j721e_evm.h, which J7200 *can* include.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
include/configs/j721s2_evm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
The TARGET_x_R5_EVM check is already enough to limit these defines to
only the correct builds. Remove the extra outer check.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
board/ti/j721e/j721e.env | 2 --
board/ti/j721s2/j721s2.env | 2 --
2 files changed, 4 deletions
12] to use static and turned it into common macro
- Removed "EEPROM" from comment as board detection can use other methods
- Added more reviewed by tags
Changes from v1:
- Added reviewed by tag
- Rebased on latest
Andrew Davis (12):
arm: mach-k3: Move MSMC fixup to SoC level
arm: mac
it is no
longer board level. Enable OF_SYSTEM_SETUP in the configurations that use
this to keep functionality the same.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/common.c | 16
arch/arm/mach-k3/include/mach/sys_proto.h | 1
ection can use other methods
- Added more reviewed by tags
Changes from v1:
- Added reviewed by tag
- Rebased on latest
Andrew Davis (12):
arm: mach-k3: Move MSMC fixup to SoC level
arm: mach-k3: Move J721e SoC detection out of common section
soc: soc_ti_k3: Use hardware.h to remove de
The K3 JTAG and SoC ID information is already stored in the K3 arch
hardware file, include that and use its definitions here.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
drivers/soc/Kconfig | 2 +-
drivers/soc/soc_ti_k3.c | 30 +-
2 files
and later use.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/common.c | 20 --
arch/arm/mach-k3/common.h | 3 ---
arch/arm/mach-k3/include/mach/hardware.h | 25 +++
arch/arm/mach-k3/include/mach/sys_proto.h | 3 ---
4 files
On 4/2/23 5:44 AM, Christian Gmeiner wrote:
Hi Andrew
Am Do., 30. März 2023 um 22:30 Uhr schrieb Andrew Davis :
This matches how it was done for pre-K3 TI platforms and it allows
us to move the forward declaration out of sys_proto.h.
It also removes the need to check for TI_I2C_BOARD_DETECT
Hello all,
Some minor cleanups with end patch removing sys_proto.h.
Why? Becouse I don't like headers of "miscellaneous".
Thanks,
Andrew
Changes from v1:
- Added reviewed by tag
- Rebased on latest
Andrew Davis (12):
arm: mach-k3: Move MSMC fixup to SoC level
arm: mach-k3: Move
The J7200 EVM will not include this file, this J7200 checks look
to be a copy/paste errora from j721e_evm.h, which J7200 *can* include.
Signed-off-by: Andrew Davis
---
include/configs/j721s2_evm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/j721s2_evm.h b
This belongs in the J721e specific file as it is the only place
this is used. Any board level users should use the SOC driver.
While here, move the J721e and J7200 SoC IDs out of sys_proto.h
and into hardware.h. Add the rest of the SoC IDs for completeness
and later use.
Signed-off-by: Andrew
The K3 JTAG and SoC ID information is already stored in the K3 arch
hardware file, include that and use its definitions here.
Signed-off-by: Andrew Davis
---
drivers/soc/Kconfig | 2 +-
drivers/soc/soc_ti_k3.c | 30 +-
2 files changed, 10 insertions(+), 22
This matches AM64 and J721e and removes the need to forward
declare k3_spl_init(), k3_mem_init(), and check_rom_loaded_sysfw()
in sys_proto.h.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/include/mach/sys_proto.h | 3 --
arch/arm/mach-k3/j721s2_init.c| 64
it is no
longer board level. Enable OF_SYSTEM_SETUP in the configurations that use
this to keep functionality the same.
Signed-off-by: Andrew Davis
Reviewed-by: Christian Gmeiner
---
arch/arm/mach-k3/common.c | 16
arch/arm/mach-k3/include/mach/sys_proto.h | 1
This header is only used locally by K3 init files, no need to have it
up with the global mach includes. Move into local includes.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am625_init.c | 2 +-
arch/arm/mach-k3/am62a7_init.c | 2 +-
arch/arm/mach
This function is the same for each device when it needs to shutdown
the R5 core. Move this to the common section and move the remaining
device specific ID list to the device hardware include.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am642_init.c | 51
This header file is now empty, remove it.
Signed-off-by: Andrew Davis
---
arch/arm/mach-k3/am642_init.c | 2 --
arch/arm/mach-k3/am654_init.c | 1 -
arch/arm/mach-k3/common.c | 1 -
arch/arm/mach-k3/include/mach/sys_proto.h | 10 --
arch/arm
This matches how it was done for pre-K3 TI platforms and it allows
us to move the forward declaration out of sys_proto.h.
It also removes the need for K3_BOARD_DETECT as one is free to simply
override the weak function in their board files as needed.
Signed-off-by: Andrew Davis
---
arch/arm
101 - 200 of 340 matches
Mail list logo