]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: gateworks: venice: dynamically determine U-Boot env partition
authorTim Harvey <tharvey@gateworks.com>
Wed, 3 May 2023 00:05:54 +0000 (17:05 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jul 2023 12:40:03 +0000 (14:40 +0200)
commit2c2cc1eaabc7b4bb5af66830c59a810e97280545
treeea49fe30ff874a99c54c0e4e0d0392e3310e980e
parent8236c05ddb2a86080a1748c333764dd50013774b
board: gateworks: venice: dynamically determine U-Boot env partition

Determine the U-Boot env hardware partition depending on the boot
device.

This allows the same boot firmware image to be placed on user, boot0,
or boot1 without changing CONFIG_SYS_MMC_ENV_PART.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/venice.c