From a62bba15b5a02accb8f6de3b47a525eab4f50302 Mon Sep 17 00:00:00 2001 From: Francois Retief Date: Thu, 29 Oct 2015 00:02:48 +0200 Subject: sparc: leon3: Updates for generic board initialization Reworked the LEON3 start.S code to call board_init_f function at startup. Also implemented the relocate_code function in assembly to relocate the monitor and setup the stack pointer before calling relocated board_init_r. Add the CONFIG_SYS_GENERIC_BOARD variable to all the LEON3 boards. Signed-off-by: Francois Retief --- include/configs/grsim.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/grsim.h') diff --git a/include/configs/grsim.h b/include/configs/grsim.h index 932f330e1e..e280dee9e9 100644 --- a/include/configs/grsim.h +++ b/include/configs/grsim.h @@ -13,6 +13,8 @@ #ifndef __CONFIG_H__ #define __CONFIG_H__ +#define CONFIG_SYS_GENERIC_BOARD + /* * High Level Configuration Options * (easy to change) -- cgit v1.2.3