]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: ti: am64x: Add support for reading eeprom data
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 6 May 2021 11:14:49 +0000 (16:44 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 11:02:44 +0000 (16:32 +0530)
commit2ee76314a759666f6469e6044dc243832b1883c9
tree624d0ee740906e0b337f9af3946eda7a937874f5
parent776b79e9f159112fca232706d4eec24275dc585c
board: ti: am64x: Add support for reading eeprom data

I2C EEPROM data contains the board name and its revision.
Add support for:
- Reading EEPROM data and store a copy at end of SRAM
- Updating env variable with relevant board info
- Printing board info during boot.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/include/mach/am64_hardware.h
board/ti/am64x/evm.c