Jagan Teki
ff7d25e8db
env: Enable SPI flash env for SiFive FU540
SPI flash device on HiFive Unleashed has 32MiB Size.
This patch adds SPI flash environment after U-Boot proper
partition with a size of 128KiB.
SPI flash partition layout(32MiB):
0 - 34 : reserved for GPT header
35 - 39 : unused
40 - 2087 : loader1 (SPL, FSBL)
2088 - 10279 : loader2 (U-Boot proper, U-Boot)
10280 - 10535 : environment
10536 - 65494 : rootfs
65528 - 65536 : distro script
Note: the loader1 must start from 40th sector even though
there are 6 free sectors prior since 40th sector is nearest
flash sector boundary.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
2020-07-24 14:55:19 +08:00
..
2020-05-18 21:19:23 -04:00
2020-07-23 15:56:06 -04:00
2020-07-17 10:46:44 -04:00
2020-07-01 10:11:03 -04:00
2020-07-18 15:47:50 +02:00
2020-07-17 09:30:13 -04:00
2020-07-20 11:37:47 -06:00
2020-07-17 09:30:13 -04:00
2020-07-24 14:55:19 +08:00
2020-07-20 11:37:47 -06:00
2020-07-17 09:30:13 -04:00
2020-07-20 11:37:47 -06:00
2020-07-01 10:11:03 -04:00
2020-07-17 14:32:24 +08:00
2020-04-03 11:52:55 -04:00