diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2020-07-15 15:39:02 +0530 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-07-24 14:55:19 +0800 |
commit | ca0f93fb748bcc40e5da70613a92fe3185b58ccd (patch) | |
tree | b0dfef576ee3453045215c8baac4441f88691997 /include | |
parent | 662d518e8a547038494a7e9bf50d58195174a4ef (diff) | |
download | u-boot-ca0f93fb748bcc40e5da70613a92fe3185b58ccd.zip u-boot-ca0f93fb748bcc40e5da70613a92fe3185b58ccd.tar.gz u-boot-ca0f93fb748bcc40e5da70613a92fe3185b58ccd.tar.bz2 |
sifive: fu540: Add boot flash script offset, size
HiFive-Unleashed-A00 has SPI flash with 32MiB size.
So, let's use the script offset at the end of 4K.
This way it cannot overlap any offsets being used
by software components in flash layout.
So, SF distrocmd will pick the script at desired
script address and run.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/sifive-fu540.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h index 72c841e..68fda14 100644 --- a/include/configs/sifive-fu540.h +++ b/include/configs/sifive-fu540.h @@ -62,6 +62,8 @@ "kernel_addr_r=0x84000000\0" \ "fdt_addr_r=0x88000000\0" \ "scriptaddr=0x88100000\0" \ + "script_offset_f=0x1fff000\0" \ + "script_size_f=0x1000\0" \ "pxefile_addr_r=0x88200000\0" \ "ramdisk_addr_r=0x88300000\0" \ "type_guid_gpt_loader1=" TYPE_GUID_LOADER1 "\0" \ |