Read an eeprom after relocation which also shows information from eeprom wired via nvmem aliases.
When DTB reselection is enabled eeprom is read before relocation too but information is not showed. The issue about two i2c reads in this case will be address separately. Signed-off-by: Padmarao Begari <padmarao.beg...@amd.com> --- board/amd/versal2/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/amd/versal2/board.c b/board/amd/versal2/board.c index 5651d516a9e..5b995aaf9b2 100644 --- a/board/amd/versal2/board.c +++ b/board/amd/versal2/board.c @@ -32,6 +32,9 @@ int board_init(void) { printf("EL Level:\tEL%d\n", current_el()); + if (CONFIG_IS_ENABLED(DM_I2C) && CONFIG_IS_ENABLED(I2C_EEPROM)) + xilinx_read_eeprom(); + return 0; } -- 2.44.1