aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2020-04-10 23:56:30 +0530
committerJagan Teki <jagan@amarulasolutions.com>2020-04-29 01:44:35 +0530
commitd2c19b740c48c662fe23d02ac8d6514895d8c205 (patch)
tree91b19c6f54cc2cdc672faf43a4fea91423fcc40b /include
parentf76b9388c6067b4a1705e7f8524423dd20622762 (diff)
downloadu-boot-d2c19b740c48c662fe23d02ac8d6514895d8c205.zip
u-boot-d2c19b740c48c662fe23d02ac8d6514895d8c205.tar.gz
u-boot-d2c19b740c48c662fe23d02ac8d6514895d8c205.tar.bz2
rk3399: Add boot flash script offset, size
Most of the SPI flash devices in rockchip (rk3399) are 16MiB size. So, let's use the script offset at the end of 8K.  This way it cannot overlap any offsets being used by software components in flash layout. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3399_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 89a8a44..01a9174 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -48,6 +48,8 @@
#define ENV_MEM_LAYOUT_SETTINGS \
"scriptaddr=0x00500000\0" \
+ "script_offset_f=0xffe000\0" \
+ "script_size_f=0x2000\0" \
"pxefile_addr_r=0x00600000\0" \
"fdt_addr_r=0x01f00000\0" \
"kernel_addr_r=0x02080000\0" \