summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFrancois Retief <fgretief@spaceteq.co.za>2015-10-28 16:49:02 +0200
committerFrancois Retief <fgretief@spaceteq.co.za>2015-12-03 13:15:49 +0200
commit4c547754f525729e0e81389d94b26f2bea80741c (patch)
treec9ea03020775340f56eb68a1a58ba75202fea46b /arch
parent1e85ccec536f86a96e5e317b5a59a6f5180451f3 (diff)
downloadu-boot-imx-4c547754f525729e0e81389d94b26f2bea80741c.zip
u-boot-imx-4c547754f525729e0e81389d94b26f2bea80741c.tar.gz
u-boot-imx-4c547754f525729e0e81389d94b26f2bea80741c.tar.bz2
sparc: Add CONFIG_DISPLAY_BOARDINFO variable to all LEON boards
Signed-off-by: Francois Retief <fgretief@spaceteq.co.za>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/cpu/leon2/cpu.c10
-rw-r--r--arch/sparc/cpu/leon3/cpu.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/sparc/cpu/leon2/cpu.c b/arch/sparc/cpu/leon2/cpu.c
index 22e63e3..d044c3a 100644
--- a/arch/sparc/cpu/leon2/cpu.c
+++ b/arch/sparc/cpu/leon2/cpu.c
@@ -22,6 +22,16 @@ int checkcpu(void)
return 0;
}
+#ifdef CONFIG_DISPLAY_CPUINFO
+
+int print_cpuinfo(void)
+{
+ printf("CPU: LEON2\n");
+ return 0;
+}
+
+#endif
+
/* ------------------------------------------------------------------------- */
void cpu_reset(void)
diff --git a/arch/sparc/cpu/leon3/cpu.c b/arch/sparc/cpu/leon3/cpu.c
index d57bf2f..7034be6 100644
--- a/arch/sparc/cpu/leon3/cpu.c
+++ b/arch/sparc/cpu/leon3/cpu.c
@@ -25,6 +25,16 @@ int checkcpu(void)
return 0;
}
+#ifdef CONFIG_DISPLAY_CPUINFO
+
+int print_cpuinfo(void)
+{
+ printf("CPU: LEON3\n");
+ return 0;
+}
+
+#endif
+
/* ------------------------------------------------------------------------- */
void cpu_reset(void)