diff options
author | Tim Harvey <tharvey@gateworks.com> | 2023-05-02 17:05:55 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-07-11 14:40:03 +0200 |
commit | 7b39e5b53a88f973da08e2f8d3e1161e51a77ed4 (patch) | |
tree | c81b6c1eb804c3711661664cffdc373065e1518e /include/configs | |
parent | 2c2cc1eaabc7b4bb5af66830c59a810e97280545 (diff) | |
download | u-boot-7b39e5b53a88f973da08e2f8d3e1161e51a77ed4.zip u-boot-7b39e5b53a88f973da08e2f8d3e1161e51a77ed4.tar.gz u-boot-7b39e5b53a88f973da08e2f8d3e1161e51a77ed4.tar.bz2 |
board: gateworks: venice: dynamically update the update_firmware script
The update_firmware script is intended to update the boot firmware but
the details including the offset and hardware partition are dependent
on the boot device.
Specifically:
- IMX8MM/IMX8MP (BOOTROM v2) the offset is 32KiB for SD and eMMC user
hardware partition and 0KiB for eMMC boot partitions.
- IMX8MM the offset is 33KiB for SD and eMMC regardless of hardware
partition.
Dynamically set soc, dev, bootpart, and bootblk env vars at runtime
and use these in the update_firmware script. Remove the splblk env var
from config files as its no longer needed.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/imx8mm_venice.h | 1 | ||||
-rw-r--r-- | include/configs/imx8mn_venice.h | 1 | ||||
-rw-r--r-- | include/configs/imx8mp_venice.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/imx8mm_venice.h b/include/configs/imx8mm_venice.h index 5579a05..b33b828 100644 --- a/include/configs/imx8mm_venice.h +++ b/include/configs/imx8mm_venice.h @@ -26,7 +26,6 @@ func(DHCP, dhcp, na) #include <config_distro_bootcmd.h> #define CFG_EXTRA_ENV_SETTINGS \ - "splblk=0x42\0" \ BOOTENV #define CFG_SYS_INIT_RAM_ADDR 0x40000000 diff --git a/include/configs/imx8mn_venice.h b/include/configs/imx8mn_venice.h index 80c2df9..3db997e 100644 --- a/include/configs/imx8mn_venice.h +++ b/include/configs/imx8mn_venice.h @@ -20,7 +20,6 @@ func(DHCP, dhcp, na) #include <config_distro_bootcmd.h> #define CFG_EXTRA_ENV_SETTINGS \ - "splblk=0x40\0" \ BOOTENV #define CFG_SYS_INIT_RAM_ADDR 0x40000000 diff --git a/include/configs/imx8mp_venice.h b/include/configs/imx8mp_venice.h index 4b32d5a..b5ee8c9 100644 --- a/include/configs/imx8mp_venice.h +++ b/include/configs/imx8mp_venice.h @@ -20,7 +20,6 @@ func(DHCP, dhcp, na) #include <config_distro_bootcmd.h> #define CFG_EXTRA_ENV_SETTINGS \ - "splblk=0x40\0" \ BOOTENV #define CFG_SYS_INIT_RAM_ADDR 0x40000000 |