dect
/
linux-2.6
Archived
13
0
Fork 0

[MIPS] Move CFE code into arch/mips/fw/cfe

Move the platform independent part of the CFE code to arch/mips/fw/cfe from
arch/mips/sibyte/cfe.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Aurelien Jarno 2007-09-05 08:58:26 +02:00 committed by Ralf Baechle
parent cc6e8e0812
commit df78b5c8fa
12 changed files with 18 additions and 8 deletions

View File

@ -688,6 +688,9 @@ config ARCH_MAY_HAVE_PC_FDC
config BOOT_RAW
bool
config CFE
bool
config DMA_COHERENT
bool

View File

@ -149,6 +149,7 @@ endif
# Firmware support
#
libs-$(CONFIG_ARC) += arch/mips/arc/
libs-$(CONFIG_CFE) += arch/mips/fw/cfe/
libs-$(CONFIG_SIBYTE_CFE) += arch/mips/sibyte/cfe/
#

View File

@ -0,0 +1,5 @@
#
# Makefile for the Broadcom Common Firmware Environment support
#
lib-y += cfe_api.o

View File

@ -30,7 +30,7 @@
*
********************************************************************* */
#include "cfe_api.h"
#include <asm/fw/cfe/cfe_api.h>
#include "cfe_api_int.h"
/* Cast from a native pointer to a cfe_xptr_t and back. */

View File

@ -124,6 +124,7 @@ config SB1_CERR_STALL
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,

View File

@ -1,3 +1,3 @@
lib-y = cfe_api.o setup.o
lib-y = setup.o
lib-$(CONFIG_SMP) += smp.o
lib-$(CONFIG_SIBYTE_CFE_CONSOLE) += console.o

View File

@ -4,8 +4,8 @@
#include <asm/sibyte/board.h>
#include "cfe_api.h"
#include "cfe_error.h"
#include <asm/fw/cfe/cfe_api.h>
#include <asm/fw/cfe/cfe_error.h>
extern int cfe_cons_handle;

View File

@ -29,8 +29,8 @@
#include <asm/reboot.h>
#include <asm/sibyte/board.h>
#include "cfe_api.h"
#include "cfe_error.h"
#include <asm/fw/cfe/cfe_api.h>
#include <asm/fw/cfe/cfe_error.h>
/* Max ram addressable in 32-bit segments */
#ifdef CONFIG_64BIT

View File

@ -21,8 +21,8 @@
#include <linux/smp.h>
#include <asm/processor.h>
#include "cfe_api.h"
#include "cfe_error.h"
#include <asm/fw/cfe/cfe_api.h>
#include <asm/fw/cfe/cfe_error.h>
/*
* Use CFE to find out how many CPUs are available, setting up