From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Sat, 21 Dec 2019 13:24:33 +0530 Subject: [PATCH 04/11] rk3399: Add boot flash script offet, size In-Reply-To: <20191221075440.6944-1-jagan@amarulasolutions.com> References: <20191221075440.6944-1-jagan@amarulasolutions.com> Message-ID: <20191221075440.6944-5-jagan@amarulasolutions.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Most of the SPI flash devices in rockchip (rk3399) are 16MiB size. So, let's use the script offset at the end of 8K.=C2=A0 This way it cannot overlap any offsets being used by software components in flash layout. Signed-off-by: Jagan Teki --- include/configs/rk3399_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_commo= n.h index 127ca1f09c..92eb5cb750 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -48,6 +48,8 @@ =20 #define ENV_MEM_LAYOUT_SETTINGS \ "scriptaddr=3D0x00500000\0" \ + "script_offset_f=3D0xffe000\0" \ + "script_size_f=3D0x2000\0" \ "pxefile_addr_r=3D0x00600000\0" \ "fdt_addr_r=3D0x01f00000\0" \ "kernel_addr_r=3D0x02080000\0" \ --=20 2.18.0.321.gffc6fa0e3