aboutsummaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorTom Rini2017-03-14 11:08:11 -0400
committerTom Rini2017-04-05 13:52:20 -0400
commit936478e797a87bcd4e002bf70430b6f58584b155 (patch)
treefa37ca333a77dd69d8ef8978d4f8ca59356d533c /common/board_f.c
parentea3310e8aafad1da72d9a5e60568d725cbdefdbd (diff)
SPARC: Remove
The SPARC architecture is currently unmaintained, remove. Cc: Francois Retief <fgretief@spaceteq.co.za> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 224ba09803f..c4eb3ae65e5 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -364,20 +364,6 @@ static int setup_dest_addr(void)
return 0;
}
-#if defined(CONFIG_SPARC)
-static int reserve_prom(void)
-{
- /* defined in arch/sparc/cpu/leon?/prom.c */
- extern void *__prom_start_reloc;
- int size = 8192; /* page table = 2k, prom = 6k */
- gd->relocaddr -= size;
- __prom_start_reloc = map_sysmem(gd->relocaddr + 2048, size - 2048);
- debug("Reserving %dk for PROM and page table at %08lx\n", size,
- gd->relocaddr);
- return 0;
-}
-#endif
-
#if defined(CONFIG_LOGBUFFER) && !defined(CONFIG_ALT_LB_ADDR)
static int reserve_logbuffer(void)
{
@@ -871,8 +857,7 @@ static const init_fnc_t init_sequence_f[] = {
init_timebase,
#endif
#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
- defined(CONFIG_NDS32) || defined(CONFIG_SH) || \
- defined(CONFIG_SPARC)
+ defined(CONFIG_NDS32) || defined(CONFIG_SH)
timer_init, /* initialize timer */
#endif
#if defined(CONFIG_BOARD_POSTCLK_INIT)
@@ -964,9 +949,6 @@ static const init_fnc_t init_sequence_f[] = {
/* Blackfin u-boot monitor should be on top of the ram */
reserve_uboot,
#endif
-#if defined(CONFIG_SPARC)
- reserve_prom,
-#endif
#if defined(CONFIG_LOGBUFFER) && !defined(CONFIG_ALT_LB_ADDR)
reserve_logbuffer,
#endif