u-boot/arch/arm/mach-k3
Andreas Dannenberg 643eb6ea07 board: ti: j721e: Use EEPROM-based board detection
The TI J721E EVM system on module (SOM), the common processor board, and
the associated daughtercards have on-board I2C-based EEPROMs containing
board config data. Use the board detection infrastructure to do the
following:

1) Parse the J721E SOM EEPROM and populate items like board name, board
   HW and SW revision as well as board serial number into the TI common
   EEPROM data structure residing in SRAM scratch space
2) Check for presence of daughter card(s) by probing associated I2C
   addresses used for on-board EEPROMs containing daughter card-specific
   data. If such a card is found, parse the EEPROM data such as for
   additional Ethernet MAC addresses and populate those into U-Boot
   accordingly
3) Dynamically apply daughter card DTB overlays to the U-Boot (proper)
   DTB during SPL execution
4) Dynamically create an U-Boot ENV variable called name_overlays
   during U-Boot execution containing a list of daugherboard-specific
   DTB overlays based on daughercards found to be used during Kernel
   boot.

This patch adds support for the J721E system on module boards containing
the actual SoC ("J721EX-PM2-SOM", accessed via CONFIG_EEPROM_CHIP_ADDRESS),
the common processor board ("J7X-BASE-CPB"), the Quad-Port Ethernet
Expansion Board ("J7X-VSC8514-ETH"), the infotainment board
("J7X-INFOTAN-EXP") as well as for the gateway/Ethernet switch/industrial
expansion board ("J7X-GESI-EXP").

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2020-01-20 10:10:28 +05:30
..
include/mach board: ti: j721e: Use EEPROM-based board detection 2020-01-20 10:10:28 +05:30
am6_init.c arm: mach-k3: Enable WA for R5F deadlock 2020-01-03 09:47:11 -05:00
arm64-mmu.c armv8: K3: j721e: Updated ddr address regions in MMU table 2019-10-11 10:07:59 -04:00
common.c arm: mach-k3: Enable WA for R5F deadlock 2020-01-03 09:47:11 -05:00
common.h arm: mach-k3: Enable WA for R5F deadlock 2020-01-03 09:47:11 -05:00
config.mk arm: k3: config.mk: Use k3_gen_x509_cert.sh to generate boot images 2019-05-09 20:22:05 -04:00
config_secure.mk arm: mach-k3: Add secure device build support 2019-04-26 17:51:51 -04:00
j721e_init.c board: ti: j721e: Use EEPROM-based board detection 2020-01-20 10:10:28 +05:30
Kconfig arm: K3: common: Allow for early console functionality 2019-10-11 10:07:33 -04:00
lowlevel_init.S armv7r: K3: Allow SPL to run only on core 0 2018-11-26 22:52:11 -05:00
Makefile arm: K3: j721e: Add basic support for J721E SoC definition 2019-07-26 21:49:25 -04:00
r5_mpu.c armv7R: K3: am654: Enable MPU regions 2018-11-16 16:51:58 -05:00
security.c arm: k3: Use get_ti_sci_handle() where ever possible 2019-09-13 11:56:30 -04:00
sysfw-loader.c arm: K3: sysfw-loader: Allow loading SYSFW via Y-Modem 2019-10-11 10:07:33 -04:00