From: Daniel Schwierzeck Date: Sun, 23 Sep 2018 22:02:08 +0200 Subject: [U-Boot] [PATCH 2/3] arm: sunxi: use real values for CONFIG_STANDALONE_LOAD_ADDR In-Reply-To: <20180923200209.12233-1-daniel.schwierzeck@gmail.com> References: <20180923200209.12233-1-daniel.schwierzeck@gmail.com> Message-ID: <20180923200209.12233-3-daniel.schwierzeck@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de All standalone programs on sunxi boards are linked to 0x42000000. Exceptions are only sun9i boards with a link address of 0x22000000. Use these values directly to prepare for Kconfig migration of CONFIG_STANDALONE_LOAD_ADDR. Signed-off-by: Daniel Schwierzeck --- include/configs/sunxi-common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 9819d9980c..0338d85b7f 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -170,7 +170,11 @@ #define CONFIG_SYS_PBSIZE 1024 /* Print Buffer Size */ /* standalone support */ -#define CONFIG_STANDALONE_LOAD_ADDR CONFIG_SYS_LOAD_ADDR +#ifdef CONFIG_MACH_SUN9I +#define CONFIG_STANDALONE_LOAD_ADDR 0x22000000 +#else +#define CONFIG_STANDALONE_LOAD_ADDR 0x42000000 +#endif /* FLASH and environment organization */ -- 2.19.0