mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
powerpc: Remove CONFIG_FSL_BOOKE
PPC_85xx is PPC32 only. PPC_85xx always selects E500 and is the only PPC32 that selects E500. FSL_BOOKE is selected when E500 and PPC32 are selected. So FSL_BOOKE is redundant with PPC_85xx. Remove FSL_BOOKE. And rename four files accordingly. cpu_setup_fsl_booke.S is not renamed because it is linked to PPC_FSL_BOOK3E and not to FSL_BOOKE as suggested by its name. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/08e3e15594e66d63b9e89c5b4f9c35153913c28f.1663606875.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
e320a76db4
commit
dfc3095cec
@ -135,7 +135,7 @@ config PPC
|
||||
select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC_BOOK3S_64
|
||||
select ARCH_HAS_SET_MEMORY
|
||||
select ARCH_HAS_STRICT_KERNEL_RWX if (PPC_BOOK3S || PPC_8xx || 40x) && !HIBERNATION
|
||||
select ARCH_HAS_STRICT_KERNEL_RWX if FSL_BOOKE && !HIBERNATION && !RANDOMIZE_BASE
|
||||
select ARCH_HAS_STRICT_KERNEL_RWX if PPC_85xx && !HIBERNATION && !RANDOMIZE_BASE
|
||||
select ARCH_HAS_STRICT_MODULE_RWX if ARCH_HAS_STRICT_KERNEL_RWX
|
||||
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
|
||||
select ARCH_HAS_UACCESS_FLUSHCACHE
|
||||
@ -548,7 +548,7 @@ config PPC64_SUPPORTS_MEMORY_FAILURE
|
||||
|
||||
config KEXEC
|
||||
bool "kexec system call"
|
||||
depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP)) || PPC_BOOK3E
|
||||
depends on (PPC_BOOK3S || PPC_85xx || (44x && !SMP)) || PPC_BOOK3E
|
||||
select KEXEC_CORE
|
||||
help
|
||||
kexec is a system call that implements the ability to shutdown your
|
||||
@ -583,7 +583,7 @@ config ARCH_HAS_KEXEC_PURGATORY
|
||||
|
||||
config RELOCATABLE
|
||||
bool "Build a relocatable kernel"
|
||||
depends on PPC64 || (FLATMEM && (44x || FSL_BOOKE))
|
||||
depends on PPC64 || (FLATMEM && (44x || PPC_85xx))
|
||||
select NONSTATIC_KERNEL
|
||||
help
|
||||
This builds a kernel image that is capable of running at the
|
||||
@ -606,7 +606,7 @@ config RELOCATABLE
|
||||
|
||||
config RANDOMIZE_BASE
|
||||
bool "Randomize the address of the kernel image"
|
||||
depends on (FSL_BOOKE && FLATMEM && PPC32)
|
||||
depends on (PPC_85xx && FLATMEM && PPC32)
|
||||
depends on RELOCATABLE
|
||||
help
|
||||
Randomizes the virtual address at which the kernel image is
|
||||
@ -625,8 +625,8 @@ config RELOCATABLE_TEST
|
||||
|
||||
config CRASH_DUMP
|
||||
bool "Build a dump capture kernel"
|
||||
depends on PPC64 || PPC_BOOK3S_32 || FSL_BOOKE || (44x && !SMP)
|
||||
select RELOCATABLE if PPC64 || 44x || FSL_BOOKE
|
||||
depends on PPC64 || PPC_BOOK3S_32 || PPC_85xx || (44x && !SMP)
|
||||
select RELOCATABLE if PPC64 || 44x || PPC_85xx
|
||||
help
|
||||
Build a kernel suitable for use as a dump capture kernel.
|
||||
The same kernel binary can be used as production kernel and dump
|
||||
@ -815,7 +815,7 @@ config DATA_SHIFT_BOOL
|
||||
depends on ADVANCED_OPTIONS
|
||||
depends on STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE
|
||||
depends on PPC_BOOK3S_32 || (PPC_8xx && !PIN_TLB_DATA && !STRICT_KERNEL_RWX) || \
|
||||
FSL_BOOKE
|
||||
PPC_85xx
|
||||
help
|
||||
This option allows you to set the kernel data alignment. When
|
||||
RAM is mapped by blocks, the alignment needs to fit the size and
|
||||
@ -828,13 +828,13 @@ config DATA_SHIFT
|
||||
default 24 if STRICT_KERNEL_RWX && PPC64
|
||||
range 17 28 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_BOOK3S_32
|
||||
range 19 23 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_8xx
|
||||
range 20 24 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && FSL_BOOKE
|
||||
range 20 24 if (STRICT_KERNEL_RWX || DEBUG_PAGEALLOC || KFENCE) && PPC_85xx
|
||||
default 22 if STRICT_KERNEL_RWX && PPC_BOOK3S_32
|
||||
default 18 if (DEBUG_PAGEALLOC || KFENCE) && PPC_BOOK3S_32
|
||||
default 23 if STRICT_KERNEL_RWX && PPC_8xx
|
||||
default 23 if (DEBUG_PAGEALLOC || KFENCE) && PPC_8xx && PIN_TLB_DATA
|
||||
default 19 if (DEBUG_PAGEALLOC || KFENCE) && PPC_8xx
|
||||
default 24 if STRICT_KERNEL_RWX && FSL_BOOKE
|
||||
default 24 if STRICT_KERNEL_RWX && PPC_85xx
|
||||
default PPC_PAGE_SHIFT
|
||||
help
|
||||
On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO.
|
||||
@ -1150,7 +1150,7 @@ config LOWMEM_SIZE
|
||||
|
||||
config LOWMEM_CAM_NUM_BOOL
|
||||
bool "Set number of CAMs to use to map low memory"
|
||||
depends on ADVANCED_OPTIONS && FSL_BOOKE
|
||||
depends on ADVANCED_OPTIONS && PPC_85xx
|
||||
help
|
||||
This option allows you to set the maximum number of CAM slots that
|
||||
will be used to map low memory. There are a limited number of slots
|
||||
@ -1161,7 +1161,7 @@ config LOWMEM_CAM_NUM_BOOL
|
||||
Say N here unless you know what you are doing.
|
||||
|
||||
config LOWMEM_CAM_NUM
|
||||
depends on FSL_BOOKE
|
||||
depends on PPC_85xx
|
||||
int "Number of CAMs to use to map low memory" if LOWMEM_CAM_NUM_BOOL
|
||||
default 3 if !STRICT_KERNEL_RWX
|
||||
default 9 if DATA_SHIFT >= 24
|
||||
@ -1170,7 +1170,7 @@ config LOWMEM_CAM_NUM
|
||||
|
||||
config DYNAMIC_MEMSTART
|
||||
bool "Enable page aligned dynamic load address for kernel"
|
||||
depends on ADVANCED_OPTIONS && FLATMEM && (FSL_BOOKE || 44x)
|
||||
depends on ADVANCED_OPTIONS && FLATMEM && (PPC_85xx || 44x)
|
||||
select NONSTATIC_KERNEL
|
||||
help
|
||||
This option enables the kernel to be loaded at any page aligned
|
||||
@ -1219,7 +1219,7 @@ config KERNEL_START
|
||||
|
||||
config PHYSICAL_START_BOOL
|
||||
bool "Set physical address where the kernel is loaded"
|
||||
depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
|
||||
depends on ADVANCED_OPTIONS && FLATMEM && PPC_85xx
|
||||
help
|
||||
This gives the physical address where the kernel is loaded.
|
||||
|
||||
@ -1232,7 +1232,7 @@ config PHYSICAL_START
|
||||
|
||||
config PHYSICAL_ALIGN
|
||||
hex
|
||||
default "0x04000000" if FSL_BOOKE
|
||||
default "0x04000000" if PPC_85xx
|
||||
help
|
||||
This value puts the alignment restrictions on physical address
|
||||
where kernel is loaded and run from. Kernel is compiled for an
|
||||
|
@ -231,7 +231,7 @@ head-$(CONFIG_PPC_BOOK3S_32) := arch/powerpc/kernel/head_book3s_32.o
|
||||
head-$(CONFIG_PPC_8xx) := arch/powerpc/kernel/head_8xx.o
|
||||
head-$(CONFIG_40x) := arch/powerpc/kernel/head_40x.o
|
||||
head-$(CONFIG_44x) := arch/powerpc/kernel/head_44x.o
|
||||
head-$(CONFIG_FSL_BOOKE) := arch/powerpc/kernel/head_fsl_booke.o
|
||||
head-$(CONFIG_PPC_85xx) := arch/powerpc/kernel/head_85xx.o
|
||||
|
||||
head-$(CONFIG_PPC64) += arch/powerpc/kernel/entry_64.o
|
||||
head-$(CONFIG_PPC_FPU) += arch/powerpc/kernel/fpu.o
|
||||
|
@ -3,7 +3,7 @@
|
||||
#define _ASM_POWERPC_KEXEC_H
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#if defined(CONFIG_FSL_BOOKE) || defined(CONFIG_44x)
|
||||
#if defined(CONFIG_PPC_85xx) || defined(CONFIG_44x)
|
||||
|
||||
/*
|
||||
* On FSL-BookE we setup a 1:1 mapping which covers the first 2GiB of memory
|
||||
|
@ -130,10 +130,10 @@ void unmap_kernel_page(unsigned long va);
|
||||
#include <asm/nohash/32/pte-40x.h>
|
||||
#elif defined(CONFIG_44x)
|
||||
#include <asm/nohash/32/pte-44x.h>
|
||||
#elif defined(CONFIG_FSL_BOOKE) && defined(CONFIG_PTE_64BIT)
|
||||
#elif defined(CONFIG_PPC_85xx) && defined(CONFIG_PTE_64BIT)
|
||||
#include <asm/nohash/pte-book3e.h>
|
||||
#elif defined(CONFIG_FSL_BOOKE)
|
||||
#include <asm/nohash/32/pte-fsl-booke.h>
|
||||
#elif defined(CONFIG_PPC_85xx)
|
||||
#include <asm/nohash/32/pte-85xx.h>
|
||||
#elif defined(CONFIG_PPC_8xx)
|
||||
#include <asm/nohash/32/pte-8xx.h>
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef _ASM_POWERPC_NOHASH_32_PTE_FSL_BOOKE_H
|
||||
#define _ASM_POWERPC_NOHASH_32_PTE_FSL_BOOKE_H
|
||||
#ifndef _ASM_POWERPC_NOHASH_32_PTE_85xx_H
|
||||
#define _ASM_POWERPC_NOHASH_32_PTE_85xx_H
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/* PTE bit definitions for Freescale BookE SW loaded TLB MMU based
|
||||
@ -71,4 +71,4 @@
|
||||
#define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* _ASM_POWERPC_NOHASH_32_PTE_FSL_BOOKE_H */
|
||||
#endif /* _ASM_POWERPC_NOHASH_32_PTE_FSL_85xx_H */
|
@ -18,7 +18,7 @@
|
||||
/*
|
||||
* TLB flushing for software loaded TLB chips
|
||||
*
|
||||
* TODO: (CONFIG_FSL_BOOKE) determine if flush_tlb_range &
|
||||
* TODO: (CONFIG_PPC_85xx) determine if flush_tlb_range &
|
||||
* flush_tlb_kernel_range are best implemented as tlbia vs
|
||||
* specific tlbie's
|
||||
*/
|
||||
|
@ -106,8 +106,8 @@ endif
|
||||
obj-$(CONFIG_PPC_BOOK3S_32) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o
|
||||
obj-$(CONFIG_TAU) += tau_6xx.o
|
||||
obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o
|
||||
ifdef CONFIG_FSL_BOOKE
|
||||
obj-$(CONFIG_HIBERNATION) += swsusp_booke.o
|
||||
ifdef CONFIG_PPC_85xx
|
||||
obj-$(CONFIG_HIBERNATION) += swsusp_85xx.o
|
||||
else
|
||||
obj-$(CONFIG_HIBERNATION) += swsusp_$(BITS).o
|
||||
endif
|
||||
@ -122,7 +122,7 @@ extra-$(CONFIG_PPC64) := head_64.o
|
||||
extra-$(CONFIG_PPC_BOOK3S_32) := head_book3s_32.o
|
||||
extra-$(CONFIG_40x) := head_40x.o
|
||||
extra-$(CONFIG_44x) := head_44x.o
|
||||
extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
|
||||
extra-$(CONFIG_PPC_85xx) := head_85xx.o
|
||||
extra-$(CONFIG_PPC_8xx) := head_8xx.o
|
||||
extra-y += vmlinux.lds
|
||||
|
||||
|
@ -129,7 +129,7 @@ _GLOBAL(_start);
|
||||
|
||||
/*
|
||||
* For the second relocation, we already set the right tlb entries
|
||||
* for the kernel space, so skip the code in fsl_booke_entry_mapping.S
|
||||
* for the kernel space, so skip the code in 85xx_entry_mapping.S
|
||||
*/
|
||||
cmpwi r19,1
|
||||
beq set_ivor
|
||||
@ -159,7 +159,7 @@ _GLOBAL(__early_start)
|
||||
lwz r20,0(r20)
|
||||
|
||||
#define ENTRY_MAPPING_BOOT_SETUP
|
||||
#include "fsl_booke_entry_mapping.S"
|
||||
#include "85xx_entry_mapping.S"
|
||||
#undef ENTRY_MAPPING_BOOT_SETUP
|
||||
|
||||
set_ivor:
|
@ -47,7 +47,7 @@ static struct hard_trap_info
|
||||
{ 0x0c00, 0x14 /* SIGCHLD */ }, /* system call */
|
||||
#ifdef CONFIG_BOOKE_OR_40x
|
||||
{ 0x2002, 0x05 /* SIGTRAP */ }, /* debug */
|
||||
#if defined(CONFIG_FSL_BOOKE)
|
||||
#if defined(CONFIG_PPC_85xx)
|
||||
{ 0x2010, 0x08 /* SIGFPE */ }, /* spe unavailable */
|
||||
{ 0x2020, 0x08 /* SIGFPE */ }, /* spe unavailable */
|
||||
{ 0x2030, 0x08 /* SIGFPE */ }, /* spe fp data */
|
||||
@ -57,7 +57,7 @@ static struct hard_trap_info
|
||||
{ 0x2900, 0x08 /* SIGFPE */ }, /* apu unavailable */
|
||||
{ 0x3100, 0x0e /* SIGALRM */ }, /* fixed interval timer */
|
||||
{ 0x3200, 0x02 /* SIGINT */ }, /* watchdog */
|
||||
#else /* ! CONFIG_FSL_BOOKE */
|
||||
#else /* ! CONFIG_PPC_85xx */
|
||||
{ 0x1000, 0x0e /* SIGALRM */ }, /* prog interval timer */
|
||||
{ 0x1010, 0x0e /* SIGALRM */ }, /* fixed interval timer */
|
||||
{ 0x1020, 0x02 /* SIGINT */ }, /* watchdog */
|
||||
@ -208,7 +208,7 @@ void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p)
|
||||
for (reg = 14; reg < 32; reg++)
|
||||
PACK64(ptr, regs->gpr[reg]);
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
#ifdef CONFIG_SPE
|
||||
for (reg = 0; reg < 32; reg++)
|
||||
PACK64(ptr, p->thread.evr[reg]);
|
||||
@ -234,7 +234,7 @@ void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p)
|
||||
#define GDB_SIZEOF_REG sizeof(unsigned long)
|
||||
#define GDB_SIZEOF_REG_U32 sizeof(u32)
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
#define GDB_SIZEOF_FLOAT_REG sizeof(unsigned long)
|
||||
#else
|
||||
#define GDB_SIZEOF_FLOAT_REG sizeof(u64)
|
||||
@ -329,7 +329,7 @@ char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
|
||||
|
||||
if (regno >= 32 && regno < 64) {
|
||||
/* FP registers 32 -> 63 */
|
||||
#if defined(CONFIG_FSL_BOOKE) && defined(CONFIG_SPE)
|
||||
#if defined(CONFIG_PPC_85xx) && defined(CONFIG_SPE)
|
||||
if (current)
|
||||
memcpy(mem, ¤t->thread.evr[regno-32],
|
||||
dbg_reg_def[regno].size);
|
||||
@ -355,7 +355,7 @@ int dbg_set_reg(int regno, void *mem, struct pt_regs *regs)
|
||||
|
||||
if (regno >= 32 && regno < 64) {
|
||||
/* FP registers 32 -> 63 */
|
||||
#if defined(CONFIG_FSL_BOOKE) && defined(CONFIG_SPE)
|
||||
#if defined(CONFIG_PPC_85xx) && defined(CONFIG_SPE)
|
||||
memcpy(¤t->thread.evr[regno-32], mem,
|
||||
dbg_reg_def[regno].size);
|
||||
#else
|
||||
|
@ -2085,7 +2085,7 @@ DEFINE_INTERRUPT_HANDLER(altivec_assist_exception)
|
||||
}
|
||||
#endif /* CONFIG_ALTIVEC */
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
DEFINE_INTERRUPT_HANDLER(CacheLockingException)
|
||||
{
|
||||
unsigned long error_code = regs->dsisr;
|
||||
@ -2098,7 +2098,7 @@ DEFINE_INTERRUPT_HANDLER(CacheLockingException)
|
||||
_exception(SIGILL, regs, ILL_PRVOPC, regs->nip);
|
||||
return;
|
||||
}
|
||||
#endif /* CONFIG_FSL_BOOKE */
|
||||
#endif /* CONFIG_PPC_85xx */
|
||||
|
||||
#ifdef CONFIG_SPE
|
||||
DEFINE_INTERRUPT_HANDLER(SPEFloatingPointException)
|
||||
|
@ -55,7 +55,7 @@ void default_machine_kexec(struct kimage *image)
|
||||
reboot_code_buffer + KEXEC_CONTROL_PAGE_SIZE);
|
||||
printk(KERN_INFO "Bye!\n");
|
||||
|
||||
if (!IS_ENABLED(CONFIG_FSL_BOOKE) && !IS_ENABLED(CONFIG_44x))
|
||||
if (!IS_ENABLED(CONFIG_PPC_85xx) && !IS_ENABLED(CONFIG_44x))
|
||||
relocate_new_kernel(page_list, reboot_code_buffer_phys, image->start);
|
||||
|
||||
/* now call it */
|
||||
|
@ -25,14 +25,14 @@ relocate_new_kernel:
|
||||
/* r4 = reboot_code_buffer */
|
||||
/* r5 = start_address */
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
|
||||
mr r29, r3
|
||||
mr r30, r4
|
||||
mr r31, r5
|
||||
|
||||
#define ENTRY_MAPPING_KEXEC_SETUP
|
||||
#include <kernel/fsl_booke_entry_mapping.S>
|
||||
#include <kernel/85xx_entry_mapping.S>
|
||||
#undef ENTRY_MAPPING_KEXEC_SETUP
|
||||
|
||||
mr r3, r29
|
||||
|
@ -223,7 +223,7 @@ _GLOBAL(kvmppc_resume_host)
|
||||
lwz r3, VCPU_HOST_PID(r4)
|
||||
mtspr SPRN_PID, r3
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
/* we cheat and know that Linux doesn't use PID1 which is always 0 */
|
||||
lis r3, 0
|
||||
mtspr SPRN_PID1, r3
|
||||
@ -406,7 +406,7 @@ lightweight_exit:
|
||||
lwz r3, VCPU_SHADOW_PID(r4)
|
||||
mtspr SPRN_PID, r3
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
lwz r3, VCPU_SHADOW_PID1(r4)
|
||||
mtspr SPRN_PID1, r3
|
||||
#endif
|
||||
|
@ -85,12 +85,12 @@ void __init MMU_init(void)
|
||||
total_lowmem = total_memory = memblock_end_of_DRAM() - memstart_addr;
|
||||
lowmem_end_addr = memstart_addr + total_lowmem;
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
/* Freescale Book-E parts expect lowmem to be mapped by fixed TLB
|
||||
* entries, so we need to adjust lowmem to match the amount we can map
|
||||
* in the fixed entries */
|
||||
adjust_total_lowmem();
|
||||
#endif /* CONFIG_FSL_BOOKE */
|
||||
#endif /* CONFIG_PPC_85xx */
|
||||
|
||||
if (total_lowmem > __max_low_memory) {
|
||||
total_lowmem = __max_low_memory;
|
||||
|
@ -146,9 +146,9 @@ struct tlbcam {
|
||||
extern struct tlbcam TLBCAM[NUM_TLBCAMS];
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PPC_BOOK3S_32) || defined(CONFIG_FSL_BOOKE) || defined(CONFIG_PPC_8xx)
|
||||
#if defined(CONFIG_PPC_BOOK3S_32) || defined(CONFIG_PPC_85xx) || defined(CONFIG_PPC_8xx)
|
||||
/* 6xx have BATS */
|
||||
/* FSL_BOOKE have TLBCAM */
|
||||
/* PPC_85xx have TLBCAM */
|
||||
/* 8xx have LTLB */
|
||||
phys_addr_t v_block_mapped(unsigned long va);
|
||||
unsigned long p_block_mapped(phys_addr_t pa);
|
||||
|
@ -59,7 +59,7 @@ static struct {
|
||||
phys_addr_t phys;
|
||||
} tlbcam_addrs[NUM_TLBCAMS];
|
||||
|
||||
#ifdef CONFIG_FSL_BOOKE
|
||||
#ifdef CONFIG_PPC_85xx
|
||||
/*
|
||||
* Return PA for this VA if it is mapped by a CAM, or 0
|
||||
*/
|
||||
|
@ -130,7 +130,7 @@ struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT] = {
|
||||
.enc = BOOK3E_PAGESZ_1GB,
|
||||
},
|
||||
};
|
||||
#endif /* CONFIG_FSL_BOOKE */
|
||||
#endif /* CONFIG_PPC_85xx */
|
||||
|
||||
static inline int mmu_get_tsize(int psize)
|
||||
{
|
||||
|
@ -221,7 +221,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_476_DD2)
|
||||
blr
|
||||
#endif /* CONFIG_PPC_47x */
|
||||
|
||||
#elif defined(CONFIG_FSL_BOOKE)
|
||||
#elif defined(CONFIG_PPC_85xx)
|
||||
/*
|
||||
* FSL BookE implementations.
|
||||
*
|
||||
|
@ -324,11 +324,6 @@ config BOOKE_OR_40x
|
||||
depends on BOOKE || 40x
|
||||
default y
|
||||
|
||||
config FSL_BOOKE
|
||||
bool
|
||||
depends on E500 && PPC32
|
||||
default y
|
||||
|
||||
# this is for common code between PPC32 & PPC64 FSL BOOKE
|
||||
config PPC_FSL_BOOK3E
|
||||
bool
|
||||
@ -337,7 +332,7 @@ config PPC_FSL_BOOK3E
|
||||
select PPC_SMP_MUXED_IPI
|
||||
select PPC_DOORBELL
|
||||
select PPC_KUEP
|
||||
default y if FSL_BOOKE
|
||||
default y if PPC_85xx
|
||||
|
||||
config PTE_64BIT
|
||||
bool
|
||||
@ -485,7 +480,7 @@ config PPC_MMU_NOHASH
|
||||
|
||||
config PPC_BOOK3E_MMU
|
||||
def_bool y
|
||||
depends on FSL_BOOKE || PPC_BOOK3E
|
||||
depends on PPC_85xx || PPC_BOOK3E
|
||||
|
||||
config PPC_HAVE_PMU_SUPPORT
|
||||
bool
|
||||
@ -508,7 +503,7 @@ config FORCE_SMP
|
||||
select SMP
|
||||
|
||||
config SMP
|
||||
depends on PPC_BOOK3S || PPC_BOOK3E || FSL_BOOKE || PPC_47x
|
||||
depends on PPC_BOOK3S || PPC_BOOK3E || PPC_85xx || PPC_47x
|
||||
select GENERIC_IRQ_MIGRATION
|
||||
bool "Symmetric multi-processing support" if !FORCE_SMP
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user