diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2020-07-15 13:09:00 +0300 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-07-24 09:55:19 +0300 |
commit | ff7d25e8db8de47dea4c6850b6a3a642a2d8befd (patch) | |
tree | 4115db892677b07d9e0a294875fafc076628fa9c /board/dfi | |
parent | 4243ff11fe73bef0d60b2a48c8663e02975ebb6b (diff) | |
download | u-boot-ff7d25e8db8de47dea4c6850b6a3a642a2d8befd.tar.xz |
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>
Diffstat (limited to 'board/dfi')
0 files changed, 0 insertions, 0 deletions