]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: dts: imx8mn-var-som: Fix broken EEPROM read
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Tue, 17 Oct 2023 20:58:15 +0000 (16:58 -0400)
committerFabio Estevam <festevam@gmail.com>
Tue, 12 Dec 2023 12:21:20 +0000 (09:21 -0300)
commit3d91bc90de44861b719e9f0d73fd80d0037f5d46
tree29a44f094b8299adde99c7ec61e27ecdcb5cbc9f
parent65eed687729c28431d38c6c9174da4d878fb107f
arm: dts: imx8mn-var-som: Fix broken EEPROM read

On branch WIP/17Oct2023, the EEPROM can no longer be read:

    U-Boot 2023.10-latest (Oct 17 2023 - 15:53:43 -0400)
    CPU:   Freescale i.MX8MNano Quad rev1.0 at 1200 MHz
    Reset cause: POR
    Model: Variscite VAR-SOM-MX8MN Symphony evaluation board
    var_read_som_eeprom: uclass_get_device_by_of_offset() failed: -19
    initcall failed at call 000000004022207c (err=-19)

Convert EEPROM-related properties to bootph-all so that the EEPROM can
also be read outside of SPL.

Fixes: 9e644284ab81 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation")
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi