* [PATCH 0/2] arm64: versal2: Read an eeprom
@ 2025-04-09 16:26 Padmarao Begari
2025-04-09 16:26 ` [PATCH 1/2] arm64: versal2: Remove dtb reselect and multi dtb Padmarao Begari
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Padmarao Begari @ 2025-04-09 16:26 UTC (permalink / raw)
To: u-boot; +Cc: git, michal.simek, venkatesh.abbarapu
Read an eeprom after relocation if multi dtb's are disabled.
Padmarao Begari (2):
arm64: versal2: Remove dtb reselect and multi dtb
board: amd: Read an eeprom after relocation
board/amd/versal2/board.c | 3 +++
configs/amd_versal2_virt_defconfig | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
--
2.44.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] arm64: versal2: Remove dtb reselect and multi dtb
2025-04-09 16:26 [PATCH 0/2] arm64: versal2: Read an eeprom Padmarao Begari
@ 2025-04-09 16:26 ` Padmarao Begari
2025-04-09 16:26 ` [PATCH 2/2] board: amd: Read an eeprom after relocation Padmarao Begari
2025-04-16 11:54 ` [PATCH 0/2] arm64: versal2: Read an eeprom Michal Simek
2 siblings, 0 replies; 4+ messages in thread
From: Padmarao Begari @ 2025-04-09 16:26 UTC (permalink / raw)
To: u-boot; +Cc: git, michal.simek, venkatesh.abbarapu
Presently the multi dtb's are not using on versal Gen 2
platform, so remove CONFIG_DTB_RESELECT and CONFIG_MULTI_DTB_FIT
from defconfig.
Signed-off-by: Padmarao Begari <padmarao.begari@amd.com>
---
configs/amd_versal2_virt_defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/configs/amd_versal2_virt_defconfig b/configs/amd_versal2_virt_defconfig
index 9911caa0e46..1b8bd17fa8e 100644
--- a/configs/amd_versal2_virt_defconfig
+++ b/configs/amd_versal2_virt_defconfig
@@ -64,8 +64,6 @@ CONFIG_CMD_MTDPARTS=y
CONFIG_CMD_UBI=y
CONFIG_PARTITION_TYPE_GUID=y
CONFIG_OF_BOARD=y
-CONFIG_DTB_RESELECT=y
-CONFIG_MULTI_DTB_FIT=y
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_LWIP=y
--
2.44.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] board: amd: Read an eeprom after relocation
2025-04-09 16:26 [PATCH 0/2] arm64: versal2: Read an eeprom Padmarao Begari
2025-04-09 16:26 ` [PATCH 1/2] arm64: versal2: Remove dtb reselect and multi dtb Padmarao Begari
@ 2025-04-09 16:26 ` Padmarao Begari
2025-04-16 11:54 ` [PATCH 0/2] arm64: versal2: Read an eeprom Michal Simek
2 siblings, 0 replies; 4+ messages in thread
From: Padmarao Begari @ 2025-04-09 16:26 UTC (permalink / raw)
To: u-boot; +Cc: git, michal.simek, venkatesh.abbarapu
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.begari@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] arm64: versal2: Read an eeprom
2025-04-09 16:26 [PATCH 0/2] arm64: versal2: Read an eeprom Padmarao Begari
2025-04-09 16:26 ` [PATCH 1/2] arm64: versal2: Remove dtb reselect and multi dtb Padmarao Begari
2025-04-09 16:26 ` [PATCH 2/2] board: amd: Read an eeprom after relocation Padmarao Begari
@ 2025-04-16 11:54 ` Michal Simek
2 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2025-04-16 11:54 UTC (permalink / raw)
To: Padmarao Begari, u-boot; +Cc: git, venkatesh.abbarapu
On 4/9/25 18:26, Padmarao Begari wrote:
> Read an eeprom after relocation if multi dtb's are disabled.
>
> Padmarao Begari (2):
> arm64: versal2: Remove dtb reselect and multi dtb
> board: amd: Read an eeprom after relocation
>
> board/amd/versal2/board.c | 3 +++
> configs/amd_versal2_virt_defconfig | 2 --
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
Applied.
M
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-04-16 11:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 16:26 [PATCH 0/2] arm64: versal2: Read an eeprom Padmarao Begari
2025-04-09 16:26 ` [PATCH 1/2] arm64: versal2: Remove dtb reselect and multi dtb Padmarao Begari
2025-04-09 16:26 ` [PATCH 2/2] board: amd: Read an eeprom after relocation Padmarao Begari
2025-04-16 11:54 ` [PATCH 0/2] arm64: versal2: Read an eeprom Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.