From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Wed, 29 Jul 2020 17:42:32 +0200 Subject: [PATCH 3/6] riscv: load addresses for Sipeed MAIX In-Reply-To: <20200729154235.90766-1-xypron.glpk@gmx.de> References: <20200729154235.90766-1-xypron.glpk@gmx.de> Message-ID: <20200729154235.90766-4-xypron.glpk@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Define default load addresses and the device tree name for the Sipeed MAIX. Signed-off-by: Heinrich Schuchardt --- include/configs/sipeed-maix.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/configs/sipeed-maix.h b/include/configs/sipeed-maix.h index a46473fc78..978db6fb00 100644 --- a/include/configs/sipeed-maix.h +++ b/include/configs/sipeed-maix.h @@ -21,4 +21,13 @@ /* For early init */ #define K210_SYSCTL_BASE 0x50440000 +#ifndef CONFIG_EXTRA_ENV_SETTINGS +#define CONFIG_EXTRA_ENV_SETTINGS \ + "loadaddr=0x80040000\0" \ + "fdt_addr_r=0x80010000\0" \ + "scriptaddr=0x80008000\0" \ + "kernel_addr_r=0x80040000\0" \ + "fdtfile=kendryte/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" +#endif + #endif /* CONFIGS_SIPEED_MAIX_H */ -- 2.27.0