Skip to content

Commit

Permalink
MIPS: Sibyte: Remove standalone kernel support
Browse files Browse the repository at this point in the history
CFE is the only supported and used bootloader on the SiByte boards,
the standalone kernel support has been never used outside Broadcom.
Remove it and make the kernel use CFE by default.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Imre Kaloz authored and Ralf Baechle committed Jun 17, 2009
1 parent 435f81f commit 05f94ee
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 133 deletions.
1 change: 0 additions & 1 deletion arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ libs-$(CONFIG_ARC) += arch/mips/fw/arc/
libs-$(CONFIG_CFE) += arch/mips/fw/cfe/
libs-$(CONFIG_SNIPROM) += arch/mips/fw/sni/
libs-y += arch/mips/fw/lib/
libs-$(CONFIG_SIBYTE_CFE) += arch/mips/sibyte/cfe/

#
# Board-dependent options and extra files
Expand Down
24 changes: 3 additions & 21 deletions arch/mips/sibyte/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ config SIBYTE_SB1xxx_SOC
select SWAP_IO_SPACE
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_64BIT_KERNEL
select CFE
select SYS_HAS_EARLY_PRINTK

choice
prompt "SiByte SOC Stepping"
Expand Down Expand Up @@ -136,34 +138,14 @@ config SB1_CERR_STALL
bool "Stall (rather than panic) on fatal cache error"
depends on SIBYTE_SB1xxx_SOC

config SIBYTE_CFE
bool "Booting from CFE"
depends on SIBYTE_SB1xxx_SOC
select CFE
select SYS_HAS_EARLY_PRINTK
help
Make use of the CFE API for enumerating available memory,
controlling secondary CPUs, and possibly console output.

config SIBYTE_CFE_CONSOLE
bool "Use firmware console"
depends on SIBYTE_CFE
depends on SIBYTE_SB1xxx_SOC
help
Use the CFE API's console write routines during boot. Other console
options (VT console, sb1250 duart console, etc.) should not be
configured.

config SIBYTE_STANDALONE
bool
depends on SIBYTE_SB1xxx_SOC && !SIBYTE_CFE
select SYS_HAS_EARLY_PRINTK
default y

config SIBYTE_STANDALONE_RAM_SIZE
int "Memory size (in megabytes)"
depends on SIBYTE_STANDALONE
default "32"

config SIBYTE_BUS_WATCHER
bool "Support for Bus Watcher statistics"
depends on SIBYTE_SB1xxx_SOC
Expand Down
2 changes: 0 additions & 2 deletions arch/mips/sibyte/cfe/Makefile

This file was deleted.

4 changes: 2 additions & 2 deletions arch/mips/sibyte/common/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
obj-y :=

obj-y := cfe.o
obj-$(CONFIG_SIBYTE_CFE_CONSOLE) += cfe_console.o
obj-$(CONFIG_SIBYTE_TBPROF) += sb_tbprof.o

EXTRA_CFLAGS += -Werror
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion arch/mips/sibyte/sb1250/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
obj-y := setup.o irq.o time.o

obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_SIBYTE_STANDALONE) += prom.o
obj-$(CONFIG_SIBYTE_BUS_WATCHER) += bus_watcher.o

EXTRA_CFLAGS += -Werror
96 changes: 0 additions & 96 deletions arch/mips/sibyte/sb1250/prom.c

This file was deleted.

10 changes: 0 additions & 10 deletions arch/mips/sibyte/swarm/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,6 @@ void __init plat_mem_setup(void)
if (m41t81_probe())
swarm_rtc_type = RTC_M4LT81;

printk("This kernel optimized for "
"board"
" runs "
#ifdef CONFIG_SIBYTE_CFE
"with"
#else
"without"
#endif
" CFE\n");

#ifdef CONFIG_VT
screen_info = (struct screen_info) {
0, 0, /* orig-x, orig-y */
Expand Down

0 comments on commit 05f94ee

Please sign in to comment.