u-boot-brain/arch/arm/mach-k3
Andreas Dannenberg 03facc7271 board: ti: am654: Use EEPROM-based board detection
The TI AM654x EVM base board and the associated daughtercards have on-
board I2C-based EEPROMs containing board configuration data. Use the
board detection infrastructure introduced earlier to do the following:

1) Parse the AM654x EVM base board EEPROM and populate items like board
   name and MAC addresses into the TI common EEPROM data structure
   residing in SRAM scratch space
2) Check for presence of daughter card(s) by probing the associated
   presence signals via an I2C-based GPIO expander. Then, if such a
   card is found, parse the data such as additional Ethernet MAC
   addresses from its on-board EEPROM and populate into U-Boot
   accordingly
3) Dynamically create an U-Boot ENV variable called overlay_files
   containing a list of daugherboard-specific DTB overlays based on
   daughercards found.

This patch adds support for the AM654x base board ("AM6-COMPROCEVM")
as well as for the IDK ("AM6-IDKAPPEVM"), OLDI LCD ("OLDI-LCD1EVM")
PCIe/USB3.0 ("SER-PCIEUSBEVM"), 2 Lane PCIe/USB2.0 ("SER-PCIE2LEVM"),
and general purpuse ("AM6-GPAPPEVM") daughtercards.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
2019-07-17 11:13:18 -04:00
..
include/mach board: ti: am654: Use EEPROM-based board detection 2019-07-17 11:13:18 -04:00
am6_init.c board: ti: am654: Use EEPROM-based board detection 2019-07-17 11:13:18 -04:00
arm64-mmu.c arm64: zynqmp: Move SoC sources to mach-zynqmp 2019-01-24 10:03:44 +01:00
common.c arm: k3: Add support for updating msmc dt node 2019-04-12 08:05:51 -04:00
common.h armv7R: K3: am654: Enable MPU regions 2018-11-16 16:51:58 -05:00
config_secure.mk arm: mach-k3: Add secure device build support 2019-04-26 17:51:51 -04: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
Kconfig arm: K3: Introduce System Firmware loader framework 2019-07-17 11:12:54 -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: Introduce System Firmware loader framework 2019-07-17 11:12:54 -04:00
r5_mpu.c armv7R: K3: am654: Enable MPU regions 2018-11-16 16:51:58 -05:00
security.c arm: mach-k3: Add secure device support 2019-04-26 17:51:51 -04:00
sysfw-loader.c arm: K3: Introduce System Firmware loader framework 2019-07-17 11:12:54 -04:00