From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kever Yang Subject: Re: [PATCH 04/11] rk3399: Add boot flash script offet, size Date: Mon, 30 Dec 2019 11:06:41 +0800 Message-ID: <0e99c721-5f46-58bb-a14a-961ce6c11691@rock-chips.com> References: <20191221075440.6944-1-jagan@amarulasolutions.com> <20191221075440.6944-5-jagan@amarulasolutions.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20191221075440.6944-5-jagan@amarulasolutions.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" To: Jagan Teki , Simon Glass , Philipp Tomsich Cc: u-boot@lists.denx.de, linux-amarula , linux-rockchip@lists.infradead.org List-Id: linux-rockchip.vger.kernel.org On 2019/12/21 下午3:54, Jagan Teki wrote: > 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 Reviewed-by: Kever Yang Thanks, - Kever > --- > include/configs/rk3399_common.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h > index 127ca1f09c..92eb5cb750 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" \