summaryrefslogtreecommitdiffstats
path: root/include/configs/grsim_leon2.h
diff options
context:
space:
mode:
authorFrancois Retief <fgretief@spaceteq.co.za>2015-11-21 13:25:41 +0200
committerFrancois Retief <fgretief@spaceteq.co.za>2015-12-03 13:15:49 +0200
commitc837901bf15616dd08997c30461e0f62bcd55245 (patch)
tree498151ee938f630bd8ca7e88a4872a39e517aa23 /include/configs/grsim_leon2.h
parenta62bba15b5a02accb8f6de3b47a525eab4f50302 (diff)
downloadtalos-obmc-uboot-c837901bf15616dd08997c30461e0f62bcd55245.tar.gz
talos-obmc-uboot-c837901bf15616dd08997c30461e0f62bcd55245.zip
sparc: leon2: Updates for generic board initialization
Reworked the LEON2 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 LEON2 boards. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
Diffstat (limited to 'include/configs/grsim_leon2.h')
-rw-r--r--include/configs/grsim_leon2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/grsim_leon2.h b/include/configs/grsim_leon2.h
index 83022e8542..2f7a5628f1 100644
--- a/include/configs/grsim_leon2.h
+++ b/include/configs/grsim_leon2.h
@@ -3,8 +3,8 @@
* (C) Copyright 2003-2005
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
- * (C) Copyright 2007
- * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
+ * (C) Copyright 2007, 2015
+ * Daniel Hellstrom, Cobham Gaisler, daniel@gaisler.com.
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -12,6 +12,8 @@
#ifndef __CONFIG_H__
#define __CONFIG_H__
+#define CONFIG_SYS_GENERIC_BOARD
+
/*
* High Level Configuration Options
* (easy to change)
OpenPOWER on IntegriCloud