Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (78 commits) [PATCH] powerpc: Add FSL SEC node to documentation [PATCH] macintosh: tidy-up driver_register() return values [PATCH] powerpc: tidy-up of_register_driver()/driver_register() return values [PATCH] powerpc: via-pmu warning fix [PATCH] macintosh: cleanup the use of i2c headers [PATCH] powerpc: dont allow old RTC to be selected [PATCH] powerpc: make powerbook_sleep_grackle static [PATCH] powerpc: Fix warning in add_memory [PATCH] powerpc: update mailing list addresses [PATCH] powerpc: Remove calculation of io hole [PATCH] powerpc: iseries: Add bootargs to /chosen [PATCH] powerpc: iseries: Add /system-id, /model and /compatible [PATCH] powerpc: Add strne2a() to convert a string from EBCDIC to ASCII [PATCH] powerpc: iseries: Make more stuff static in platforms/iseries/mf.c [PATCH] powerpc: iseries: Remove pointless iSeries_(restart|power_off|halt) [PATCH] powerpc: iseries: mf related cleanups [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature [PATCH] powerpc: trivial: Cleanup whitespace in cputable.h [PATCH] powerpc: Remove unused iommu_off logic from pSeries_init_early() [PATCH] powerpc: Unconfuse htab_bolt_mapping() callers ...
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/4xx_io/serial_sicc.c
|
||||
*
|
||||
* Driver for IBM STB3xxx SICC serial port
|
||||
*
|
||||
* Based on drivers/char/serial_amba.c, by ARM Ltd.
|
||||
@@ -1639,9 +1637,8 @@ static struct SICC_info *siccuart_get(int line)
|
||||
state->count++;
|
||||
if (state->info)
|
||||
return state->info;
|
||||
info = kmalloc(sizeof(struct SICC_info), GFP_KERNEL);
|
||||
info = kzalloc(sizeof(struct SICC_info), GFP_KERNEL);
|
||||
if (info) {
|
||||
memset(info, 0, sizeof(struct SICC_info));
|
||||
init_waitqueue_head(&info->open_wait);
|
||||
init_waitqueue_head(&info->close_wait);
|
||||
init_waitqueue_head(&info->delta_msr_wait);
|
||||
|
@@ -73,7 +73,7 @@ cpm_mask_irq(unsigned int irq)
|
||||
{
|
||||
int cpm_vec = irq - CPM_IRQ_OFFSET;
|
||||
|
||||
out_be32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cimr, in_be32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cimr) & ~(1 << cpm_vec));
|
||||
clrbits32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cimr, (1 << cpm_vec));
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -81,7 +81,7 @@ cpm_unmask_irq(unsigned int irq)
|
||||
{
|
||||
int cpm_vec = irq - CPM_IRQ_OFFSET;
|
||||
|
||||
out_be32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cimr, in_be32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cimr) | (1 << cpm_vec));
|
||||
setbits32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cimr, (1 << cpm_vec));
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -198,7 +198,7 @@ cpm_interrupt_init(void)
|
||||
if (setup_irq(CPM_IRQ_OFFSET + CPMVEC_ERROR, &cpm_error_irqaction))
|
||||
panic("Could not allocate CPM error IRQ!");
|
||||
|
||||
out_be32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cicr, in_be32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cicr) | CICR_IEN);
|
||||
setbits32(&((immap_t *)IMAP_ADDR)->im_cpic.cpic_cicr, CICR_IEN);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -481,6 +481,53 @@ config WINCEPT
|
||||
|
||||
endchoice
|
||||
|
||||
menu "Freescale Ethernet driver platform-specific options"
|
||||
depends on FS_ENET
|
||||
|
||||
config MPC8xx_SECOND_ETH
|
||||
bool "Second Ethernet channel"
|
||||
depends on (MPC885ADS || MPC86XADS)
|
||||
default y
|
||||
help
|
||||
This enables support for second Ethernet on MPC885ADS and MPC86xADS boards.
|
||||
The latter will use SCC1, for 885ADS you can select it below.
|
||||
|
||||
choice
|
||||
prompt "Second Ethernet channel"
|
||||
depends on MPC8xx_SECOND_ETH
|
||||
default MPC8xx_SECOND_ETH_FEC2
|
||||
|
||||
config MPC8xx_SECOND_ETH_FEC2
|
||||
bool "FEC2"
|
||||
depends on MPC885ADS
|
||||
help
|
||||
Enable FEC2 to serve as 2-nd Ethernet channel. Note that SMC2
|
||||
(often 2-nd UART) will not work if this is enabled.
|
||||
|
||||
config MPC8xx_SECOND_ETH_SCC1
|
||||
bool "SCC1"
|
||||
depends on MPC86XADS
|
||||
select MPC8xx_SCC_ENET_FIXED
|
||||
help
|
||||
Enable SCC1 to serve as 2-nd Ethernet channel. Note that SMC1
|
||||
(often 1-nd UART) will not work if this is enabled.
|
||||
|
||||
config MPC8xx_SECOND_ETH_SCC3
|
||||
bool "SCC3"
|
||||
depends on MPC885ADS
|
||||
help
|
||||
Enable SCC3 to serve as 2-nd Ethernet channel. Note that SMC1
|
||||
(often 1-nd UART) will not work if this is enabled.
|
||||
|
||||
endchoice
|
||||
|
||||
config MPC8xx_SCC_ENET_FIXED
|
||||
depends on MPC8xx_SECOND_ETH_SCC
|
||||
default n
|
||||
bool "Use fixed MII-less mode for SCC Ethernet"
|
||||
|
||||
endmenu
|
||||
|
||||
choice
|
||||
prompt "Machine Type"
|
||||
depends on 6xx || POWER3
|
||||
|
@@ -67,7 +67,7 @@ config SERIAL_TEXT_DEBUG
|
||||
|
||||
config PPC_OCP
|
||||
bool
|
||||
depends on IBM_OCP || XILINX_OCP
|
||||
depends on IBM_OCP
|
||||
default y
|
||||
|
||||
endmenu
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* arch/ppc/amiga/amiints.c -- Amiga Linux interrupt handling code
|
||||
* Amiga Linux interrupt handling code
|
||||
*
|
||||
* This file is subject to the terms and conditions of the GNU General Public
|
||||
* License. See the file COPYING in the main directory of this archive
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/amiga/bootinfo.c
|
||||
*
|
||||
* Extracted from arch/m68k/kernel/setup.c.
|
||||
* Should be properly generalized and put somewhere else.
|
||||
* Jesper
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/amiga/cia.c - CIA support
|
||||
*
|
||||
* Copyright (C) 1996 Roman Zippel
|
||||
*
|
||||
* The concept of some functions bases on the original Amiga OS function
|
||||
|
@@ -1,8 +1,6 @@
|
||||
#define m68k_debug_device debug_device
|
||||
|
||||
/*
|
||||
* arch/ppc/amiga/config.c
|
||||
*
|
||||
* Copyright (C) 1993 Hamish Macdonald
|
||||
*
|
||||
* This file is subject to the terms and conditions of the GNU General Public
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/amiga/ints.c
|
||||
*
|
||||
* Linux/m68k general interrupt handling code from arch/m68k/kernel/ints.c
|
||||
* Needed to drive the m68k emulating IRQ hardware on the PowerUp boards.
|
||||
*/
|
||||
|
@@ -1,6 +1,3 @@
|
||||
#
|
||||
# arch/ppc/boot/Makefile
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU General Public
|
||||
# License. See the file "COPYING" in the main directory of this archive
|
||||
# for more details.
|
||||
|
@@ -1,6 +1,3 @@
|
||||
#
|
||||
# arch/ppc/boot/common/Makefile
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU General Public
|
||||
# License. See the file "COPYING" in the main directory of this archive
|
||||
# for more details.
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/common/bootinfo.c
|
||||
*
|
||||
* General bootinfo record utilities
|
||||
* Author: Randy Vinson <rvinson@mvista.com>
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/common/misc-common.c
|
||||
*
|
||||
* Misc. bootloader code (almost) all platforms can use
|
||||
*
|
||||
* Author: Johnnie Peters <jpeters@mvista.com>
|
||||
|
@@ -8,6 +8,9 @@
|
||||
#include <linux/serial_reg.h>
|
||||
#include <asm/serial.h>
|
||||
|
||||
#if defined(CONFIG_XILINX_VIRTEX)
|
||||
#include <platforms/4xx/xparameters/xparameters.h>
|
||||
#endif
|
||||
#include "nonstdio.h"
|
||||
#include "serial.h"
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/common/serial_stub.c
|
||||
*
|
||||
* This is a few stub routines to make the boot code cleaner looking when
|
||||
* there is no serial port support doesn't need to be closed, for example.
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/common/util.S
|
||||
*
|
||||
* Useful bootup functions, which are more easily done in asm than C.
|
||||
*
|
||||
* NOTE: Be very very careful about the registers you use here.
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/include/mpc10.h
|
||||
*
|
||||
* Common defines for the Motorola SPS MPC106/8240/107 Host bridge/Mem
|
||||
* ctrl/EPIC/etc.
|
||||
*
|
||||
|
@@ -192,6 +192,7 @@ boot-$(CONFIG_8xx) += embed_config.o
|
||||
boot-$(CONFIG_8260) += embed_config.o
|
||||
boot-$(CONFIG_EP405) += embed_config.o
|
||||
boot-$(CONFIG_XILINX_ML300) += embed_config.o
|
||||
boot-$(CONFIG_XILINX_ML403) += embed_config.o
|
||||
boot-$(CONFIG_BSEIP) += iic.o
|
||||
boot-$(CONFIG_MBX) += iic.o pci.o qspan_pci.o
|
||||
boot-$(CONFIG_MV64X60) += misc-mv64x60.o
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/common/cpc700_memory.c
|
||||
*
|
||||
* Find memory based upon settings in the CPC700 bridge
|
||||
*
|
||||
* Author: Dan Cox
|
||||
|
@@ -21,6 +21,9 @@
|
||||
#ifdef CONFIG_40x
|
||||
#include <asm/io.h>
|
||||
#endif
|
||||
#ifdef CONFIG_XILINX_VIRTEX
|
||||
#include <platforms/4xx/xparameters/xparameters.h>
|
||||
#endif
|
||||
extern unsigned long timebase_period_ns;
|
||||
|
||||
/* For those boards that don't provide one.
|
||||
@@ -742,7 +745,7 @@ embed_config(bd_t **bdp)
|
||||
}
|
||||
#endif /* WILLOW */
|
||||
|
||||
#ifdef CONFIG_XILINX_ML300
|
||||
#if defined(CONFIG_XILINX_ML300) || defined(CONFIG_XILINX_ML403)
|
||||
void
|
||||
embed_config(bd_t ** bdp)
|
||||
{
|
||||
@@ -779,7 +782,7 @@ embed_config(bd_t ** bdp)
|
||||
timebase_period_ns = 1000000000 / bd->bi_tbfreq;
|
||||
/* see bi_tbfreq definition in arch/ppc/platforms/4xx/xilinx_ml300.h */
|
||||
}
|
||||
#endif /* CONFIG_XILINX_ML300 */
|
||||
#endif /* CONFIG_XILINX_ML300 || CONFIG_XILINX_ML403 */
|
||||
|
||||
#ifdef CONFIG_IBM_OPENBIOS
|
||||
/* This could possibly work for all treeboot roms.
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/head.S
|
||||
*
|
||||
* Initial board bringup code for many different boards.
|
||||
*
|
||||
* Author: Tom Rini
|
||||
@@ -65,6 +63,13 @@ start_:
|
||||
*/
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_XILINX_VIRTEX_4_FX)
|
||||
/* PPC errata 213: only for Virtex-4 FX */
|
||||
mfccr0 0
|
||||
oris 0,0,0x50000000@h
|
||||
mtccr0 0
|
||||
#endif
|
||||
|
||||
mflr r3 /* Save our actual starting address. */
|
||||
|
||||
/* The following functions we call must not modify r3 or r4.....
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-chestnut.c
|
||||
*
|
||||
* Setup for the IBM Chestnut (ibm-750fxgx_eval)
|
||||
*
|
||||
* Author: Mark A. Greer <mgreer@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-cpci690.c
|
||||
*
|
||||
* Add birec data for Force CPCI690 board.
|
||||
*
|
||||
* Author: Mark A. Greer <source@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-ev64260.c
|
||||
*
|
||||
* Host bridge init code for the Marvell/Galileo EV-64260-BP evaluation board
|
||||
* with a GT64260 onboard.
|
||||
*
|
||||
|
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-ev64360.c
|
||||
* Copyright (C) 2005 Lee Nicks <allinux@gmail.com>
|
||||
*
|
||||
* Based on arch/ppc/boot/simple/misc-katana.c from:
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-katana.c
|
||||
*
|
||||
* Set up MPSC values to bootwrapper can prompt user.
|
||||
*
|
||||
* Author: Mark A. Greer <source@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-mv64x60.c
|
||||
*
|
||||
* Relocate bridge's register base and call board specific routine.
|
||||
*
|
||||
* Author: Mark A. Greer <source@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-prep.c
|
||||
*
|
||||
* Maintainer: Tom Rini <trini@kernel.crashing.org>
|
||||
*
|
||||
* In the past: Gary Thomas, Cort Dougan <cort@cs.nmt.edu>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/misc-radstone_ppc7d.c
|
||||
*
|
||||
* Misc data for Radstone PPC7D board.
|
||||
*
|
||||
* Author: James Chapman <jchapman@katalix.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/spruce/misc.c
|
||||
*
|
||||
* Misc. bootloader code for IBM Spruce reference platform
|
||||
*
|
||||
* Authors: Johnnie Peters <jpeters@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/simple/misc.c
|
||||
*
|
||||
* Misc. bootloader code for many machines. This assumes you have are using
|
||||
* a 6xx/7xx/74xx CPU in your machine. This assumes the chunk of memory
|
||||
* below 8MB is free. Finally, it assumes you have a NS16550-style uart for
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/common/mpc10x_common.c
|
||||
*
|
||||
* A routine to find out how much memory the machine has.
|
||||
*
|
||||
* Based on:
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/mpc52xx_tty.c
|
||||
*
|
||||
* Minimal serial functions needed to send messages out a MPC52xx
|
||||
* Programmable Serial Controller (PSC).
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/mv64x60_tty.c
|
||||
*
|
||||
* Bootloader version of the embedded MPSC/UART driver for the Marvell 64x60.
|
||||
* Note: Due to a GT64260A erratum, DMA will be used for UART input (via SDMA).
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/openbios.c
|
||||
*
|
||||
* Copyright (c) 2005 DENX Software Engineering
|
||||
* Stefan Roese <sr@denx.de>
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/simple/relocate.S
|
||||
*
|
||||
* This is the common part of the loader relocation and initialization
|
||||
* process. All of the board/processor specific initialization is
|
||||
* done before we get here.
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/boot/utils/mkbugboot.c
|
||||
*
|
||||
* Makes a Motorola PPCBUG ROM bootable image which can be flashed
|
||||
* into one of the FLASH banks on a Motorola PowerPlus board.
|
||||
*
|
||||
|
739
arch/ppc/configs/ml300_defconfig
Normal file
739
arch/ppc/configs/ml300_defconfig
Normal file
@@ -0,0 +1,739 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux kernel version: 2.6.16-rc1
|
||||
# Wed Jan 18 00:49:20 2006
|
||||
#
|
||||
CONFIG_MMU=y
|
||||
CONFIG_GENERIC_HARDIRQS=y
|
||||
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
|
||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||
CONFIG_PPC=y
|
||||
CONFIG_PPC32=y
|
||||
CONFIG_GENERIC_NVRAM=y
|
||||
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
|
||||
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
|
||||
|
||||
#
|
||||
# Code maturity level options
|
||||
#
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_CLEAN_COMPILE=y
|
||||
CONFIG_BROKEN_ON_SMP=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
|
||||
#
|
||||
# General setup
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
# CONFIG_POSIX_MQUEUE is not set
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_SYSCTL=y
|
||||
# CONFIG_AUDIT is not set
|
||||
# CONFIG_IKCONFIG is not set
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
# CONFIG_EMBEDDED is not set
|
||||
CONFIG_KALLSYMS=y
|
||||
# CONFIG_KALLSYMS_ALL is not set
|
||||
# CONFIG_KALLSYMS_EXTRA_PASS is not set
|
||||
CONFIG_HOTPLUG=y
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_BUG=y
|
||||
CONFIG_ELF_CORE=y
|
||||
CONFIG_BASE_FULL=y
|
||||
CONFIG_FUTEX=y
|
||||
CONFIG_EPOLL=y
|
||||
CONFIG_SHMEM=y
|
||||
CONFIG_CC_ALIGN_FUNCTIONS=0
|
||||
CONFIG_CC_ALIGN_LABELS=0
|
||||
CONFIG_CC_ALIGN_LOOPS=0
|
||||
CONFIG_CC_ALIGN_JUMPS=0
|
||||
CONFIG_SLAB=y
|
||||
# CONFIG_TINY_SHMEM is not set
|
||||
CONFIG_BASE_SMALL=0
|
||||
# CONFIG_SLOB is not set
|
||||
|
||||
#
|
||||
# Loadable module support
|
||||
#
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_OBSOLETE_MODPARM=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
CONFIG_KMOD=y
|
||||
|
||||
#
|
||||
# Block layer
|
||||
#
|
||||
CONFIG_LBD=y
|
||||
|
||||
#
|
||||
# IO Schedulers
|
||||
#
|
||||
CONFIG_IOSCHED_NOOP=y
|
||||
CONFIG_IOSCHED_AS=y
|
||||
CONFIG_IOSCHED_DEADLINE=y
|
||||
CONFIG_IOSCHED_CFQ=y
|
||||
CONFIG_DEFAULT_AS=y
|
||||
# CONFIG_DEFAULT_DEADLINE is not set
|
||||
# CONFIG_DEFAULT_CFQ is not set
|
||||
# CONFIG_DEFAULT_NOOP is not set
|
||||
CONFIG_DEFAULT_IOSCHED="anticipatory"
|
||||
|
||||
#
|
||||
# Processor
|
||||
#
|
||||
# CONFIG_6xx is not set
|
||||
CONFIG_40x=y
|
||||
# CONFIG_44x is not set
|
||||
# CONFIG_POWER3 is not set
|
||||
# CONFIG_8xx is not set
|
||||
# CONFIG_E200 is not set
|
||||
# CONFIG_E500 is not set
|
||||
# CONFIG_MATH_EMULATION is not set
|
||||
# CONFIG_KEXEC is not set
|
||||
# CONFIG_CPU_FREQ is not set
|
||||
CONFIG_4xx=y
|
||||
# CONFIG_WANT_EARLY_SERIAL is not set
|
||||
|
||||
#
|
||||
# IBM 4xx options
|
||||
#
|
||||
# CONFIG_BUBINGA is not set
|
||||
# CONFIG_CPCI405 is not set
|
||||
# CONFIG_EP405 is not set
|
||||
# CONFIG_REDWOOD_5 is not set
|
||||
# CONFIG_REDWOOD_6 is not set
|
||||
# CONFIG_SYCAMORE is not set
|
||||
# CONFIG_WALNUT is not set
|
||||
CONFIG_XILINX_ML300=y
|
||||
CONFIG_IBM405_ERR77=y
|
||||
CONFIG_IBM405_ERR51=y
|
||||
CONFIG_XILINX_VIRTEX=y
|
||||
CONFIG_EMBEDDEDBOOT=y
|
||||
# CONFIG_PPC4xx_DMA is not set
|
||||
CONFIG_PPC_GEN550=y
|
||||
CONFIG_UART0_TTYS0=y
|
||||
# CONFIG_UART0_TTYS1 is not set
|
||||
CONFIG_NOT_COHERENT_CACHE=y
|
||||
|
||||
#
|
||||
# Platform options
|
||||
#
|
||||
# CONFIG_PC_KEYBOARD is not set
|
||||
# CONFIG_HIGHMEM is not set
|
||||
# CONFIG_HZ_100 is not set
|
||||
CONFIG_HZ_250=y
|
||||
# CONFIG_HZ_1000 is not set
|
||||
CONFIG_HZ=250
|
||||
CONFIG_PREEMPT_NONE=y
|
||||
# CONFIG_PREEMPT_VOLUNTARY is not set
|
||||
# CONFIG_PREEMPT is not set
|
||||
CONFIG_SELECT_MEMORY_MODEL=y
|
||||
CONFIG_FLATMEM_MANUAL=y
|
||||
# CONFIG_DISCONTIGMEM_MANUAL is not set
|
||||
# CONFIG_SPARSEMEM_MANUAL is not set
|
||||
CONFIG_FLATMEM=y
|
||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||
# CONFIG_SPARSEMEM_STATIC is not set
|
||||
CONFIG_SPLIT_PTLOCK_CPUS=4
|
||||
CONFIG_BINFMT_ELF=y
|
||||
# CONFIG_BINFMT_MISC is not set
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="console=ttyS0,9600"
|
||||
# CONFIG_PM is not set
|
||||
# CONFIG_SOFTWARE_SUSPEND is not set
|
||||
CONFIG_SECCOMP=y
|
||||
CONFIG_ISA_DMA_API=y
|
||||
|
||||
#
|
||||
# Bus options
|
||||
#
|
||||
# CONFIG_PPC_I8259 is not set
|
||||
# CONFIG_PCI is not set
|
||||
# CONFIG_PCI_DOMAINS is not set
|
||||
|
||||
#
|
||||
# PCCARD (PCMCIA/CardBus) support
|
||||
#
|
||||
# CONFIG_PCCARD is not set
|
||||
|
||||
#
|
||||
# Advanced setup
|
||||
#
|
||||
# CONFIG_ADVANCED_OPTIONS is not set
|
||||
|
||||
#
|
||||
# Default settings for advanced configuration options are used
|
||||
#
|
||||
CONFIG_HIGHMEM_START=0xfe000000
|
||||
CONFIG_LOWMEM_SIZE=0x30000000
|
||||
CONFIG_KERNEL_START=0xc0000000
|
||||
CONFIG_TASK_SIZE=0x80000000
|
||||
CONFIG_CONSISTENT_START=0xff100000
|
||||
CONFIG_CONSISTENT_SIZE=0x00200000
|
||||
CONFIG_BOOT_LOAD=0x00400000
|
||||
|
||||
#
|
||||
# Networking
|
||||
#
|
||||
CONFIG_NET=y
|
||||
|
||||
#
|
||||
# Networking options
|
||||
#
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_PACKET_MMAP=y
|
||||
CONFIG_UNIX=y
|
||||
# CONFIG_NET_KEY is not set
|
||||
CONFIG_INET=y
|
||||
# CONFIG_IP_MULTICAST is not set
|
||||
# CONFIG_IP_ADVANCED_ROUTER is not set
|
||||
CONFIG_IP_FIB_HASH=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
# CONFIG_IP_PNP_BOOTP is not set
|
||||
# CONFIG_IP_PNP_RARP is not set
|
||||
# CONFIG_NET_IPIP is not set
|
||||
# CONFIG_NET_IPGRE is not set
|
||||
# CONFIG_ARPD is not set
|
||||
# CONFIG_SYN_COOKIES is not set
|
||||
# CONFIG_INET_AH is not set
|
||||
# CONFIG_INET_ESP is not set
|
||||
# CONFIG_INET_IPCOMP is not set
|
||||
# CONFIG_INET_TUNNEL is not set
|
||||
CONFIG_INET_DIAG=y
|
||||
CONFIG_INET_TCP_DIAG=y
|
||||
# CONFIG_TCP_CONG_ADVANCED is not set
|
||||
CONFIG_TCP_CONG_BIC=y
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_NETFILTER is not set
|
||||
|
||||
#
|
||||
# DCCP Configuration (EXPERIMENTAL)
|
||||
#
|
||||
# CONFIG_IP_DCCP is not set
|
||||
|
||||
#
|
||||
# SCTP Configuration (EXPERIMENTAL)
|
||||
#
|
||||
# CONFIG_IP_SCTP is not set
|
||||
# CONFIG_ATM is not set
|
||||
# CONFIG_BRIDGE is not set
|
||||
# CONFIG_VLAN_8021Q is not set
|
||||
# CONFIG_DECNET is not set
|
||||
# CONFIG_LLC2 is not set
|
||||
# CONFIG_IPX is not set
|
||||
# CONFIG_ATALK is not set
|
||||
# CONFIG_X25 is not set
|
||||
# CONFIG_LAPB is not set
|
||||
|
||||
#
|
||||
# TIPC Configuration (EXPERIMENTAL)
|
||||
#
|
||||
# CONFIG_TIPC is not set
|
||||
# CONFIG_NET_DIVERT is not set
|
||||
# CONFIG_ECONET is not set
|
||||
# CONFIG_WAN_ROUTER is not set
|
||||
|
||||
#
|
||||
# QoS and/or fair queueing
|
||||
#
|
||||
# CONFIG_NET_SCHED is not set
|
||||
|
||||
#
|
||||
# Network testing
|
||||
#
|
||||
# CONFIG_NET_PKTGEN is not set
|
||||
# CONFIG_HAMRADIO is not set
|
||||
# CONFIG_IRDA is not set
|
||||
# CONFIG_BT is not set
|
||||
# CONFIG_IEEE80211 is not set
|
||||
|
||||
#
|
||||
# Device Drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Generic Driver Options
|
||||
#
|
||||
CONFIG_STANDALONE=y
|
||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||
# CONFIG_FW_LOADER is not set
|
||||
# CONFIG_DEBUG_DRIVER is not set
|
||||
|
||||
#
|
||||
# Connector - unified userspace <-> kernelspace linker
|
||||
#
|
||||
# CONFIG_CONNECTOR is not set
|
||||
|
||||
#
|
||||
# Memory Technology Devices (MTD)
|
||||
#
|
||||
# CONFIG_MTD is not set
|
||||
|
||||
#
|
||||
# Parallel port support
|
||||
#
|
||||
# CONFIG_PARPORT is not set
|
||||
|
||||
#
|
||||
# Plug and Play support
|
||||
#
|
||||
|
||||
#
|
||||
# Block devices
|
||||
#
|
||||
# CONFIG_BLK_DEV_FD is not set
|
||||
# CONFIG_BLK_DEV_COW_COMMON is not set
|
||||
# CONFIG_BLK_DEV_LOOP is not set
|
||||
# CONFIG_BLK_DEV_NBD is not set
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||
CONFIG_BLK_DEV_RAM_SIZE=65536
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
# CONFIG_CDROM_PKTCDVD is not set
|
||||
# CONFIG_ATA_OVER_ETH is not set
|
||||
|
||||
#
|
||||
# ATA/ATAPI/MFM/RLL support
|
||||
#
|
||||
# CONFIG_IDE is not set
|
||||
|
||||
#
|
||||
# SCSI device support
|
||||
#
|
||||
# CONFIG_RAID_ATTRS is not set
|
||||
# CONFIG_SCSI is not set
|
||||
|
||||
#
|
||||
# Multi-device support (RAID and LVM)
|
||||
#
|
||||
# CONFIG_MD is not set
|
||||
|
||||
#
|
||||
# Fusion MPT device support
|
||||
#
|
||||
# CONFIG_FUSION is not set
|
||||
|
||||
#
|
||||
# IEEE 1394 (FireWire) support
|
||||
#
|
||||
|
||||
#
|
||||
# I2O device support
|
||||
#
|
||||
|
||||
#
|
||||
# Macintosh device drivers
|
||||
#
|
||||
# CONFIG_WINDFARM is not set
|
||||
|
||||
#
|
||||
# Network device support
|
||||
#
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_DUMMY is not set
|
||||
# CONFIG_BONDING is not set
|
||||
# CONFIG_EQUALIZER is not set
|
||||
CONFIG_TUN=y
|
||||
|
||||
#
|
||||
# PHY device support
|
||||
#
|
||||
|
||||
#
|
||||
# Ethernet (10 or 100Mbit)
|
||||
#
|
||||
# CONFIG_NET_ETHERNET is not set
|
||||
# CONFIG_IBM_EMAC is not set
|
||||
|
||||
#
|
||||
# Ethernet (1000 Mbit)
|
||||
#
|
||||
|
||||
#
|
||||
# Ethernet (10000 Mbit)
|
||||
#
|
||||
|
||||
#
|
||||
# Token Ring devices
|
||||
#
|
||||
|
||||
#
|
||||
# Wireless LAN (non-hamradio)
|
||||
#
|
||||
# CONFIG_NET_RADIO is not set
|
||||
|
||||
#
|
||||
# Wan interfaces
|
||||
#
|
||||
# CONFIG_WAN is not set
|
||||
# CONFIG_PPP is not set
|
||||
# CONFIG_SLIP is not set
|
||||
# CONFIG_SHAPER is not set
|
||||
# CONFIG_NETCONSOLE is not set
|
||||
# CONFIG_NETPOLL is not set
|
||||
# CONFIG_NET_POLL_CONTROLLER is not set
|
||||
|
||||
#
|
||||
# ISDN subsystem
|
||||
#
|
||||
# CONFIG_ISDN is not set
|
||||
|
||||
#
|
||||
# Telephony Support
|
||||
#
|
||||
# CONFIG_PHONE is not set
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
CONFIG_INPUT=y
|
||||
|
||||
#
|
||||
# Userland interfaces
|
||||
#
|
||||
CONFIG_INPUT_MOUSEDEV=y
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
|
||||
# CONFIG_INPUT_JOYDEV is not set
|
||||
# CONFIG_INPUT_TSDEV is not set
|
||||
# CONFIG_INPUT_EVDEV is not set
|
||||
# CONFIG_INPUT_EVBUG is not set
|
||||
|
||||
#
|
||||
# Input Device Drivers
|
||||
#
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_INPUT_JOYSTICK is not set
|
||||
# CONFIG_INPUT_TOUCHSCREEN is not set
|
||||
# CONFIG_INPUT_MISC is not set
|
||||
|
||||
#
|
||||
# Hardware I/O ports
|
||||
#
|
||||
# CONFIG_SERIO is not set
|
||||
# CONFIG_GAMEPORT is not set
|
||||
|
||||
#
|
||||
# Character devices
|
||||
#
|
||||
CONFIG_VT=y
|
||||
CONFIG_VT_CONSOLE=y
|
||||
CONFIG_HW_CONSOLE=y
|
||||
# CONFIG_SERIAL_NONSTANDARD is not set
|
||||
|
||||
#
|
||||
# Serial drivers
|
||||
#
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=4
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
|
||||
# CONFIG_SERIAL_8250_EXTENDED is not set
|
||||
|
||||
#
|
||||
# Non-8250 serial port support
|
||||
#
|
||||
CONFIG_SERIAL_CORE=y
|
||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||
CONFIG_UNIX98_PTYS=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
|
||||
#
|
||||
# IPMI
|
||||
#
|
||||
# CONFIG_IPMI_HANDLER is not set
|
||||
|
||||
#
|
||||
# Watchdog Cards
|
||||
#
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_NVRAM is not set
|
||||
# CONFIG_GEN_RTC is not set
|
||||
# CONFIG_DTLK is not set
|
||||
# CONFIG_R3964 is not set
|
||||
|
||||
#
|
||||
# Ftape, the floppy tape device driver
|
||||
#
|
||||
# CONFIG_AGP is not set
|
||||
# CONFIG_RAW_DRIVER is not set
|
||||
|
||||
#
|
||||
# TPM devices
|
||||
#
|
||||
# CONFIG_TCG_TPM is not set
|
||||
# CONFIG_TELCLOCK is not set
|
||||
|
||||
#
|
||||
# I2C support
|
||||
#
|
||||
# CONFIG_I2C is not set
|
||||
|
||||
#
|
||||
# SPI support
|
||||
#
|
||||
# CONFIG_SPI is not set
|
||||
# CONFIG_SPI_MASTER is not set
|
||||
|
||||
#
|
||||
# Dallas's 1-wire bus
|
||||
#
|
||||
# CONFIG_W1 is not set
|
||||
|
||||
#
|
||||
# Hardware Monitoring support
|
||||
#
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_HWMON_VID is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
#
|
||||
|
||||
#
|
||||
# Multimedia Capabilities Port drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Multimedia devices
|
||||
#
|
||||
# CONFIG_VIDEO_DEV is not set
|
||||
|
||||
#
|
||||
# Digital Video Broadcasting Devices
|
||||
#
|
||||
# CONFIG_DVB is not set
|
||||
|
||||
#
|
||||
# Graphics support
|
||||
#
|
||||
# CONFIG_FB is not set
|
||||
|
||||
#
|
||||
# Console display driver support
|
||||
#
|
||||
CONFIG_DUMMY_CONSOLE=y
|
||||
|
||||
#
|
||||
# Sound
|
||||
#
|
||||
# CONFIG_SOUND is not set
|
||||
|
||||
#
|
||||
# USB support
|
||||
#
|
||||
# CONFIG_USB_ARCH_HAS_HCD is not set
|
||||
# CONFIG_USB_ARCH_HAS_OHCI is not set
|
||||
|
||||
#
|
||||
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
|
||||
#
|
||||
|
||||
#
|
||||
# USB Gadget Support
|
||||
#
|
||||
# CONFIG_USB_GADGET is not set
|
||||
|
||||
#
|
||||
# MMC/SD Card support
|
||||
#
|
||||
# CONFIG_MMC is not set
|
||||
|
||||
#
|
||||
# InfiniBand support
|
||||
#
|
||||
|
||||
#
|
||||
# SN Devices
|
||||
#
|
||||
|
||||
#
|
||||
# File systems
|
||||
#
|
||||
CONFIG_EXT2_FS=y
|
||||
# CONFIG_EXT2_FS_XATTR is not set
|
||||
# CONFIG_EXT2_FS_XIP is not set
|
||||
# CONFIG_EXT3_FS is not set
|
||||
# CONFIG_REISERFS_FS is not set
|
||||
# CONFIG_JFS_FS is not set
|
||||
# CONFIG_FS_POSIX_ACL is not set
|
||||
# CONFIG_XFS_FS is not set
|
||||
# CONFIG_OCFS2_FS is not set
|
||||
# CONFIG_MINIX_FS is not set
|
||||
# CONFIG_ROMFS_FS is not set
|
||||
CONFIG_INOTIFY=y
|
||||
# CONFIG_QUOTA is not set
|
||||
CONFIG_DNOTIFY=y
|
||||
# CONFIG_AUTOFS_FS is not set
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
# CONFIG_FUSE_FS is not set
|
||||
|
||||
#
|
||||
# CD-ROM/DVD Filesystems
|
||||
#
|
||||
# CONFIG_ISO9660_FS is not set
|
||||
# CONFIG_UDF_FS is not set
|
||||
|
||||
#
|
||||
# DOS/FAT/NT Filesystems
|
||||
#
|
||||
CONFIG_FAT_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_FAT_DEFAULT_CODEPAGE=437
|
||||
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
|
||||
# CONFIG_NTFS_FS is not set
|
||||
|
||||
#
|
||||
# Pseudo filesystems
|
||||
#
|
||||
CONFIG_PROC_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_SYSFS=y
|
||||
CONFIG_TMPFS=y
|
||||
# CONFIG_HUGETLB_PAGE is not set
|
||||
CONFIG_RAMFS=y
|
||||
# CONFIG_RELAYFS_FS is not set
|
||||
# CONFIG_CONFIGFS_FS is not set
|
||||
|
||||
#
|
||||
# Miscellaneous filesystems
|
||||
#
|
||||
# CONFIG_ADFS_FS is not set
|
||||
# CONFIG_AFFS_FS is not set
|
||||
# CONFIG_HFS_FS is not set
|
||||
# CONFIG_HFSPLUS_FS is not set
|
||||
# CONFIG_BEFS_FS is not set
|
||||
# CONFIG_BFS_FS is not set
|
||||
# CONFIG_EFS_FS is not set
|
||||
# CONFIG_CRAMFS is not set
|
||||
# CONFIG_VXFS_FS is not set
|
||||
# CONFIG_HPFS_FS is not set
|
||||
# CONFIG_QNX4FS_FS is not set
|
||||
# CONFIG_SYSV_FS is not set
|
||||
# CONFIG_UFS_FS is not set
|
||||
|
||||
#
|
||||
# Network File Systems
|
||||
#
|
||||
# CONFIG_NFS_FS is not set
|
||||
# CONFIG_NFSD is not set
|
||||
# CONFIG_SMB_FS is not set
|
||||
# CONFIG_CIFS is not set
|
||||
# CONFIG_NCP_FS is not set
|
||||
# CONFIG_CODA_FS is not set
|
||||
# CONFIG_AFS_FS is not set
|
||||
# CONFIG_9P_FS is not set
|
||||
|
||||
#
|
||||
# Partition Types
|
||||
#
|
||||
# CONFIG_PARTITION_ADVANCED is not set
|
||||
CONFIG_MSDOS_PARTITION=y
|
||||
|
||||
#
|
||||
# Native Language Support
|
||||
#
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NLS_DEFAULT="iso8859-1"
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
# CONFIG_NLS_CODEPAGE_737 is not set
|
||||
# CONFIG_NLS_CODEPAGE_775 is not set
|
||||
# CONFIG_NLS_CODEPAGE_850 is not set
|
||||
# CONFIG_NLS_CODEPAGE_852 is not set
|
||||
# CONFIG_NLS_CODEPAGE_855 is not set
|
||||
# CONFIG_NLS_CODEPAGE_857 is not set
|
||||
# CONFIG_NLS_CODEPAGE_860 is not set
|
||||
# CONFIG_NLS_CODEPAGE_861 is not set
|
||||
# CONFIG_NLS_CODEPAGE_862 is not set
|
||||
# CONFIG_NLS_CODEPAGE_863 is not set
|
||||
# CONFIG_NLS_CODEPAGE_864 is not set
|
||||
# CONFIG_NLS_CODEPAGE_865 is not set
|
||||
# CONFIG_NLS_CODEPAGE_866 is not set
|
||||
# CONFIG_NLS_CODEPAGE_869 is not set
|
||||
# CONFIG_NLS_CODEPAGE_936 is not set
|
||||
# CONFIG_NLS_CODEPAGE_950 is not set
|
||||
# CONFIG_NLS_CODEPAGE_932 is not set
|
||||
# CONFIG_NLS_CODEPAGE_949 is not set
|
||||
# CONFIG_NLS_CODEPAGE_874 is not set
|
||||
# CONFIG_NLS_ISO8859_8 is not set
|
||||
# CONFIG_NLS_CODEPAGE_1250 is not set
|
||||
# CONFIG_NLS_CODEPAGE_1251 is not set
|
||||
CONFIG_NLS_ASCII=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
# CONFIG_NLS_ISO8859_2 is not set
|
||||
# CONFIG_NLS_ISO8859_3 is not set
|
||||
# CONFIG_NLS_ISO8859_4 is not set
|
||||
# CONFIG_NLS_ISO8859_5 is not set
|
||||
# CONFIG_NLS_ISO8859_6 is not set
|
||||
# CONFIG_NLS_ISO8859_7 is not set
|
||||
# CONFIG_NLS_ISO8859_9 is not set
|
||||
# CONFIG_NLS_ISO8859_13 is not set
|
||||
# CONFIG_NLS_ISO8859_14 is not set
|
||||
# CONFIG_NLS_ISO8859_15 is not set
|
||||
# CONFIG_NLS_KOI8_R is not set
|
||||
# CONFIG_NLS_KOI8_U is not set
|
||||
CONFIG_NLS_UTF8=y
|
||||
|
||||
#
|
||||
# IBM 40x options
|
||||
#
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
# CONFIG_CRC_CCITT is not set
|
||||
# CONFIG_CRC16 is not set
|
||||
CONFIG_CRC32=y
|
||||
# CONFIG_LIBCRC32C is not set
|
||||
# CONFIG_PROFILING is not set
|
||||
|
||||
#
|
||||
# Kernel hacking
|
||||
#
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_DETECT_SOFTLOCKUP=y
|
||||
# CONFIG_SCHEDSTATS is not set
|
||||
# CONFIG_DEBUG_SLAB is not set
|
||||
CONFIG_DEBUG_MUTEXES=y
|
||||
# CONFIG_DEBUG_SPINLOCK is not set
|
||||
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
||||
# CONFIG_DEBUG_KOBJECT is not set
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_DEBUG_FS is not set
|
||||
# CONFIG_DEBUG_VM is not set
|
||||
CONFIG_FORCED_INLINING=y
|
||||
# CONFIG_RCU_TORTURE_TEST is not set
|
||||
# CONFIG_KGDB is not set
|
||||
CONFIG_XMON=y
|
||||
# CONFIG_BDI_SWITCH is not set
|
||||
# CONFIG_SERIAL_TEXT_DEBUG is not set
|
||||
|
||||
#
|
||||
# Security options
|
||||
#
|
||||
# CONFIG_KEYS is not set
|
||||
# CONFIG_SECURITY is not set
|
||||
|
||||
#
|
||||
# Cryptographic options
|
||||
#
|
||||
# CONFIG_CRYPTO is not set
|
||||
|
||||
#
|
||||
# Hardware crypto devices
|
||||
#
|
740
arch/ppc/configs/ml403_defconfig
Normal file
740
arch/ppc/configs/ml403_defconfig
Normal file
@@ -0,0 +1,740 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux kernel version: 2.6.16-rc1
|
||||
# Wed Jan 18 01:11:41 2006
|
||||
#
|
||||
CONFIG_MMU=y
|
||||
CONFIG_GENERIC_HARDIRQS=y
|
||||
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
|
||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||
CONFIG_PPC=y
|
||||
CONFIG_PPC32=y
|
||||
CONFIG_GENERIC_NVRAM=y
|
||||
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
|
||||
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
|
||||
|
||||
#
|
||||
# Code maturity level options
|
||||
#
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_CLEAN_COMPILE=y
|
||||
CONFIG_BROKEN_ON_SMP=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
|
||||
#
|
||||
# General setup
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
# CONFIG_POSIX_MQUEUE is not set
|
||||
CONFIG_BSD_PROCESS_ACCT=y
|
||||
CONFIG_BSD_PROCESS_ACCT_V3=y
|
||||
CONFIG_SYSCTL=y
|
||||
# CONFIG_AUDIT is not set
|
||||
# CONFIG_IKCONFIG is not set
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
# CONFIG_EMBEDDED is not set
|
||||
CONFIG_KALLSYMS=y
|
||||
# CONFIG_KALLSYMS_ALL is not set
|
||||
# CONFIG_KALLSYMS_EXTRA_PASS is not set
|
||||
CONFIG_HOTPLUG=y
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_BUG=y
|
||||
CONFIG_ELF_CORE=y
|
||||
CONFIG_BASE_FULL=y
|
||||
CONFIG_FUTEX=y
|
||||
CONFIG_EPOLL=y
|
||||
CONFIG_SHMEM=y
|
||||
CONFIG_CC_ALIGN_FUNCTIONS=0
|
||||
CONFIG_CC_ALIGN_LABELS=0
|
||||
CONFIG_CC_ALIGN_LOOPS=0
|
||||
CONFIG_CC_ALIGN_JUMPS=0
|
||||
CONFIG_SLAB=y
|
||||
# CONFIG_TINY_SHMEM is not set
|
||||
CONFIG_BASE_SMALL=0
|
||||
# CONFIG_SLOB is not set
|
||||
|
||||
#
|
||||
# Loadable module support
|
||||
#
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_OBSOLETE_MODPARM=y
|
||||
CONFIG_MODVERSIONS=y
|
||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||
CONFIG_KMOD=y
|
||||
|
||||
#
|
||||
# Block layer
|
||||
#
|
||||
CONFIG_LBD=y
|
||||
|
||||
#
|
||||
# IO Schedulers
|
||||
#
|
||||
CONFIG_IOSCHED_NOOP=y
|
||||
CONFIG_IOSCHED_AS=y
|
||||
CONFIG_IOSCHED_DEADLINE=y
|
||||
CONFIG_IOSCHED_CFQ=y
|
||||
CONFIG_DEFAULT_AS=y
|
||||
# CONFIG_DEFAULT_DEADLINE is not set
|
||||
# CONFIG_DEFAULT_CFQ is not set
|
||||
# CONFIG_DEFAULT_NOOP is not set
|
||||
CONFIG_DEFAULT_IOSCHED="anticipatory"
|
||||
|
||||
#
|
||||
# Processor
|
||||
#
|
||||
# CONFIG_6xx is not set
|
||||
CONFIG_40x=y
|
||||
# CONFIG_44x is not set
|
||||
# CONFIG_POWER3 is not set
|
||||
# CONFIG_8xx is not set
|
||||
# CONFIG_E200 is not set
|
||||
# CONFIG_E500 is not set
|
||||
# CONFIG_MATH_EMULATION is not set
|
||||
# CONFIG_KEXEC is not set
|
||||
# CONFIG_CPU_FREQ is not set
|
||||
CONFIG_4xx=y
|
||||
# CONFIG_WANT_EARLY_SERIAL is not set
|
||||
|
||||
#
|
||||
# IBM 4xx options
|
||||
#
|
||||
# CONFIG_BUBINGA is not set
|
||||
# CONFIG_CPCI405 is not set
|
||||
# CONFIG_EP405 is not set
|
||||
# CONFIG_REDWOOD_5 is not set
|
||||
# CONFIG_REDWOOD_6 is not set
|
||||
# CONFIG_SYCAMORE is not set
|
||||
# CONFIG_WALNUT is not set
|
||||
# CONFIG_XILINX_ML300 is not set
|
||||
CONFIG_XILINX_ML403=y
|
||||
CONFIG_IBM405_ERR77=y
|
||||
CONFIG_IBM405_ERR51=y
|
||||
CONFIG_XILINX_VIRTEX=y
|
||||
CONFIG_EMBEDDEDBOOT=y
|
||||
# CONFIG_PPC4xx_DMA is not set
|
||||
CONFIG_PPC_GEN550=y
|
||||
CONFIG_UART0_TTYS0=y
|
||||
# CONFIG_UART0_TTYS1 is not set
|
||||
CONFIG_NOT_COHERENT_CACHE=y
|
||||
|
||||
#
|
||||
# Platform options
|
||||
#
|
||||
# CONFIG_PC_KEYBOARD is not set
|
||||
# CONFIG_HIGHMEM is not set
|
||||
# CONFIG_HZ_100 is not set
|
||||
CONFIG_HZ_250=y
|
||||
# CONFIG_HZ_1000 is not set
|
||||
CONFIG_HZ=250
|
||||
CONFIG_PREEMPT_NONE=y
|
||||
# CONFIG_PREEMPT_VOLUNTARY is not set
|
||||
# CONFIG_PREEMPT is not set
|
||||
CONFIG_SELECT_MEMORY_MODEL=y
|
||||
CONFIG_FLATMEM_MANUAL=y
|
||||
# CONFIG_DISCONTIGMEM_MANUAL is not set
|
||||
# CONFIG_SPARSEMEM_MANUAL is not set
|
||||
CONFIG_FLATMEM=y
|
||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||
# CONFIG_SPARSEMEM_STATIC is not set
|
||||
CONFIG_SPLIT_PTLOCK_CPUS=4
|
||||
CONFIG_BINFMT_ELF=y
|
||||
# CONFIG_BINFMT_MISC is not set
|
||||
CONFIG_CMDLINE_BOOL=y
|
||||
CONFIG_CMDLINE="console=ttyS0,9600"
|
||||
# CONFIG_PM is not set
|
||||
# CONFIG_SOFTWARE_SUSPEND is not set
|
||||
CONFIG_SECCOMP=y
|
||||
CONFIG_ISA_DMA_API=y
|
||||
|
||||
#
|
||||
# Bus options
|
||||
#
|
||||
# CONFIG_PPC_I8259 is not set
|
||||
# CONFIG_PCI is not set
|
||||
# CONFIG_PCI_DOMAINS is not set
|
||||
|
||||
#
|
||||
# PCCARD (PCMCIA/CardBus) support
|
||||
#
|
||||
# CONFIG_PCCARD is not set
|
||||
|
||||
#
|
||||
# Advanced setup
|
||||
#
|
||||
# CONFIG_ADVANCED_OPTIONS is not set
|
||||
|
||||
#
|
||||
# Default settings for advanced configuration options are used
|
||||
#
|
||||
CONFIG_HIGHMEM_START=0xfe000000
|
||||
CONFIG_LOWMEM_SIZE=0x30000000
|
||||
CONFIG_KERNEL_START=0xc0000000
|
||||
CONFIG_TASK_SIZE=0x80000000
|
||||
CONFIG_CONSISTENT_START=0xff100000
|
||||
CONFIG_CONSISTENT_SIZE=0x00200000
|
||||
CONFIG_BOOT_LOAD=0x00400000
|
||||
|
||||
#
|
||||
# Networking
|
||||
#
|
||||
CONFIG_NET=y
|
||||
|
||||
#
|
||||
# Networking options
|
||||
#
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_PACKET_MMAP=y
|
||||
CONFIG_UNIX=y
|
||||
# CONFIG_NET_KEY is not set
|
||||
CONFIG_INET=y
|
||||
# CONFIG_IP_MULTICAST is not set
|
||||
# CONFIG_IP_ADVANCED_ROUTER is not set
|
||||
CONFIG_IP_FIB_HASH=y
|
||||
CONFIG_IP_PNP=y
|
||||
CONFIG_IP_PNP_DHCP=y
|
||||
# CONFIG_IP_PNP_BOOTP is not set
|
||||
# CONFIG_IP_PNP_RARP is not set
|
||||
# CONFIG_NET_IPIP is not set
|
||||
# CONFIG_NET_IPGRE is not set
|
||||
# CONFIG_ARPD is not set
|
||||
# CONFIG_SYN_COOKIES is not set
|
||||
# CONFIG_INET_AH is not set
|
||||
# CONFIG_INET_ESP is not set
|
||||
# CONFIG_INET_IPCOMP is not set
|
||||
# CONFIG_INET_TUNNEL is not set
|
||||
CONFIG_INET_DIAG=y
|
||||
CONFIG_INET_TCP_DIAG=y
|
||||
# CONFIG_TCP_CONG_ADVANCED is not set
|
||||
CONFIG_TCP_CONG_BIC=y
|
||||
# CONFIG_IPV6 is not set
|
||||
# CONFIG_NETFILTER is not set
|
||||
|
||||
#
|
||||
# DCCP Configuration (EXPERIMENTAL)
|
||||
#
|
||||
# CONFIG_IP_DCCP is not set
|
||||
|
||||
#
|
||||
# SCTP Configuration (EXPERIMENTAL)
|
||||
#
|
||||
# CONFIG_IP_SCTP is not set
|
||||
# CONFIG_ATM is not set
|
||||
# CONFIG_BRIDGE is not set
|
||||
# CONFIG_VLAN_8021Q is not set
|
||||
# CONFIG_DECNET is not set
|
||||
# CONFIG_LLC2 is not set
|
||||
# CONFIG_IPX is not set
|
||||
# CONFIG_ATALK is not set
|
||||
# CONFIG_X25 is not set
|
||||
# CONFIG_LAPB is not set
|
||||
|
||||
#
|
||||
# TIPC Configuration (EXPERIMENTAL)
|
||||
#
|
||||
# CONFIG_TIPC is not set
|
||||
# CONFIG_NET_DIVERT is not set
|
||||
# CONFIG_ECONET is not set
|
||||
# CONFIG_WAN_ROUTER is not set
|
||||
|
||||
#
|
||||
# QoS and/or fair queueing
|
||||
#
|
||||
# CONFIG_NET_SCHED is not set
|
||||
|
||||
#
|
||||
# Network testing
|
||||
#
|
||||
# CONFIG_NET_PKTGEN is not set
|
||||
# CONFIG_HAMRADIO is not set
|
||||
# CONFIG_IRDA is not set
|
||||
# CONFIG_BT is not set
|
||||
# CONFIG_IEEE80211 is not set
|
||||
|
||||
#
|
||||
# Device Drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Generic Driver Options
|
||||
#
|
||||
CONFIG_STANDALONE=y
|
||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||
# CONFIG_FW_LOADER is not set
|
||||
# CONFIG_DEBUG_DRIVER is not set
|
||||
|
||||
#
|
||||
# Connector - unified userspace <-> kernelspace linker
|
||||
#
|
||||
# CONFIG_CONNECTOR is not set
|
||||
|
||||
#
|
||||
# Memory Technology Devices (MTD)
|
||||
#
|
||||
# CONFIG_MTD is not set
|
||||
|
||||
#
|
||||
# Parallel port support
|
||||
#
|
||||
# CONFIG_PARPORT is not set
|
||||
|
||||
#
|
||||
# Plug and Play support
|
||||
#
|
||||
|
||||
#
|
||||
# Block devices
|
||||
#
|
||||
# CONFIG_BLK_DEV_FD is not set
|
||||
# CONFIG_BLK_DEV_COW_COMMON is not set
|
||||
# CONFIG_BLK_DEV_LOOP is not set
|
||||
# CONFIG_BLK_DEV_NBD is not set
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||
CONFIG_BLK_DEV_RAM_SIZE=65536
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
# CONFIG_CDROM_PKTCDVD is not set
|
||||
# CONFIG_ATA_OVER_ETH is not set
|
||||
|
||||
#
|
||||
# ATA/ATAPI/MFM/RLL support
|
||||
#
|
||||
# CONFIG_IDE is not set
|
||||
|
||||
#
|
||||
# SCSI device support
|
||||
#
|
||||
# CONFIG_RAID_ATTRS is not set
|
||||
# CONFIG_SCSI is not set
|
||||
|
||||
#
|
||||
# Multi-device support (RAID and LVM)
|
||||
#
|
||||
# CONFIG_MD is not set
|
||||
|
||||
#
|
||||
# Fusion MPT device support
|
||||
#
|
||||
# CONFIG_FUSION is not set
|
||||
|
||||
#
|
||||
# IEEE 1394 (FireWire) support
|
||||
#
|
||||
|
||||
#
|
||||
# I2O device support
|
||||
#
|
||||
|
||||
#
|
||||
# Macintosh device drivers
|
||||
#
|
||||
# CONFIG_WINDFARM is not set
|
||||
|
||||
#
|
||||
# Network device support
|
||||
#
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_DUMMY is not set
|
||||
# CONFIG_BONDING is not set
|
||||
# CONFIG_EQUALIZER is not set
|
||||
CONFIG_TUN=y
|
||||
|
||||
#
|
||||
# PHY device support
|
||||
#
|
||||
|
||||
#
|
||||
# Ethernet (10 or 100Mbit)
|
||||
#
|
||||
# CONFIG_NET_ETHERNET is not set
|
||||
# CONFIG_IBM_EMAC is not set
|
||||
|
||||
#
|
||||
# Ethernet (1000 Mbit)
|
||||
#
|
||||
|
||||
#
|
||||
# Ethernet (10000 Mbit)
|
||||
#
|
||||
|
||||
#
|
||||
# Token Ring devices
|
||||
#
|
||||
|
||||
#
|
||||
# Wireless LAN (non-hamradio)
|
||||
#
|
||||
# CONFIG_NET_RADIO is not set
|
||||
|
||||
#
|
||||
# Wan interfaces
|
||||
#
|
||||
# CONFIG_WAN is not set
|
||||
# CONFIG_PPP is not set
|
||||
# CONFIG_SLIP is not set
|
||||
# CONFIG_SHAPER is not set
|
||||
# CONFIG_NETCONSOLE is not set
|
||||
# CONFIG_NETPOLL is not set
|
||||
# CONFIG_NET_POLL_CONTROLLER is not set
|
||||
|
||||
#
|
||||
# ISDN subsystem
|
||||
#
|
||||
# CONFIG_ISDN is not set
|
||||
|
||||
#
|
||||
# Telephony Support
|
||||
#
|
||||
# CONFIG_PHONE is not set
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
CONFIG_INPUT=y
|
||||
|
||||
#
|
||||
# Userland interfaces
|
||||
#
|
||||
CONFIG_INPUT_MOUSEDEV=y
|
||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
|
||||
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
|
||||
# CONFIG_INPUT_JOYDEV is not set
|
||||
# CONFIG_INPUT_TSDEV is not set
|
||||
# CONFIG_INPUT_EVDEV is not set
|
||||
# CONFIG_INPUT_EVBUG is not set
|
||||
|
||||
#
|
||||
# Input Device Drivers
|
||||
#
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_INPUT_JOYSTICK is not set
|
||||
# CONFIG_INPUT_TOUCHSCREEN is not set
|
||||
# CONFIG_INPUT_MISC is not set
|
||||
|
||||
#
|
||||
# Hardware I/O ports
|
||||
#
|
||||
# CONFIG_SERIO is not set
|
||||
# CONFIG_GAMEPORT is not set
|
||||
|
||||
#
|
||||
# Character devices
|
||||
#
|
||||
CONFIG_VT=y
|
||||
CONFIG_VT_CONSOLE=y
|
||||
CONFIG_HW_CONSOLE=y
|
||||
# CONFIG_SERIAL_NONSTANDARD is not set
|
||||
|
||||
#
|
||||
# Serial drivers
|
||||
#
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=4
|
||||
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
|
||||
# CONFIG_SERIAL_8250_EXTENDED is not set
|
||||
|
||||
#
|
||||
# Non-8250 serial port support
|
||||
#
|
||||
CONFIG_SERIAL_CORE=y
|
||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||
CONFIG_UNIX98_PTYS=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
|
||||
#
|
||||
# IPMI
|
||||
#
|
||||
# CONFIG_IPMI_HANDLER is not set
|
||||
|
||||
#
|
||||
# Watchdog Cards
|
||||
#
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_NVRAM is not set
|
||||
# CONFIG_GEN_RTC is not set
|
||||
# CONFIG_DTLK is not set
|
||||
# CONFIG_R3964 is not set
|
||||
|
||||
#
|
||||
# Ftape, the floppy tape device driver
|
||||
#
|
||||
# CONFIG_AGP is not set
|
||||
# CONFIG_RAW_DRIVER is not set
|
||||
|
||||
#
|
||||
# TPM devices
|
||||
#
|
||||
# CONFIG_TCG_TPM is not set
|
||||
# CONFIG_TELCLOCK is not set
|
||||
|
||||
#
|
||||
# I2C support
|
||||
#
|
||||
# CONFIG_I2C is not set
|
||||
|
||||
#
|
||||
# SPI support
|
||||
#
|
||||
# CONFIG_SPI is not set
|
||||
# CONFIG_SPI_MASTER is not set
|
||||
|
||||
#
|
||||
# Dallas's 1-wire bus
|
||||
#
|
||||
# CONFIG_W1 is not set
|
||||
|
||||
#
|
||||
# Hardware Monitoring support
|
||||
#
|
||||
# CONFIG_HWMON is not set
|
||||
# CONFIG_HWMON_VID is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
#
|
||||
|
||||
#
|
||||
# Multimedia Capabilities Port drivers
|
||||
#
|
||||
|
||||
#
|
||||
# Multimedia devices
|
||||
#
|
||||
# CONFIG_VIDEO_DEV is not set
|
||||
|
||||
#
|
||||
# Digital Video Broadcasting Devices
|
||||
#
|
||||
# CONFIG_DVB is not set
|
||||
|
||||
#
|
||||
# Graphics support
|
||||
#
|
||||
# CONFIG_FB is not set
|
||||
|
||||
#
|
||||
# Console display driver support
|
||||
#
|
||||
CONFIG_DUMMY_CONSOLE=y
|
||||
|
||||
#
|
||||
# Sound
|
||||
#
|
||||
# CONFIG_SOUND is not set
|
||||
|
||||
#
|
||||
# USB support
|
||||
#
|
||||
# CONFIG_USB_ARCH_HAS_HCD is not set
|
||||
# CONFIG_USB_ARCH_HAS_OHCI is not set
|
||||
|
||||
#
|
||||
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
|
||||
#
|
||||
|
||||
#
|
||||
# USB Gadget Support
|
||||
#
|
||||
# CONFIG_USB_GADGET is not set
|
||||
|
||||
#
|
||||
# MMC/SD Card support
|
||||
#
|
||||
# CONFIG_MMC is not set
|
||||
|
||||
#
|
||||
# InfiniBand support
|
||||
#
|
||||
|
||||
#
|
||||
# SN Devices
|
||||
#
|
||||
|
||||
#
|
||||
# File systems
|
||||
#
|
||||
CONFIG_EXT2_FS=y
|
||||
# CONFIG_EXT2_FS_XATTR is not set
|
||||
# CONFIG_EXT2_FS_XIP is not set
|
||||
# CONFIG_EXT3_FS is not set
|
||||
# CONFIG_REISERFS_FS is not set
|
||||
# CONFIG_JFS_FS is not set
|
||||
# CONFIG_FS_POSIX_ACL is not set
|
||||
# CONFIG_XFS_FS is not set
|
||||
# CONFIG_OCFS2_FS is not set
|
||||
# CONFIG_MINIX_FS is not set
|
||||
# CONFIG_ROMFS_FS is not set
|
||||
CONFIG_INOTIFY=y
|
||||
# CONFIG_QUOTA is not set
|
||||
CONFIG_DNOTIFY=y
|
||||
# CONFIG_AUTOFS_FS is not set
|
||||
# CONFIG_AUTOFS4_FS is not set
|
||||
# CONFIG_FUSE_FS is not set
|
||||
|
||||
#
|
||||
# CD-ROM/DVD Filesystems
|
||||
#
|
||||
# CONFIG_ISO9660_FS is not set
|
||||
# CONFIG_UDF_FS is not set
|
||||
|
||||
#
|
||||
# DOS/FAT/NT Filesystems
|
||||
#
|
||||
CONFIG_FAT_FS=y
|
||||
CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_FAT_DEFAULT_CODEPAGE=437
|
||||
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
|
||||
# CONFIG_NTFS_FS is not set
|
||||
|
||||
#
|
||||
# Pseudo filesystems
|
||||
#
|
||||
CONFIG_PROC_FS=y
|
||||
CONFIG_PROC_KCORE=y
|
||||
CONFIG_SYSFS=y
|
||||
CONFIG_TMPFS=y
|
||||
# CONFIG_HUGETLB_PAGE is not set
|
||||
CONFIG_RAMFS=y
|
||||
# CONFIG_RELAYFS_FS is not set
|
||||
# CONFIG_CONFIGFS_FS is not set
|
||||
|
||||
#
|
||||
# Miscellaneous filesystems
|
||||
#
|
||||
# CONFIG_ADFS_FS is not set
|
||||
# CONFIG_AFFS_FS is not set
|
||||
# CONFIG_HFS_FS is not set
|
||||
# CONFIG_HFSPLUS_FS is not set
|
||||
# CONFIG_BEFS_FS is not set
|
||||
# CONFIG_BFS_FS is not set
|
||||
# CONFIG_EFS_FS is not set
|
||||
# CONFIG_CRAMFS is not set
|
||||
# CONFIG_VXFS_FS is not set
|
||||
# CONFIG_HPFS_FS is not set
|
||||
# CONFIG_QNX4FS_FS is not set
|
||||
# CONFIG_SYSV_FS is not set
|
||||
# CONFIG_UFS_FS is not set
|
||||
|
||||
#
|
||||
# Network File Systems
|
||||
#
|
||||
# CONFIG_NFS_FS is not set
|
||||
# CONFIG_NFSD is not set
|
||||
# CONFIG_SMB_FS is not set
|
||||
# CONFIG_CIFS is not set
|
||||
# CONFIG_NCP_FS is not set
|
||||
# CONFIG_CODA_FS is not set
|
||||
# CONFIG_AFS_FS is not set
|
||||
# CONFIG_9P_FS is not set
|
||||
|
||||
#
|
||||
# Partition Types
|
||||
#
|
||||
# CONFIG_PARTITION_ADVANCED is not set
|
||||
CONFIG_MSDOS_PARTITION=y
|
||||
|
||||
#
|
||||
# Native Language Support
|
||||
#
|
||||
CONFIG_NLS=y
|
||||
CONFIG_NLS_DEFAULT="iso8859-1"
|
||||
CONFIG_NLS_CODEPAGE_437=y
|
||||
# CONFIG_NLS_CODEPAGE_737 is not set
|
||||
# CONFIG_NLS_CODEPAGE_775 is not set
|
||||
# CONFIG_NLS_CODEPAGE_850 is not set
|
||||
# CONFIG_NLS_CODEPAGE_852 is not set
|
||||
# CONFIG_NLS_CODEPAGE_855 is not set
|
||||
# CONFIG_NLS_CODEPAGE_857 is not set
|
||||
# CONFIG_NLS_CODEPAGE_860 is not set
|
||||
# CONFIG_NLS_CODEPAGE_861 is not set
|
||||
# CONFIG_NLS_CODEPAGE_862 is not set
|
||||
# CONFIG_NLS_CODEPAGE_863 is not set
|
||||
# CONFIG_NLS_CODEPAGE_864 is not set
|
||||
# CONFIG_NLS_CODEPAGE_865 is not set
|
||||
# CONFIG_NLS_CODEPAGE_866 is not set
|
||||
# CONFIG_NLS_CODEPAGE_869 is not set
|
||||
# CONFIG_NLS_CODEPAGE_936 is not set
|
||||
# CONFIG_NLS_CODEPAGE_950 is not set
|
||||
# CONFIG_NLS_CODEPAGE_932 is not set
|
||||
# CONFIG_NLS_CODEPAGE_949 is not set
|
||||
# CONFIG_NLS_CODEPAGE_874 is not set
|
||||
# CONFIG_NLS_ISO8859_8 is not set
|
||||
# CONFIG_NLS_CODEPAGE_1250 is not set
|
||||
# CONFIG_NLS_CODEPAGE_1251 is not set
|
||||
CONFIG_NLS_ASCII=y
|
||||
CONFIG_NLS_ISO8859_1=y
|
||||
# CONFIG_NLS_ISO8859_2 is not set
|
||||
# CONFIG_NLS_ISO8859_3 is not set
|
||||
# CONFIG_NLS_ISO8859_4 is not set
|
||||
# CONFIG_NLS_ISO8859_5 is not set
|
||||
# CONFIG_NLS_ISO8859_6 is not set
|
||||
# CONFIG_NLS_ISO8859_7 is not set
|
||||
# CONFIG_NLS_ISO8859_9 is not set
|
||||
# CONFIG_NLS_ISO8859_13 is not set
|
||||
# CONFIG_NLS_ISO8859_14 is not set
|
||||
# CONFIG_NLS_ISO8859_15 is not set
|
||||
# CONFIG_NLS_KOI8_R is not set
|
||||
# CONFIG_NLS_KOI8_U is not set
|
||||
CONFIG_NLS_UTF8=y
|
||||
|
||||
#
|
||||
# IBM 40x options
|
||||
#
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
# CONFIG_CRC_CCITT is not set
|
||||
# CONFIG_CRC16 is not set
|
||||
CONFIG_CRC32=y
|
||||
# CONFIG_LIBCRC32C is not set
|
||||
# CONFIG_PROFILING is not set
|
||||
|
||||
#
|
||||
# Kernel hacking
|
||||
#
|
||||
CONFIG_PRINTK_TIME=y
|
||||
CONFIG_MAGIC_SYSRQ=y
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_DETECT_SOFTLOCKUP=y
|
||||
# CONFIG_SCHEDSTATS is not set
|
||||
# CONFIG_DEBUG_SLAB is not set
|
||||
CONFIG_DEBUG_MUTEXES=y
|
||||
# CONFIG_DEBUG_SPINLOCK is not set
|
||||
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
||||
# CONFIG_DEBUG_KOBJECT is not set
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_DEBUG_FS is not set
|
||||
# CONFIG_DEBUG_VM is not set
|
||||
CONFIG_FORCED_INLINING=y
|
||||
# CONFIG_RCU_TORTURE_TEST is not set
|
||||
# CONFIG_KGDB is not set
|
||||
CONFIG_XMON=y
|
||||
# CONFIG_BDI_SWITCH is not set
|
||||
# CONFIG_SERIAL_TEXT_DEBUG is not set
|
||||
|
||||
#
|
||||
# Security options
|
||||
#
|
||||
# CONFIG_KEYS is not set
|
||||
# CONFIG_SECURITY is not set
|
||||
|
||||
#
|
||||
# Cryptographic options
|
||||
#
|
||||
# CONFIG_CRYPTO is not set
|
||||
|
||||
#
|
||||
# Hardware crypto devices
|
||||
#
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/kernel/head_44x.S
|
||||
*
|
||||
* Kernel execution entry point code.
|
||||
*
|
||||
* Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/kernel/except_8xx.S
|
||||
*
|
||||
* PowerPC version
|
||||
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
|
||||
* Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/kernel/head_fsl_booke.S
|
||||
*
|
||||
* Kernel execution entry point code.
|
||||
*
|
||||
* Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org>
|
||||
@@ -316,6 +314,7 @@ skpinv: addi r6,r6,1 /* Increment */
|
||||
*/
|
||||
lis r2,DBCR0_IDM@h
|
||||
mtspr SPRN_DBCR0,r2
|
||||
isync
|
||||
/* clear any residual debug events */
|
||||
li r2,-1
|
||||
mtspr SPRN_DBSR,r2
|
||||
@@ -1002,12 +1001,15 @@ _GLOBAL(giveup_fpu)
|
||||
_GLOBAL(abort)
|
||||
li r13,0
|
||||
mtspr SPRN_DBCR0,r13 /* disable all debug events */
|
||||
isync
|
||||
mfmsr r13
|
||||
ori r13,r13,MSR_DE@l /* Enable Debug Events */
|
||||
mtmsr r13
|
||||
isync
|
||||
mfspr r13,SPRN_DBCR0
|
||||
lis r13,(DBCR0_IDM|DBCR0_RST_CHIP)@h
|
||||
mtspr SPRN_DBCR0,r13
|
||||
isync
|
||||
|
||||
_GLOBAL(set_context)
|
||||
|
||||
|
@@ -126,8 +126,7 @@ smp_generic_give_timebase( void )
|
||||
printk("Synchronizing timebase\n");
|
||||
|
||||
/* if this fails then this kernel won't work anyway... */
|
||||
tbsync = kmalloc( sizeof(*tbsync), GFP_KERNEL );
|
||||
memset( tbsync, 0, sizeof(*tbsync) );
|
||||
tbsync = kzalloc( sizeof(*tbsync), GFP_KERNEL );
|
||||
mb();
|
||||
running = 1;
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/kernel/traps.c
|
||||
*
|
||||
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/syslib/rheap.c
|
||||
*
|
||||
* A Remote Heap. Remote means that we don't touch the memory that the
|
||||
* heap points to. Normal heap implementations use the memory they manage
|
||||
* to place their list. We cannot do that because the memory we manage may
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/math-emu/math.c
|
||||
*
|
||||
* Copyright (C) 1999 Eddie C. Dost (ecd@atecom.com)
|
||||
*/
|
||||
|
||||
|
@@ -104,7 +104,7 @@ unsigned long __init mmu_mapin_ram(void)
|
||||
|
||||
/* Determine number of entries necessary to cover lowmem */
|
||||
pinned_tlbs = (unsigned int)
|
||||
(_ALIGN(total_lowmem, PPC44x_PIN_SIZE) >> PPC44x_PIN_SHIFT);
|
||||
(_ALIGN(total_lowmem, PPC_PIN_SIZE) >> PPC44x_PIN_SHIFT);
|
||||
|
||||
/* Write upper watermark to save location */
|
||||
tlb_44x_hwater = PPC44x_LOW_SLOT - pinned_tlbs;
|
||||
@@ -112,7 +112,7 @@ unsigned long __init mmu_mapin_ram(void)
|
||||
/* If necessary, set additional pinned TLBs */
|
||||
if (pinned_tlbs > 1)
|
||||
for (i = (PPC44x_LOW_SLOT-(pinned_tlbs-1)); i < PPC44x_LOW_SLOT; i++) {
|
||||
unsigned int phys_addr = (PPC44x_LOW_SLOT-i) * PPC44x_PIN_SIZE;
|
||||
unsigned int phys_addr = (PPC44x_LOW_SLOT-i) * PPC_PIN_SIZE;
|
||||
ppc44x_pin_tlb(i, phys_addr+PAGE_OFFSET, phys_addr);
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/mm/fault.c
|
||||
*
|
||||
* PowerPC version
|
||||
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/kernel/hashtable.S
|
||||
*
|
||||
* $Id: hashtable.S,v 1.6 1999/10/08 01:56:15 paulus Exp $
|
||||
*
|
||||
* PowerPC version
|
||||
|
@@ -57,6 +57,10 @@ config XILINX_ML300
|
||||
help
|
||||
This option enables support for the Xilinx ML300 evaluation board.
|
||||
|
||||
config XILINX_ML403
|
||||
bool "Xilinx-ML403"
|
||||
help
|
||||
This option enables support for the Xilinx ML403 evaluation board.
|
||||
endchoice
|
||||
|
||||
choice
|
||||
@@ -172,11 +176,6 @@ config IBM_OCP
|
||||
depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || WALNUT
|
||||
default y
|
||||
|
||||
config XILINX_OCP
|
||||
bool
|
||||
depends on XILINX_ML300
|
||||
default y
|
||||
|
||||
config IBM_EMAC4
|
||||
bool
|
||||
depends on 440GX || 440SP || 440SPE
|
||||
@@ -208,11 +207,21 @@ config 405GPR
|
||||
depends on SYCAMORE
|
||||
default y
|
||||
|
||||
config VIRTEX_II_PRO
|
||||
config XILINX_VIRTEX_II_PRO
|
||||
bool
|
||||
depends on XILINX_ML300
|
||||
default y
|
||||
|
||||
config XILINX_VIRTEX_4_FX
|
||||
bool
|
||||
depends on XILINX_ML403
|
||||
default y
|
||||
|
||||
config XILINX_VIRTEX
|
||||
bool
|
||||
depends on XILINX_VIRTEX_II_PRO || XILINX_VIRTEX_4_FX
|
||||
default y
|
||||
|
||||
config STB03xxx
|
||||
bool
|
||||
depends on REDWOOD_5 || REDWOOD_6
|
||||
@@ -220,7 +229,7 @@ config STB03xxx
|
||||
|
||||
config EMBEDDEDBOOT
|
||||
bool
|
||||
depends on EP405 || XILINX_ML300
|
||||
depends on EP405 || XILINX_ML300 || XILINX_ML403
|
||||
default y
|
||||
|
||||
config IBM_OPENBIOS
|
||||
|
@@ -14,6 +14,7 @@ obj-$(CONFIG_REDWOOD_6) += redwood6.o
|
||||
obj-$(CONFIG_SYCAMORE) += sycamore.o
|
||||
obj-$(CONFIG_WALNUT) += walnut.o
|
||||
obj-$(CONFIG_XILINX_ML300) += xilinx_ml300.o
|
||||
obj-$(CONFIG_XILINX_ML403) += xilinx_ml403.o
|
||||
|
||||
obj-$(CONFIG_405GP) += ibm405gp.o
|
||||
obj-$(CONFIG_REDWOOD_5) += ibmstb4.o
|
||||
@@ -26,4 +27,5 @@ obj-$(CONFIG_440SP) += ibm440sp.o
|
||||
obj-$(CONFIG_440SPE) += ppc440spe.o
|
||||
obj-$(CONFIG_405EP) += ibm405ep.o
|
||||
obj-$(CONFIG_405GPR) += ibm405gpr.o
|
||||
obj-$(CONFIG_VIRTEX_II_PRO) += virtex-ii_pro.o
|
||||
obj-$(CONFIG_XILINX_VIRTEX) += virtex.o
|
||||
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/bamboo.c
|
||||
*
|
||||
* Bamboo board specific routines
|
||||
*
|
||||
* Wade Farnsworth <wfarnsworth@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/bamboo.h
|
||||
*
|
||||
* Bamboo board definitions
|
||||
*
|
||||
* Wade Farnsworth <wfarnsworth@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/bubinga.h
|
||||
*
|
||||
* Bubinga board definitions
|
||||
*
|
||||
* Copyright (c) 2005 DENX Software Engineering
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/cpci405.c
|
||||
*
|
||||
* Board setup routines for the esd CPCI-405 cPCI Board.
|
||||
*
|
||||
* Author: Stefan Roese
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ebony.c
|
||||
*
|
||||
* Ebony board specific routines
|
||||
*
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/ebony.h
|
||||
*
|
||||
* Ebony board definitions
|
||||
*
|
||||
* Matt Porter <mporter@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ep405.c
|
||||
*
|
||||
* Embedded Planet 405GP board
|
||||
* http://www.embeddedplanet.com
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ep405.h
|
||||
*
|
||||
* Embedded Planet 405GP board
|
||||
* http://www.embeddedplanet.com
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/ibm405ep.c
|
||||
*
|
||||
* Support for IBM PPC 405EP processors.
|
||||
*
|
||||
* Author: SAW (IBM), derived from ibmnp405l.c.
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm405ep.h
|
||||
*
|
||||
* IBM PPC 405EP processor defines.
|
||||
*
|
||||
* Author: SAW (IBM), derived from ibm405gp.h.
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm405gp.h
|
||||
*
|
||||
* Author: Armin Kuster akuster@mvista.com
|
||||
*
|
||||
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm405gpr.c
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm405gpr.h
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440ep.c
|
||||
*
|
||||
* PPC440EP I/O descriptions
|
||||
*
|
||||
* Wade Farnsworth <wfarnsworth@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440ep.h
|
||||
*
|
||||
* PPC440EP definitions
|
||||
*
|
||||
* Wade Farnsworth <wfarnsworth@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440gp.c
|
||||
*
|
||||
* PPC440GP I/O descriptions
|
||||
*
|
||||
* Matt Porter <mporter@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440gp.h
|
||||
*
|
||||
* PPC440GP definitions
|
||||
*
|
||||
* Roland Dreier <roland@digitalvampire.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440gx.c
|
||||
*
|
||||
* PPC440GX I/O descriptions
|
||||
*
|
||||
* Matt Porter <mporter@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/ibm440gx.h
|
||||
*
|
||||
* PPC440GX definitions
|
||||
*
|
||||
* Matt Porter <mporter@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440sp.c
|
||||
*
|
||||
* PPC440SP I/O descriptions
|
||||
*
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440sp.h
|
||||
*
|
||||
* PPC440SP definitions
|
||||
*
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibmnp405h.c
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibmnp405h.h
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibmstb4.c
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2000-2001 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibmstb4.h
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibmstbx25.c
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2000-2002 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibmstbx25.h
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/luan.c
|
||||
*
|
||||
* Luan board specific routines
|
||||
*
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/luan.h
|
||||
*
|
||||
* Luan board definitions
|
||||
*
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ocotea.c
|
||||
*
|
||||
* Ocotea board specific routines
|
||||
*
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/ocotea.h
|
||||
*
|
||||
* Ocotea board definitions
|
||||
*
|
||||
* Matt Porter <mporter@kernel.crashing.org>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ppc440spe.c
|
||||
*
|
||||
* PPC440SPe I/O descriptions
|
||||
*
|
||||
* Roland Dreier <rolandd@cisco.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/ibm440spe.h
|
||||
*
|
||||
* PPC440SPe definitions
|
||||
*
|
||||
* Roland Dreier <rolandd@cisco.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/redwood5.c
|
||||
*
|
||||
* Support for the IBM redwood5 eval board file
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/redwood5.h
|
||||
*
|
||||
* Macros, definitions, and data structures specific to the IBM PowerPC
|
||||
* STB03xxx "Redwood" evaluation board.
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/redwood6.c
|
||||
*
|
||||
* Author: Armin Kuster <akuster@mvista.com>
|
||||
*
|
||||
* 2002 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/redwood6.h
|
||||
*
|
||||
* Macros, definitions, and data structures specific to the IBM PowerPC
|
||||
* STBx25xx "Redwood6" evaluation board.
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/sycamore.c
|
||||
*
|
||||
* Architecture- / platform-specific boot-time initialization code for
|
||||
* IBM PowerPC 4xx based boards.
|
||||
*
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/sycamore.h
|
||||
*
|
||||
* Sycamore board definitions
|
||||
*
|
||||
* Copyright (c) 2005 DENX Software Engineering
|
||||
|
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/virtex-ii_pro.c
|
||||
*
|
||||
* Author: MontaVista Software, Inc.
|
||||
* source@mvista.com
|
||||
*
|
||||
* 2002-2004 (c) MontaVista Software, Inc. This file is licensed under the
|
||||
* terms of the GNU General Public License version 2. This program is licensed
|
||||
* "as is" without any warranty of any kind, whether express or implied.
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/init.h>
|
||||
#include <asm/ocp.h>
|
||||
#include "virtex-ii_pro.h"
|
||||
|
||||
/* Have OCP take care of the serial ports. */
|
||||
struct ocp_def core_ocp[] = {
|
||||
#ifdef XPAR_UARTNS550_0_BASEADDR
|
||||
{ .vendor = OCP_VENDOR_XILINX,
|
||||
.function = OCP_FUNC_16550,
|
||||
.index = 0,
|
||||
.paddr = XPAR_UARTNS550_0_BASEADDR,
|
||||
.irq = XPAR_INTC_0_UARTNS550_0_VEC_ID,
|
||||
.pm = OCP_CPM_NA
|
||||
},
|
||||
#ifdef XPAR_UARTNS550_1_BASEADDR
|
||||
{ .vendor = OCP_VENDOR_XILINX,
|
||||
.function = OCP_FUNC_16550,
|
||||
.index = 1,
|
||||
.paddr = XPAR_UARTNS550_1_BASEADDR,
|
||||
.irq = XPAR_INTC_0_UARTNS550_1_VEC_ID,
|
||||
.pm = OCP_CPM_NA
|
||||
},
|
||||
#ifdef XPAR_UARTNS550_2_BASEADDR
|
||||
{ .vendor = OCP_VENDOR_XILINX,
|
||||
.function = OCP_FUNC_16550,
|
||||
.index = 2,
|
||||
.paddr = XPAR_UARTNS550_2_BASEADDR,
|
||||
.irq = XPAR_INTC_0_UARTNS550_2_VEC_ID,
|
||||
.pm = OCP_CPM_NA
|
||||
},
|
||||
#ifdef XPAR_UARTNS550_3_BASEADDR
|
||||
{ .vendor = OCP_VENDOR_XILINX,
|
||||
.function = OCP_FUNC_16550,
|
||||
.index = 3,
|
||||
.paddr = XPAR_UARTNS550_3_BASEADDR,
|
||||
.irq = XPAR_INTC_0_UARTNS550_3_VEC_ID,
|
||||
.pm = OCP_CPM_NA
|
||||
},
|
||||
#ifdef XPAR_UARTNS550_4_BASEADDR
|
||||
#error Edit this file to add more devices.
|
||||
#endif /* 4 */
|
||||
#endif /* 3 */
|
||||
#endif /* 2 */
|
||||
#endif /* 1 */
|
||||
#endif /* 0 */
|
||||
{ .vendor = OCP_VENDOR_INVALID
|
||||
}
|
||||
};
|
@@ -1,99 +0,0 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/virtex-ii_pro.h
|
||||
*
|
||||
* Include file that defines the Xilinx Virtex-II Pro processor
|
||||
*
|
||||
* Author: MontaVista Software, Inc.
|
||||
* source@mvista.com
|
||||
*
|
||||
* 2002-2004 (c) MontaVista Software, Inc. This file is licensed under the
|
||||
* terms of the GNU General Public License version 2. This program is licensed
|
||||
* "as is" without any warranty of any kind, whether express or implied.
|
||||
*/
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#ifndef __ASM_VIRTEXIIPRO_H__
|
||||
#define __ASM_VIRTEXIIPRO_H__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/xparameters.h>
|
||||
|
||||
/* serial defines */
|
||||
|
||||
#define RS_TABLE_SIZE 4 /* change this and add more devices below
|
||||
if you have more then 4 16x50 UARTs */
|
||||
|
||||
#define BASE_BAUD (XPAR_UARTNS550_0_CLOCK_FREQ_HZ/16)
|
||||
|
||||
/* The serial ports in the Virtex-II Pro have each I/O byte in the
|
||||
* LSByte of a word. This means that iomem_reg_shift needs to be 2 to
|
||||
* change the byte offsets into word offsets. In addition the base
|
||||
* addresses need to have 3 added to them to get to the LSByte.
|
||||
*/
|
||||
#define STD_UART_OP(num) \
|
||||
{ 0, BASE_BAUD, 0, XPAR_INTC_0_UARTNS550_##num##_VEC_ID, \
|
||||
ASYNC_BOOT_AUTOCONF, \
|
||||
.iomem_base = (u8 *)XPAR_UARTNS550_##num##_BASEADDR + 3, \
|
||||
.iomem_reg_shift = 2, \
|
||||
.io_type = SERIAL_IO_MEM},
|
||||
|
||||
#if defined(XPAR_INTC_0_UARTNS550_0_VEC_ID)
|
||||
#define ML300_UART0 STD_UART_OP(0)
|
||||
#else
|
||||
#define ML300_UART0
|
||||
#endif
|
||||
|
||||
#if defined(XPAR_INTC_0_UARTNS550_1_VEC_ID)
|
||||
#define ML300_UART1 STD_UART_OP(1)
|
||||
#else
|
||||
#define ML300_UART1
|
||||
#endif
|
||||
|
||||
#if defined(XPAR_INTC_0_UARTNS550_2_VEC_ID)
|
||||
#define ML300_UART2 STD_UART_OP(2)
|
||||
#else
|
||||
#define ML300_UART2
|
||||
#endif
|
||||
|
||||
#if defined(XPAR_INTC_0_UARTNS550_3_VEC_ID)
|
||||
#define ML300_UART3 STD_UART_OP(3)
|
||||
#else
|
||||
#define ML300_UART3
|
||||
#endif
|
||||
|
||||
#if defined(XPAR_INTC_0_UARTNS550_4_VEC_ID)
|
||||
#error Edit this file to add more devices.
|
||||
#elif defined(XPAR_INTC_0_UARTNS550_3_VEC_ID)
|
||||
#define NR_SER_PORTS 4
|
||||
#elif defined(XPAR_INTC_0_UARTNS550_2_VEC_ID)
|
||||
#define NR_SER_PORTS 3
|
||||
#elif defined(XPAR_INTC_0_UARTNS550_1_VEC_ID)
|
||||
#define NR_SER_PORTS 2
|
||||
#elif defined(XPAR_INTC_0_UARTNS550_0_VEC_ID)
|
||||
#define NR_SER_PORTS 1
|
||||
#else
|
||||
#define NR_SER_PORTS 0
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_UART0_TTYS0)
|
||||
#define SERIAL_PORT_DFNS \
|
||||
ML300_UART0 \
|
||||
ML300_UART1 \
|
||||
ML300_UART2 \
|
||||
ML300_UART3
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_UART0_TTYS1)
|
||||
#define SERIAL_PORT_DFNS \
|
||||
ML300_UART1 \
|
||||
ML300_UART0 \
|
||||
ML300_UART2 \
|
||||
ML300_UART3
|
||||
#endif
|
||||
|
||||
#define DCRN_CPMFR_BASE 0
|
||||
|
||||
#include <asm/ibm405.h>
|
||||
|
||||
#endif /* __ASM_VIRTEXIIPRO_H__ */
|
||||
#endif /* __KERNEL__ */
|
56
arch/ppc/platforms/4xx/virtex.c
Normal file
56
arch/ppc/platforms/4xx/virtex.c
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Virtex-II Pro & Virtex-4 FX common infrastructure
|
||||
*
|
||||
* Maintainer: Grant Likely <grant.likely@secretlab.ca>
|
||||
*
|
||||
* Copyright 2005 Secret Lab Technologies Ltd.
|
||||
* Copyright 2005 General Dynamics Canada Ltd.
|
||||
* Copyright 2005 Freescale Semiconductor Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation; either version 2 of the License, or (at your
|
||||
* option) any later version.
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/device.h>
|
||||
#include <linux/serial_8250.h>
|
||||
#include <asm/ppc_sys.h>
|
||||
#include <platforms/4xx/virtex.h>
|
||||
#include <platforms/4xx/xparameters/xparameters.h>
|
||||
|
||||
#define XPAR_UART(num) { \
|
||||
.mapbase = XPAR_UARTNS550_##num##_BASEADDR + 3, \
|
||||
.irq = XPAR_INTC_0_UARTNS550_##num##_VEC_ID, \
|
||||
.iotype = UPIO_MEM, \
|
||||
.uartclk = XPAR_UARTNS550_##num##_CLOCK_FREQ_HZ, \
|
||||
.flags = UPF_BOOT_AUTOCONF, \
|
||||
.regshift = 2, \
|
||||
}
|
||||
|
||||
struct plat_serial8250_port serial_platform_data[] = {
|
||||
#ifdef XPAR_UARTNS550_0_BASEADDR
|
||||
XPAR_UART(0),
|
||||
#endif
|
||||
#ifdef XPAR_UARTNS550_1_BASEADDR
|
||||
XPAR_UART(1),
|
||||
#endif
|
||||
#ifdef XPAR_UARTNS550_2_BASEADDR
|
||||
XPAR_UART(2),
|
||||
#endif
|
||||
#ifdef XPAR_UARTNS550_3_BASEADDR
|
||||
XPAR_UART(3),
|
||||
#endif
|
||||
{ }, /* terminated by empty record */
|
||||
};
|
||||
|
||||
struct platform_device ppc_sys_platform_devices[] = {
|
||||
[VIRTEX_UART] = {
|
||||
.name = "serial8250",
|
||||
.id = 0,
|
||||
.dev.platform_data = serial_platform_data,
|
||||
},
|
||||
};
|
||||
|
35
arch/ppc/platforms/4xx/virtex.h
Normal file
35
arch/ppc/platforms/4xx/virtex.h
Normal file
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/virtex.h
|
||||
*
|
||||
* Include file that defines the Xilinx Virtex-II Pro processor
|
||||
*
|
||||
* Author: MontaVista Software, Inc.
|
||||
* source@mvista.com
|
||||
*
|
||||
* 2002-2004 (c) MontaVista Software, Inc. This file is licensed under the
|
||||
* terms of the GNU General Public License version 2. This program is licensed
|
||||
* "as is" without any warranty of any kind, whether express or implied.
|
||||
*/
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#ifndef __ASM_VIRTEX_H__
|
||||
#define __ASM_VIRTEX_H__
|
||||
|
||||
/* serial defines */
|
||||
|
||||
#include <asm/ibm405.h>
|
||||
|
||||
/* Ugly, ugly, ugly! BASE_BAUD defined here to keep 8250.c happy. */
|
||||
#if !defined(BASE_BAUD)
|
||||
#define BASE_BAUD (0) /* dummy value; not used */
|
||||
#endif
|
||||
|
||||
/* Device type enumeration for platform bus definitions */
|
||||
#ifndef __ASSEMBLY__
|
||||
enum ppc_sys_devices {
|
||||
VIRTEX_UART, NUM_PPC_SYS_DEVS,
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_VIRTEX_H__ */
|
||||
#endif /* __KERNEL__ */
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/walnut.c
|
||||
*
|
||||
* Architecture- / platform-specific boot-time initialization code for
|
||||
* IBM PowerPC 4xx based boards. Adapted from original
|
||||
* code by Gary Thomas, Cort Dougan <cort@fsmlabs.com>, and Dan Malek
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/walnut.h
|
||||
*
|
||||
* Walnut board definitions
|
||||
*
|
||||
* Copyright (c) 2005 DENX Software Engineering
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/xilinx_ml300.c
|
||||
*
|
||||
* Xilinx ML300 evaluation board initialization
|
||||
*
|
||||
* Author: MontaVista Software, Inc.
|
||||
@@ -17,12 +15,14 @@
|
||||
#include <linux/tty.h>
|
||||
#include <linux/serial.h>
|
||||
#include <linux/serial_core.h>
|
||||
#include <linux/serial_8250.h>
|
||||
#include <linux/serialP.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/machdep.h>
|
||||
#include <asm/ocp.h>
|
||||
#include <asm/ppc_sys.h>
|
||||
|
||||
#include <platforms/4xx/virtex-ii_pro.h> /* for NR_SER_PORTS */
|
||||
#include <syslib/gen550.h>
|
||||
#include <platforms/4xx/xparameters/xparameters.h>
|
||||
|
||||
/*
|
||||
* As an overview of how the following functions (platform_init,
|
||||
@@ -54,6 +54,22 @@
|
||||
* ppc4xx_pic_init arch/ppc/syslib/xilinx_pic.c
|
||||
*/
|
||||
|
||||
/* Board specifications structures */
|
||||
struct ppc_sys_spec *cur_ppc_sys_spec;
|
||||
struct ppc_sys_spec ppc_sys_specs[] = {
|
||||
{
|
||||
/* Only one entry, always assume the same design */
|
||||
.ppc_sys_name = "Xilinx ML300 Reference Design",
|
||||
.mask = 0x00000000,
|
||||
.value = 0x00000000,
|
||||
.num_devices = 1,
|
||||
.device_list = (enum ppc_sys_devices[])
|
||||
{
|
||||
VIRTEX_UART,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
#if defined(XPAR_POWER_0_POWERDOWN_BASEADDR)
|
||||
|
||||
static volatile unsigned *powerdown_base =
|
||||
@@ -80,28 +96,39 @@ ml300_map_io(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Early serial support functions */
|
||||
static void __init
|
||||
ml300_early_serial_init(int num, struct plat_serial8250_port *pdata)
|
||||
{
|
||||
#if defined(CONFIG_SERIAL_TEXT_DEBUG) || defined(CONFIG_KGDB)
|
||||
struct uart_port serial_req;
|
||||
|
||||
memset(&serial_req, 0, sizeof(serial_req));
|
||||
serial_req.mapbase = pdata->mapbase;
|
||||
serial_req.membase = pdata->membase;
|
||||
serial_req.irq = pdata->irq;
|
||||
serial_req.uartclk = pdata->uartclk;
|
||||
serial_req.regshift = pdata->regshift;
|
||||
serial_req.iotype = pdata->iotype;
|
||||
serial_req.flags = pdata->flags;
|
||||
gen550_init(num, &serial_req);
|
||||
#endif
|
||||
}
|
||||
|
||||
void __init
|
||||
ml300_early_serial_map(void)
|
||||
{
|
||||
#ifdef CONFIG_SERIAL_8250
|
||||
struct serial_state old_ports[] = { SERIAL_PORT_DFNS };
|
||||
struct uart_port port;
|
||||
int i;
|
||||
struct plat_serial8250_port *pdata;
|
||||
int i = 0;
|
||||
|
||||
/* Setup ioremapped serial port access */
|
||||
for (i = 0; i < ARRAY_SIZE(old_ports); i++ ) {
|
||||
memset(&port, 0, sizeof(port));
|
||||
port.membase = ioremap((phys_addr_t)(old_ports[i].iomem_base), 16);
|
||||
port.irq = old_ports[i].irq;
|
||||
port.uartclk = old_ports[i].baud_base * 16;
|
||||
port.regshift = old_ports[i].iomem_reg_shift;
|
||||
port.iotype = UPIO_MEM;
|
||||
port.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST;
|
||||
port.line = i;
|
||||
|
||||
if (early_serial_setup(&port) != 0) {
|
||||
printk("Early serial init of port %d failed\n", i);
|
||||
}
|
||||
pdata = (struct plat_serial8250_port *) ppc_sys_get_pdata(VIRTEX_UART);
|
||||
while(pdata && pdata->flags)
|
||||
{
|
||||
pdata->membase = ioremap(pdata->mapbase, 0x100);
|
||||
ml300_early_serial_init(i, pdata);
|
||||
pdata++;
|
||||
i++;
|
||||
}
|
||||
#endif /* CONFIG_SERIAL_8250 */
|
||||
}
|
||||
@@ -109,9 +136,8 @@ ml300_early_serial_map(void)
|
||||
void __init
|
||||
ml300_setup_arch(void)
|
||||
{
|
||||
ppc4xx_setup_arch(); /* calls ppc4xx_find_bridges() */
|
||||
|
||||
ml300_early_serial_map();
|
||||
ppc4xx_setup_arch(); /* calls ppc4xx_find_bridges() */
|
||||
|
||||
/* Identify the system */
|
||||
printk(KERN_INFO "Xilinx Virtex-II Pro port\n");
|
||||
@@ -131,6 +157,8 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
|
||||
{
|
||||
ppc4xx_init(r3, r4, r5, r6, r7);
|
||||
|
||||
identify_ppc_sys_by_id(mfspr(SPRN_PVR));
|
||||
|
||||
ppc_md.setup_arch = ml300_setup_arch;
|
||||
ppc_md.setup_io_mappings = ml300_map_io;
|
||||
ppc_md.init_IRQ = ml300_init_irq;
|
||||
|
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/xilinx_ml300.h
|
||||
*
|
||||
* Include file that defines the Xilinx ML300 evaluation board
|
||||
*
|
||||
* Author: MontaVista Software, Inc.
|
||||
@@ -16,7 +14,7 @@
|
||||
#define __ASM_XILINX_ML300_H__
|
||||
|
||||
/* ML300 has a Xilinx Virtex-II Pro processor */
|
||||
#include <platforms/4xx/virtex-ii_pro.h>
|
||||
#include <platforms/4xx/virtex.h>
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
@@ -41,7 +39,7 @@ typedef struct board_info {
|
||||
#define PPC4xx_ONB_IO_VADDR 0u
|
||||
#define PPC4xx_ONB_IO_SIZE 0u
|
||||
|
||||
#define PPC4xx_MACHINE_NAME "Xilinx ML300"
|
||||
#define PPC4xx_MACHINE_NAME "Xilinx ML300 Reference System"
|
||||
|
||||
#endif /* __ASM_XILINX_ML300_H__ */
|
||||
#endif /* __KERNEL__ */
|
||||
|
177
arch/ppc/platforms/4xx/xilinx_ml403.c
Normal file
177
arch/ppc/platforms/4xx/xilinx_ml403.c
Normal file
@@ -0,0 +1,177 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/xilinx_ml403.c
|
||||
*
|
||||
* Xilinx ML403 evaluation board initialization
|
||||
*
|
||||
* Author: Grant Likely <grant.likely@secretlab.ca>
|
||||
*
|
||||
* 2005 (c) Secret Lab Technologies Ltd.
|
||||
* 2002-2004 (c) MontaVista Software, Inc.
|
||||
*
|
||||
* This file is licensed under the terms of the GNU General Public License
|
||||
* version 2. This program is licensed "as is" without any warranty of any
|
||||
* kind, whether express or implied.
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/tty.h>
|
||||
#include <linux/serial.h>
|
||||
#include <linux/serial_core.h>
|
||||
#include <linux/serial_8250.h>
|
||||
#include <linux/serialP.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/machdep.h>
|
||||
#include <asm/ppc_sys.h>
|
||||
|
||||
#include <syslib/gen550.h>
|
||||
#include <platforms/4xx/xparameters/xparameters.h>
|
||||
|
||||
/*
|
||||
* As an overview of how the following functions (platform_init,
|
||||
* ml403_map_io, ml403_setup_arch and ml403_init_IRQ) fit into the
|
||||
* kernel startup procedure, here's a call tree:
|
||||
*
|
||||
* start_here arch/ppc/kernel/head_4xx.S
|
||||
* early_init arch/ppc/kernel/setup.c
|
||||
* machine_init arch/ppc/kernel/setup.c
|
||||
* platform_init this file
|
||||
* ppc4xx_init arch/ppc/syslib/ppc4xx_setup.c
|
||||
* parse_bootinfo
|
||||
* find_bootinfo
|
||||
* "setup some default ppc_md pointers"
|
||||
* MMU_init arch/ppc/mm/init.c
|
||||
* *ppc_md.setup_io_mappings == ml403_map_io this file
|
||||
* ppc4xx_map_io arch/ppc/syslib/ppc4xx_setup.c
|
||||
* start_kernel init/main.c
|
||||
* setup_arch arch/ppc/kernel/setup.c
|
||||
* #if defined(CONFIG_KGDB)
|
||||
* *ppc_md.kgdb_map_scc() == gen550_kgdb_map_scc
|
||||
* #endif
|
||||
* *ppc_md.setup_arch == ml403_setup_arch this file
|
||||
* ppc4xx_setup_arch arch/ppc/syslib/ppc4xx_setup.c
|
||||
* ppc4xx_find_bridges arch/ppc/syslib/ppc405_pci.c
|
||||
* init_IRQ arch/ppc/kernel/irq.c
|
||||
* *ppc_md.init_IRQ == ml403_init_IRQ this file
|
||||
* ppc4xx_init_IRQ arch/ppc/syslib/ppc4xx_setup.c
|
||||
* ppc4xx_pic_init arch/ppc/syslib/xilinx_pic.c
|
||||
*/
|
||||
|
||||
/* Board specifications structures */
|
||||
struct ppc_sys_spec *cur_ppc_sys_spec;
|
||||
struct ppc_sys_spec ppc_sys_specs[] = {
|
||||
{
|
||||
/* Only one entry, always assume the same design */
|
||||
.ppc_sys_name = "Xilinx ML403 Reference Design",
|
||||
.mask = 0x00000000,
|
||||
.value = 0x00000000,
|
||||
.num_devices = 1,
|
||||
.device_list = (enum ppc_sys_devices[])
|
||||
{
|
||||
VIRTEX_UART,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
#if defined(XPAR_POWER_0_POWERDOWN_BASEADDR)
|
||||
|
||||
static volatile unsigned *powerdown_base =
|
||||
(volatile unsigned *) XPAR_POWER_0_POWERDOWN_BASEADDR;
|
||||
|
||||
static void
|
||||
xilinx_power_off(void)
|
||||
{
|
||||
local_irq_disable();
|
||||
out_be32(powerdown_base, XPAR_POWER_0_POWERDOWN_VALUE);
|
||||
while (1) ;
|
||||
}
|
||||
#endif
|
||||
|
||||
void __init
|
||||
ml403_map_io(void)
|
||||
{
|
||||
ppc4xx_map_io();
|
||||
|
||||
#if defined(XPAR_POWER_0_POWERDOWN_BASEADDR)
|
||||
powerdown_base = ioremap((unsigned long) powerdown_base,
|
||||
XPAR_POWER_0_POWERDOWN_HIGHADDR -
|
||||
XPAR_POWER_0_POWERDOWN_BASEADDR + 1);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Early serial support functions */
|
||||
static void __init
|
||||
ml403_early_serial_init(int num, struct plat_serial8250_port *pdata)
|
||||
{
|
||||
#if defined(CONFIG_SERIAL_TEXT_DEBUG) || defined(CONFIG_KGDB)
|
||||
struct uart_port serial_req;
|
||||
|
||||
memset(&serial_req, 0, sizeof(serial_req));
|
||||
serial_req.mapbase = pdata->mapbase;
|
||||
serial_req.membase = pdata->membase;
|
||||
serial_req.irq = pdata->irq;
|
||||
serial_req.uartclk = pdata->uartclk;
|
||||
serial_req.regshift = pdata->regshift;
|
||||
serial_req.iotype = pdata->iotype;
|
||||
serial_req.flags = pdata->flags;
|
||||
gen550_init(num, &serial_req);
|
||||
#endif
|
||||
}
|
||||
|
||||
void __init
|
||||
ml403_early_serial_map(void)
|
||||
{
|
||||
#ifdef CONFIG_SERIAL_8250
|
||||
struct plat_serial8250_port *pdata;
|
||||
int i = 0;
|
||||
|
||||
pdata = (struct plat_serial8250_port *) ppc_sys_get_pdata(VIRTEX_UART);
|
||||
while(pdata && pdata->flags)
|
||||
{
|
||||
pdata->membase = ioremap(pdata->mapbase, 0x100);
|
||||
ml403_early_serial_init(i, pdata);
|
||||
pdata++;
|
||||
i++;
|
||||
}
|
||||
#endif /* CONFIG_SERIAL_8250 */
|
||||
}
|
||||
|
||||
void __init
|
||||
ml403_setup_arch(void)
|
||||
{
|
||||
ml403_early_serial_map();
|
||||
ppc4xx_setup_arch(); /* calls ppc4xx_find_bridges() */
|
||||
|
||||
/* Identify the system */
|
||||
printk(KERN_INFO "Xilinx ML403 Reference System (Virtex-4 FX)\n");
|
||||
}
|
||||
|
||||
/* Called after board_setup_irq from ppc4xx_init_IRQ(). */
|
||||
void __init
|
||||
ml403_init_irq(void)
|
||||
{
|
||||
ppc4xx_init_IRQ();
|
||||
}
|
||||
|
||||
void __init
|
||||
platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
|
||||
unsigned long r6, unsigned long r7)
|
||||
{
|
||||
ppc4xx_init(r3, r4, r5, r6, r7);
|
||||
|
||||
identify_ppc_sys_by_id(mfspr(SPRN_PVR));
|
||||
|
||||
ppc_md.setup_arch = ml403_setup_arch;
|
||||
ppc_md.setup_io_mappings = ml403_map_io;
|
||||
ppc_md.init_IRQ = ml403_init_irq;
|
||||
|
||||
#if defined(XPAR_POWER_0_POWERDOWN_BASEADDR)
|
||||
ppc_md.power_off = xilinx_power_off;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_KGDB
|
||||
ppc_md.early_serial_map = ml403_early_serial_map;
|
||||
#endif
|
||||
}
|
||||
|
49
arch/ppc/platforms/4xx/xilinx_ml403.h
Normal file
49
arch/ppc/platforms/4xx/xilinx_ml403.h
Normal file
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* arch/ppc/platforms/4xx/xilinx_ml403.h
|
||||
*
|
||||
* Include file that defines the Xilinx ML403 reference design
|
||||
*
|
||||
* Author: Grant Likely <grant.likely@secretlab.ca>
|
||||
*
|
||||
* 2005 (c) Secret Lab Technologies Ltd.
|
||||
* 2002-2004 (c) MontaVista Software, Inc.
|
||||
*
|
||||
* This file is licensed under the terms of the GNU General Public License
|
||||
* version 2. This program is licensed "as is" without any warranty of any
|
||||
* kind, whether express or implied.
|
||||
*/
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#ifndef __ASM_XILINX_ML403_H__
|
||||
#define __ASM_XILINX_ML403_H__
|
||||
|
||||
/* ML403 has a Xilinx Virtex-4 FPGA with a PPC405 hard core */
|
||||
#include <platforms/4xx/virtex.h>
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
typedef struct board_info {
|
||||
unsigned int bi_memsize; /* DRAM installed, in bytes */
|
||||
unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
|
||||
unsigned int bi_intfreq; /* Processor speed, in Hz */
|
||||
unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
|
||||
unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
|
||||
} bd_t;
|
||||
|
||||
/* Some 4xx parts use a different timebase frequency from the internal clock.
|
||||
*/
|
||||
#define bi_tbfreq bi_intfreq
|
||||
|
||||
#endif /* !__ASSEMBLY__ */
|
||||
|
||||
/* We don't need anything mapped. Size of zero will accomplish that. */
|
||||
#define PPC4xx_ONB_IO_PADDR 0u
|
||||
#define PPC4xx_ONB_IO_VADDR 0u
|
||||
#define PPC4xx_ONB_IO_SIZE 0u
|
||||
|
||||
#define PPC4xx_MACHINE_NAME "Xilinx ML403 Reference Design"
|
||||
|
||||
#endif /* __ASM_XILINX_ML403_H__ */
|
||||
#endif /* __KERNEL__ */
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user