commit | 465ecee82bfe6393b14cb1a02f3d747e31df8e11 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Fri Feb 03 21:41:45 2023 +0100 |
committer | Stefan Roese <sr@denx.de> | Wed Mar 01 06:39:18 2023 +0100 |
tree | 423a61bc977eafc3b3fc39dc0a71cf1534c2991c | |
parent | dca22e5eda0d0148c42970b29d7f4019e9742cc3 [diff] |
arm: mvebu: Define env_sf_get_env_addr() also for Proper U-Boot Proper U-Boot moves SPI0 CS0 Flash mapping from 0xD4000000 to 0xF4000000 and change its size from 64 MB to 8 MB. Definitions are already in MBUS_SPI_BASE/MBUS_SPI_SIZE macros. So define these macros also for SPL build, use them in env_sf_get_env_addr() function and move this function from spl.c to cpu.c to be available in Proper U-Boot too. Signed-off-by: Pali Rohár <pali@kernel.org>