diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2021-05-06 16:44:49 +0530 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2021-05-12 16:32:44 +0530 |
commit | 2ee76314a759666f6469e6044dc243832b1883c9 (patch) | |
tree | 624d0ee740906e0b337f9af3946eda7a937874f5 /arch/arm | |
parent | 776b79e9f159112fca232706d4eec24275dc585c (diff) | |
download | u-boot-2ee76314a759666f6469e6044dc243832b1883c9.tar.gz u-boot-2ee76314a759666f6469e6044dc243832b1883c9.tar.xz u-boot-2ee76314a759666f6469e6044dc243832b1883c9.zip |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-k3/include/mach/am64_hardware.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/include/mach/am64_hardware.h b/arch/arm/mach-k3/include/mach/am64_hardware.h index 8dc318bfbf..c368aa7e6b 100644 --- a/arch/arm/mach-k3/include/mach/am64_hardware.h +++ b/arch/arm/mach-k3/include/mach/am64_hardware.h @@ -49,4 +49,7 @@ #define ROM_ENTENDED_BOOT_DATA_INFO 0x701beb00 +/* Use Last 1K as Scratch pad */ +#define TI_SRAM_SCRATCH_BOARD_EEPROM_START 0x701bfc00 + #endif /* __ASM_ARCH_DRA8_HARDWARE_H */ |