mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
remove the v850 port
Trying to compile the v850 port brings many compile errors, one of them exists since at least kernel 2.6.19. There also seems to be noone willing to bring this port back into a usable state. This patch therefore removes the v850 port. If anyone ever decides to revive the v850 port the code will still be available from older kernels, and it wouldn't be impossible for the port to reenter the kernel if it would become actively maintained again. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
99764fa4ce
commit
f606ddf42f
@@ -4131,9 +4131,6 @@ W: http://www.uclinux.org/
|
||||
L: uclinux-dev@uclinux.org (subscribers-only)
|
||||
S: Maintained
|
||||
|
||||
UCLINUX FOR NEC V850
|
||||
P: Miles Bader
|
||||
|
||||
UCLINUX FOR RENESAS H8/300
|
||||
P: Yoshinori Sato
|
||||
M: ysato@users.sourceforge.jp
|
||||
|
||||
@@ -1,353 +0,0 @@
|
||||
#############################################################################
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see Documentation/kbuild/kconfig-language.txt.
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"
|
||||
|
||||
config MMU
|
||||
bool
|
||||
default n
|
||||
config ZONE_DMA
|
||||
bool
|
||||
default y
|
||||
config RWSEM_GENERIC_SPINLOCK
|
||||
bool
|
||||
default y
|
||||
config RWSEM_XCHGADD_ALGORITHM
|
||||
bool
|
||||
default n
|
||||
config GENERIC_FIND_NEXT_BIT
|
||||
bool
|
||||
default y
|
||||
config GENERIC_HWEIGHT
|
||||
bool
|
||||
default y
|
||||
config GENERIC_CALIBRATE_DELAY
|
||||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_HARDIRQS
|
||||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_IRQ_PROBE
|
||||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_TIME
|
||||
bool
|
||||
default y
|
||||
|
||||
config TIME_LOW_RES
|
||||
bool
|
||||
default y
|
||||
|
||||
config ARCH_HAS_ILOG2_U32
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_HAS_ILOG2_U64
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_SUPPORTS_AOUT
|
||||
def_bool y
|
||||
|
||||
# Turn off some random 386 crap that can affect device config
|
||||
config ISA
|
||||
bool
|
||||
default n
|
||||
config ISAPNP
|
||||
bool
|
||||
default n
|
||||
config EISA
|
||||
bool
|
||||
default n
|
||||
config MCA
|
||||
bool
|
||||
default n
|
||||
|
||||
|
||||
#############################################################################
|
||||
#### v850-specific config
|
||||
|
||||
# Define the architecture
|
||||
config V850
|
||||
bool
|
||||
default y
|
||||
select HAVE_IDE
|
||||
|
||||
menu "Processor type and features"
|
||||
|
||||
choice
|
||||
prompt "Platform"
|
||||
default GDB
|
||||
config V850E_SIM
|
||||
bool "GDB"
|
||||
config RTE_CB_MA1
|
||||
bool "RTE-V850E/MA1-CB"
|
||||
config RTE_CB_NB85E
|
||||
bool "RTE-V850E/NB85E-CB"
|
||||
config RTE_CB_ME2
|
||||
bool "RTE-V850E/ME2-CB"
|
||||
config V850E_AS85EP1
|
||||
bool "AS85EP1"
|
||||
config V850E2_SIM85E2C
|
||||
bool "sim85e2c"
|
||||
config V850E2_SIM85E2S
|
||||
bool "sim85e2s"
|
||||
config V850E2_FPGA85E2C
|
||||
bool "NA85E2C-FPGA"
|
||||
config V850E2_ANNA
|
||||
bool "Anna"
|
||||
endchoice
|
||||
|
||||
#### V850E processor-specific config
|
||||
|
||||
# All CPUs currently supported use the v850e architecture
|
||||
config V850E
|
||||
bool
|
||||
default y
|
||||
|
||||
# The RTE-V850E/MA1-CB is the only type of V850E/MA1 platform we
|
||||
# currently support
|
||||
config V850E_MA1
|
||||
bool
|
||||
depends on RTE_CB_MA1
|
||||
default y
|
||||
# Similarly for the RTE-V850E/NB85E-CB - V850E/TEG
|
||||
config V850E_TEG
|
||||
bool
|
||||
depends on RTE_CB_NB85E
|
||||
default y
|
||||
# ... and the RTE-V850E/ME2-CB - V850E/ME2
|
||||
config V850E_ME2
|
||||
bool
|
||||
depends on RTE_CB_ME2
|
||||
default y
|
||||
|
||||
|
||||
#### sim85e2-specific config
|
||||
|
||||
config V850E2_SIM85E2
|
||||
bool
|
||||
depends on V850E2_SIM85E2C || V850E2_SIM85E2S
|
||||
default y
|
||||
|
||||
|
||||
#### V850E2 processor-specific config
|
||||
|
||||
# V850E2 processors
|
||||
config V850E2
|
||||
bool
|
||||
depends on V850E2_SIM85E2 || V850E2_FPGA85E2C || V850E2_ANNA
|
||||
default y
|
||||
|
||||
|
||||
#### RTE-CB platform-specific config
|
||||
|
||||
# Boards in the RTE-x-CB series
|
||||
config RTE_CB
|
||||
bool
|
||||
depends on RTE_CB_MA1 || RTE_CB_NB85E || RTE_CB_ME2
|
||||
default y
|
||||
|
||||
config RTE_CB_MULTI
|
||||
bool
|
||||
# RTE_CB_NB85E can either have multi ROM support or not, but
|
||||
# other platforms (currently only RTE_CB_MA1) require it.
|
||||
prompt "Multi monitor ROM support" if RTE_CB_NB85E
|
||||
depends on RTE_CB_MA1 || RTE_CB_NB85E
|
||||
default y
|
||||
|
||||
config RTE_CB_MULTI_DBTRAP
|
||||
bool "Pass illegal insn trap / dbtrap to kernel"
|
||||
depends on RTE_CB_MULTI
|
||||
default n
|
||||
|
||||
config RTE_CB_MA1_KSRAM
|
||||
bool "Kernel in SRAM (limits size of kernel)"
|
||||
depends on RTE_CB_MA1 && RTE_CB_MULTI
|
||||
default n
|
||||
|
||||
config RTE_MB_A_PCI
|
||||
bool "Mother-A PCI support"
|
||||
depends on RTE_CB
|
||||
default y
|
||||
|
||||
# The GBUS is used to talk to the RTE-MOTHER-A board
|
||||
config RTE_GBUS_INT
|
||||
bool
|
||||
depends on RTE_MB_A_PCI
|
||||
default y
|
||||
|
||||
# The only PCI bus we support is on the RTE-MOTHER-A board
|
||||
config PCI
|
||||
bool
|
||||
default RTE_MB_A_PCI
|
||||
|
||||
#### Some feature-specific configs
|
||||
|
||||
# Everything except for the GDB simulator uses the same interrupt controller
|
||||
config V850E_INTC
|
||||
bool
|
||||
default !V850E_SIM
|
||||
|
||||
# Everything except for the various simulators uses the "Timer D" unit
|
||||
config V850E_TIMER_D
|
||||
bool
|
||||
default !V850E_SIM && !V850E2_SIM85E2
|
||||
|
||||
# Cache control used on some v850e1 processors
|
||||
config V850E_CACHE
|
||||
bool
|
||||
default V850E_TEG || V850E_ME2
|
||||
|
||||
# Cache control used on v850e2 processors; I think this should
|
||||
# actually apply to more, but currently only the SIM85E2S uses it
|
||||
config V850E2_CACHE
|
||||
bool
|
||||
default V850E2_SIM85E2S
|
||||
|
||||
config NO_CACHE
|
||||
bool
|
||||
default !V850E_CACHE && !V850E2_CACHE
|
||||
|
||||
# HZ depends on the platform
|
||||
config HZ
|
||||
int
|
||||
default 24 if V850E_SIM || V850E2_SIM85E2
|
||||
default 122 if V850E2_FPGA85E2C
|
||||
default 100
|
||||
|
||||
#### Misc config
|
||||
|
||||
config ROM_KERNEL
|
||||
bool "Kernel in ROM"
|
||||
depends on V850E2_ANNA || V850E_AS85EP1 || RTE_CB_ME2
|
||||
|
||||
# Some platforms pre-zero memory, in which case the kernel doesn't need to
|
||||
config ZERO_BSS
|
||||
bool
|
||||
depends on !V850E2_SIM85E2C
|
||||
default y
|
||||
|
||||
# The crappy-ass zone allocator requires that the start of allocatable
|
||||
# memory be aligned to the largest possible allocation.
|
||||
config FORCE_MAX_ZONEORDER
|
||||
int
|
||||
default 8 if V850E2_SIM85E2C || V850E2_FPGA85E2C
|
||||
|
||||
config V850E_HIGHRES_TIMER
|
||||
bool "High resolution timer support"
|
||||
depends on V850E_TIMER_D
|
||||
config TIME_BOOTUP
|
||||
bool "Time bootup"
|
||||
depends on V850E_HIGHRES_TIMER
|
||||
|
||||
config RESET_GUARD
|
||||
bool "Reset Guard"
|
||||
|
||||
source "mm/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
|
||||
#############################################################################
|
||||
|
||||
source init/Kconfig
|
||||
|
||||
#############################################################################
|
||||
|
||||
menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
|
||||
|
||||
# config PCI
|
||||
# bool "PCI support"
|
||||
# help
|
||||
# Support for PCI bus.
|
||||
|
||||
source "drivers/pci/Kconfig"
|
||||
|
||||
source "drivers/pcmcia/Kconfig"
|
||||
|
||||
source "drivers/pci/hotplug/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Executable file formats"
|
||||
|
||||
source "fs/Kconfig.binfmt"
|
||||
|
||||
endmenu
|
||||
|
||||
source "net/Kconfig"
|
||||
|
||||
#############################################################################
|
||||
|
||||
source "drivers/base/Kconfig"
|
||||
|
||||
source drivers/mtd/Kconfig
|
||||
|
||||
source drivers/parport/Kconfig
|
||||
|
||||
#source drivers/pnp/Kconfig
|
||||
|
||||
source drivers/block/Kconfig
|
||||
|
||||
#############################################################################
|
||||
|
||||
menu "Disk device support"
|
||||
|
||||
source "drivers/ide/Kconfig"
|
||||
|
||||
source "drivers/scsi/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
||||
#############################################################################
|
||||
|
||||
|
||||
source "drivers/md/Kconfig"
|
||||
|
||||
source "drivers/message/fusion/Kconfig"
|
||||
|
||||
source "drivers/ieee1394/Kconfig"
|
||||
|
||||
source "drivers/message/i2o/Kconfig"
|
||||
|
||||
source "drivers/net/Kconfig"
|
||||
|
||||
source "drivers/isdn/Kconfig"
|
||||
|
||||
#source "drivers/telephony/Kconfig"
|
||||
|
||||
#
|
||||
# input before char - char/joystick depends on it. As does USB.
|
||||
#
|
||||
source "drivers/input/Kconfig"
|
||||
|
||||
source "drivers/char/Kconfig"
|
||||
|
||||
#source drivers/misc/Config.in
|
||||
source "drivers/media/Kconfig"
|
||||
|
||||
source "fs/Kconfig"
|
||||
|
||||
source "drivers/video/Kconfig"
|
||||
|
||||
source "sound/Kconfig"
|
||||
|
||||
source "drivers/usb/Kconfig"
|
||||
|
||||
source "arch/v850/Kconfig.debug"
|
||||
|
||||
source "security/Kconfig"
|
||||
|
||||
source "crypto/Kconfig"
|
||||
|
||||
source "lib/Kconfig"
|
||||
|
||||
#############################################################################
|
||||
@@ -1,10 +0,0 @@
|
||||
menu "Kernel hacking"
|
||||
|
||||
source "lib/Kconfig.debug"
|
||||
|
||||
config NO_KERNEL_MSG
|
||||
bool "Suppress Kernel BUG Messages"
|
||||
help
|
||||
Do not output any debug BUG messages within the kernel.
|
||||
|
||||
endmenu
|
||||
@@ -1,54 +0,0 @@
|
||||
#
|
||||
# arch/v850/Makefile
|
||||
#
|
||||
# Copyright (C) 2001,02,03,05 NEC Corporation
|
||||
# Copyright (C) 2001,02,03,05 Miles Bader <miles@gnu.org>
|
||||
#
|
||||
# This file is included by the global makefile so that you can add your own
|
||||
# architecture-specific flags and dependencies. Remember to do have actions
|
||||
# for "archclean" and "archdep" for cleaning up and making dependencies for
|
||||
# this architecture
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
arch_dir = arch/v850
|
||||
|
||||
KBUILD_CFLAGS += -mv850e
|
||||
# r16 is a fixed pointer to the current task
|
||||
KBUILD_CFLAGS += -ffixed-r16 -mno-prolog-function
|
||||
KBUILD_CFLAGS += -fno-builtin
|
||||
KBUILD_CFLAGS += -D__linux__ -DUTS_SYSNAME=\"uClinux\"
|
||||
|
||||
# By default, build a kernel that runs on the gdb v850 simulator.
|
||||
KBUILD_DEFCONFIG := sim_defconfig
|
||||
|
||||
# This prevents the linker from consolidating the .gnu.linkonce.this_module
|
||||
# section into .text (which the v850 default linker script for -r does for
|
||||
# some reason)
|
||||
LDFLAGS_MODULE += --unique=.gnu.linkonce.this_module
|
||||
|
||||
OBJCOPY_FLAGS_BLOB := -I binary -O elf32-little -B v850e
|
||||
|
||||
|
||||
head-y := $(arch_dir)/kernel/head.o $(arch_dir)/kernel/init_task.o
|
||||
core-y += $(arch_dir)/kernel/
|
||||
libs-y += $(arch_dir)/lib/
|
||||
|
||||
|
||||
# Deal with the initial contents of the root device
|
||||
ifdef ROOT_FS_IMAGE
|
||||
core-y += root_fs_image.o
|
||||
|
||||
# Because the kernel build-system erases all explicit .o build rules, we
|
||||
# have to use an intermediate target to fool it into building for us.
|
||||
# This results in it being built anew each time, but that's alright.
|
||||
root_fs_image.o: root_fs_image_force
|
||||
|
||||
root_fs_image_force: $(ROOT_FS_IMAGE)
|
||||
$(OBJCOPY) $(OBJCOPY_FLAGS_BLOB) --rename-section .data=.root,alloc,load,readonly,data,contents $< root_fs_image.o
|
||||
endif
|
||||
|
||||
CLEAN_FILES += root_fs_image.o
|
||||
@@ -1,44 +0,0 @@
|
||||
This port to the NEC V850E processor supports the following platforms:
|
||||
|
||||
"sim"
|
||||
The gdb v850e simulator (CONFIG_V850E_SIM).
|
||||
|
||||
"rte-ma1-cb"
|
||||
The Midas labs RTE-V850E/MA1-CB and RTE-V850E/NB85E-CB evaluation
|
||||
boards (CONFIG_RTE_CB_MA1 and CONFIG_RTE_CB_NB85E). This support
|
||||
has only been tested when running with the Multi-debugger monitor
|
||||
ROM (for the Green Hills Multi debugger). The optional NEC
|
||||
Solution Gear RTE-MOTHER-A motherboard is also supported, which
|
||||
allows PCI boards to be used (CONFIG_RTE_MB_A_PCI).
|
||||
|
||||
"rte-me2-cb"
|
||||
The Midas labs RTE-V850E/ME2-CB evaluation board (CONFIG_RTE_CB_ME2).
|
||||
This has only been tested using a kernel downloaded via an ICE
|
||||
connection using the Multi debugger. Support for the RTE-MOTHER-A is
|
||||
present, but hasn't been tested (unlike the other Midas labs cpu
|
||||
boards, the RTE-V850E/ME2-CB includes an ethernet adaptor).
|
||||
|
||||
"as85ep1"
|
||||
The NEC AS85EP1 V850E evaluation chip/board (CONFIG_V850E_AS85EP1).
|
||||
|
||||
"anna"
|
||||
The NEC `Anna' (board/chip) implementation of the V850E2 processor
|
||||
(CONFIG_V850E2_ANNA).
|
||||
|
||||
"sim85e2c", "sim85e2s"
|
||||
The sim85e2c and sim85e2s simulators, which are verilog simulations
|
||||
of the V850E2 NA85E2C/NA85E2S cpu cores (CONFIG_V850E2_SIM85E2C and
|
||||
CONFIG_V850E2_SIM85E2S).
|
||||
|
||||
"fpga85e2c"
|
||||
A FPGA implementation of the V850E2 NA85E2C cpu core
|
||||
(CONFIG_V850E2_FPGA85E2C).
|
||||
|
||||
To get a default kernel configuration for a particular platform, you can
|
||||
use a <platform>_defconfig make target (e.g., "make rte-me2-cb_defconfig");
|
||||
to see which default configurations are possible, look in the directory
|
||||
"arch/v850/configs".
|
||||
|
||||
Porting to anything with a V850E/MA1 or MA2 processor should be simple.
|
||||
See the file <asm-v850/machdep.h> and the files it includes for an example of
|
||||
how to add platform/chip-specific support.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,462 +0,0 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux kernel version: 2.6.13-uc0
|
||||
# Fri Sep 2 13:47:50 2005
|
||||
#
|
||||
# CONFIG_MMU is not set
|
||||
# CONFIG_UID16 is not set
|
||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
|
||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||
# CONFIG_ISA is not set
|
||||
# CONFIG_ISAPNP is not set
|
||||
# CONFIG_EISA is not set
|
||||
# CONFIG_MCA is not set
|
||||
CONFIG_V850=y
|
||||
|
||||
#
|
||||
# Processor type and features
|
||||
#
|
||||
# CONFIG_V850E_SIM is not set
|
||||
# CONFIG_RTE_CB_MA1 is not set
|
||||
# CONFIG_RTE_CB_NB85E is not set
|
||||
CONFIG_RTE_CB_ME2=y
|
||||
# CONFIG_V850E_AS85EP1 is not set
|
||||
# CONFIG_V850E2_SIM85E2C is not set
|
||||
# CONFIG_V850E2_SIM85E2S is not set
|
||||
# CONFIG_V850E2_FPGA85E2C is not set
|
||||
# CONFIG_V850E2_ANNA is not set
|
||||
CONFIG_V850E=y
|
||||
CONFIG_V850E_ME2=y
|
||||
CONFIG_RTE_CB=y
|
||||
# CONFIG_RTE_MB_A_PCI is not set
|
||||
# CONFIG_PCI is not set
|
||||
CONFIG_V850E_INTC=y
|
||||
CONFIG_V850E_TIMER_D=y
|
||||
CONFIG_V850E_CACHE=y
|
||||
# CONFIG_V850E2_CACHE is not set
|
||||
# CONFIG_NO_CACHE is not set
|
||||
# CONFIG_ROM_KERNEL is not set
|
||||
CONFIG_ZERO_BSS=y
|
||||
# CONFIG_V850E_HIGHRES_TIMER is not set
|
||||
# CONFIG_RESET_GUARD is not set
|
||||
CONFIG_LARGE_ALLOCS=y
|
||||
CONFIG_FLATMEM=y
|
||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||
|
||||
#
|
||||
# Code maturity level options
|
||||
#
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
CONFIG_CLEAN_COMPILE=y
|
||||
CONFIG_BROKEN_ON_SMP=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
|
||||
#
|
||||
# General setup
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
# CONFIG_BSD_PROCESS_ACCT is not set
|
||||
# CONFIG_SYSCTL is not set
|
||||
# CONFIG_HOTPLUG is not set
|
||||
# CONFIG_IKCONFIG is not set
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_KALLSYMS is not set
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_BUG=y
|
||||
# CONFIG_BASE_FULL is not set
|
||||
# CONFIG_FUTEX is not set
|
||||
# CONFIG_EPOLL is not set
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_CC_ALIGN_FUNCTIONS=0
|
||||
CONFIG_CC_ALIGN_LABELS=0
|
||||
CONFIG_CC_ALIGN_LOOPS=0
|
||||
CONFIG_CC_ALIGN_JUMPS=0
|
||||
CONFIG_BASE_SMALL=1
|
||||
|
||||
#
|
||||
# Loadable module support
|
||||
#
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_OBSOLETE_MODPARM=y
|
||||
# CONFIG_MODULE_SRCVERSION_ALL is not set
|
||||
CONFIG_KMOD=y
|
||||
|
||||
#
|
||||
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
|
||||
#
|
||||
|
||||
#
|
||||
# PCCARD (PCMCIA/CardBus) support
|
||||
#
|
||||
# CONFIG_PCCARD is not set
|
||||
|
||||
#
|
||||
# PCI Hotplug Support
|
||||
#
|
||||
|
||||
#
|
||||
# Executable file formats
|
||||
#
|
||||
CONFIG_BINFMT_FLAT=y
|
||||
# CONFIG_BINFMT_ZFLAT is not set
|
||||
# CONFIG_BINFMT_SHARED_FLAT is not set
|
||||
# CONFIG_BINFMT_MISC is not set
|
||||
|
||||
#
|
||||
# Networking
|
||||
#
|
||||
# CONFIG_NET is not set
|
||||
|
||||
#
|
||||
# Generic Driver Options
|
||||
#
|
||||
CONFIG_STANDALONE=y
|
||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||
# CONFIG_FW_LOADER is not set
|
||||
# CONFIG_DEBUG_DRIVER is not set
|
||||
|
||||
#
|
||||
# Memory Technology Devices (MTD)
|
||||
#
|
||||
CONFIG_MTD=y
|
||||
# CONFIG_MTD_DEBUG is not set
|
||||
# CONFIG_MTD_CONCAT is not set
|
||||
# CONFIG_MTD_PARTITIONS is not set
|
||||
|
||||
#
|
||||
# User Modules And Translation Layers
|
||||
#
|
||||
# CONFIG_MTD_CHAR is not set
|
||||
CONFIG_MTD_BLOCK=y
|
||||
# CONFIG_FTL is not set
|
||||
# CONFIG_NFTL is not set
|
||||
# CONFIG_INFTL is not set
|
||||
|
||||
#
|
||||
# RAM/ROM/Flash chip drivers
|
||||
#
|
||||
# CONFIG_MTD_CFI is not set
|
||||
# CONFIG_MTD_JEDECPROBE is not set
|
||||
CONFIG_MTD_MAP_BANK_WIDTH_1=y
|
||||
CONFIG_MTD_MAP_BANK_WIDTH_2=y
|
||||
CONFIG_MTD_MAP_BANK_WIDTH_4=y
|
||||
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
|
||||
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
|
||||
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
|
||||
CONFIG_MTD_CFI_I1=y
|
||||
CONFIG_MTD_CFI_I2=y
|
||||
# CONFIG_MTD_CFI_I4 is not set
|
||||
# CONFIG_MTD_CFI_I8 is not set
|
||||
# CONFIG_MTD_RAM is not set
|
||||
# CONFIG_MTD_ROM is not set
|
||||
# CONFIG_MTD_ABSENT is not set
|
||||
|
||||
#
|
||||
# Mapping drivers for chip access
|
||||
#
|
||||
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
|
||||
# CONFIG_MTD_PLATRAM is not set
|
||||
|
||||
#
|
||||
# Self-contained MTD device drivers
|
||||
#
|
||||
CONFIG_MTD_SLRAM=y
|
||||
# CONFIG_MTD_PHRAM is not set
|
||||
# CONFIG_MTD_MTDRAM is not set
|
||||
# CONFIG_MTD_BLKMTD is not set
|
||||
|
||||
#
|
||||
# Disk-On-Chip Device Drivers
|
||||
#
|
||||
# CONFIG_MTD_DOC2000 is not set
|
||||
# CONFIG_MTD_DOC2001 is not set
|
||||
# CONFIG_MTD_DOC2001PLUS is not set
|
||||
|
||||
#
|
||||
# NAND Flash Device Drivers
|
||||
#
|
||||
# CONFIG_MTD_NAND is not set
|
||||
|
||||
#
|
||||
# Parallel port support
|
||||
#
|
||||
# CONFIG_PARPORT is not set
|
||||
|
||||
#
|
||||
# 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_RAM is not set
|
||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
# CONFIG_CDROM_PKTCDVD is not set
|
||||
|
||||
#
|
||||
# IO Schedulers
|
||||
#
|
||||
CONFIG_IOSCHED_NOOP=y
|
||||
# CONFIG_IOSCHED_AS is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
|
||||
#
|
||||
# Disk device support
|
||||
#
|
||||
|
||||
#
|
||||
# ATA/ATAPI/MFM/RLL support
|
||||
#
|
||||
# CONFIG_IDE is not set
|
||||
|
||||
#
|
||||
# SCSI device support
|
||||
#
|
||||
# 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
|
||||
#
|
||||
|
||||
#
|
||||
# Network device support
|
||||
#
|
||||
# CONFIG_NETPOLL is not set
|
||||
# CONFIG_NET_POLL_CONTROLLER is not set
|
||||
|
||||
#
|
||||
# ISDN subsystem
|
||||
#
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
CONFIG_INPUT=y
|
||||
|
||||
#
|
||||
# Userland interfaces
|
||||
#
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# 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=y
|
||||
# CONFIG_SERIO_I8042 is not set
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
# CONFIG_SERIO_LIBPS2 is not set
|
||||
# CONFIG_SERIO_RAW is not set
|
||||
# CONFIG_GAMEPORT is not set
|
||||
|
||||
#
|
||||
# Character devices
|
||||
#
|
||||
# CONFIG_VT is not set
|
||||
# CONFIG_SERIAL_NONSTANDARD is not set
|
||||
|
||||
#
|
||||
# Serial drivers
|
||||
#
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
CONFIG_SERIAL_8250_NR_UARTS=1
|
||||
# CONFIG_SERIAL_8250_EXTENDED is not set
|
||||
|
||||
#
|
||||
# Non-8250 serial port support
|
||||
#
|
||||
# CONFIG_V850E_UART is not set
|
||||
CONFIG_SERIAL_CORE=y
|
||||
CONFIG_SERIAL_CORE_CONSOLE=y
|
||||
# CONFIG_UNIX98_PTYS is not set
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
|
||||
#
|
||||
# IPMI
|
||||
#
|
||||
# CONFIG_IPMI_HANDLER is not set
|
||||
|
||||
#
|
||||
# Watchdog Cards
|
||||
#
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_RTC 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_RAW_DRIVER is not set
|
||||
|
||||
#
|
||||
# TPM devices
|
||||
#
|
||||
|
||||
#
|
||||
# Multimedia devices
|
||||
#
|
||||
# CONFIG_VIDEO_DEV is not set
|
||||
|
||||
#
|
||||
# Digital Video Broadcasting Devices
|
||||
#
|
||||
|
||||
#
|
||||
# File systems
|
||||
#
|
||||
# CONFIG_EXT2_FS is not set
|
||||
# CONFIG_EXT3_FS is not set
|
||||
# CONFIG_JBD is not set
|
||||
# CONFIG_REISERFS_FS is not set
|
||||
# CONFIG_JFS_FS is not set
|
||||
# CONFIG_FS_POSIX_ACL is not set
|
||||
|
||||
#
|
||||
# XFS support
|
||||
#
|
||||
# CONFIG_XFS_FS is not set
|
||||
# CONFIG_MINIX_FS is not set
|
||||
CONFIG_ROMFS_FS=y
|
||||
# CONFIG_MAGIC_ROM_PTR 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
|
||||
|
||||
#
|
||||
# CD-ROM/DVD Filesystems
|
||||
#
|
||||
# CONFIG_ISO9660_FS is not set
|
||||
# CONFIG_UDF_FS is not set
|
||||
|
||||
#
|
||||
# DOS/FAT/NT Filesystems
|
||||
#
|
||||
# CONFIG_MSDOS_FS is not set
|
||||
# CONFIG_VFAT_FS is not set
|
||||
# CONFIG_NTFS_FS is not set
|
||||
|
||||
#
|
||||
# Pseudo filesystems
|
||||
#
|
||||
CONFIG_PROC_FS=y
|
||||
CONFIG_SYSFS=y
|
||||
# CONFIG_TMPFS is not set
|
||||
# CONFIG_HUGETLB_PAGE is not set
|
||||
CONFIG_RAMFS=y
|
||||
|
||||
#
|
||||
# Miscellaneous filesystems
|
||||
#
|
||||
# CONFIG_HFSPLUS_FS is not set
|
||||
# CONFIG_JFFS_FS is not set
|
||||
# CONFIG_JFFS2_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
|
||||
|
||||
#
|
||||
# Partition Types
|
||||
#
|
||||
# CONFIG_PARTITION_ADVANCED is not set
|
||||
CONFIG_MSDOS_PARTITION=y
|
||||
|
||||
#
|
||||
# Native Language Support
|
||||
#
|
||||
# CONFIG_NLS is not set
|
||||
|
||||
#
|
||||
# Graphics support
|
||||
#
|
||||
# CONFIG_FB is not set
|
||||
|
||||
#
|
||||
# Sound
|
||||
#
|
||||
# CONFIG_SOUND is not set
|
||||
|
||||
#
|
||||
# USB support
|
||||
#
|
||||
# CONFIG_USB_ARCH_HAS_HCD is not set
|
||||
# CONFIG_USB_ARCH_HAS_OHCI is not set
|
||||
|
||||
#
|
||||
# USB Gadget Support
|
||||
#
|
||||
# CONFIG_USB_GADGET is not set
|
||||
|
||||
#
|
||||
# Kernel hacking
|
||||
#
|
||||
# CONFIG_PRINTK_TIME is not set
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
# CONFIG_MAGIC_SYSRQ is not set
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
# CONFIG_SCHEDSTATS is not set
|
||||
# CONFIG_DEBUG_SLAB is not set
|
||||
# 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_NO_KERNEL_MSG 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
|
||||
#
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
# CONFIG_CRC_CCITT is not set
|
||||
# CONFIG_CRC32 is not set
|
||||
# CONFIG_LIBCRC32C is not set
|
||||
@@ -1,451 +0,0 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux kernel version: 2.6.13-uc0
|
||||
# Fri Sep 2 13:36:43 2005
|
||||
#
|
||||
# CONFIG_MMU is not set
|
||||
# CONFIG_UID16 is not set
|
||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
|
||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||
# CONFIG_ISA is not set
|
||||
# CONFIG_ISAPNP is not set
|
||||
# CONFIG_EISA is not set
|
||||
# CONFIG_MCA is not set
|
||||
CONFIG_V850=y
|
||||
|
||||
#
|
||||
# Processor type and features
|
||||
#
|
||||
CONFIG_V850E_SIM=y
|
||||
# CONFIG_RTE_CB_MA1 is not set
|
||||
# CONFIG_RTE_CB_NB85E is not set
|
||||
# CONFIG_RTE_CB_ME2 is not set
|
||||
# CONFIG_V850E_AS85EP1 is not set
|
||||
# CONFIG_V850E2_SIM85E2C is not set
|
||||
# CONFIG_V850E2_SIM85E2S is not set
|
||||
# CONFIG_V850E2_FPGA85E2C is not set
|
||||
# CONFIG_V850E2_ANNA is not set
|
||||
CONFIG_V850E=y
|
||||
# CONFIG_PCI is not set
|
||||
# CONFIG_V850E_INTC is not set
|
||||
# CONFIG_V850E_TIMER_D is not set
|
||||
# CONFIG_V850E_CACHE is not set
|
||||
# CONFIG_V850E2_CACHE is not set
|
||||
CONFIG_NO_CACHE=y
|
||||
CONFIG_ZERO_BSS=y
|
||||
# CONFIG_RESET_GUARD is not set
|
||||
CONFIG_LARGE_ALLOCS=y
|
||||
CONFIG_FLATMEM=y
|
||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||
|
||||
#
|
||||
# Code maturity level options
|
||||
#
|
||||
# CONFIG_EXPERIMENTAL is not set
|
||||
CONFIG_CLEAN_COMPILE=y
|
||||
CONFIG_BROKEN_ON_SMP=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
|
||||
#
|
||||
# General setup
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
# CONFIG_BSD_PROCESS_ACCT is not set
|
||||
# CONFIG_SYSCTL is not set
|
||||
# CONFIG_HOTPLUG is not set
|
||||
# CONFIG_IKCONFIG is not set
|
||||
CONFIG_EMBEDDED=y
|
||||
# CONFIG_KALLSYMS is not set
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_BUG=y
|
||||
# CONFIG_BASE_FULL is not set
|
||||
# CONFIG_FUTEX is not set
|
||||
# CONFIG_EPOLL is not set
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_CC_ALIGN_FUNCTIONS=0
|
||||
CONFIG_CC_ALIGN_LABELS=0
|
||||
CONFIG_CC_ALIGN_LOOPS=0
|
||||
CONFIG_CC_ALIGN_JUMPS=0
|
||||
CONFIG_BASE_SMALL=1
|
||||
|
||||
#
|
||||
# Loadable module support
|
||||
#
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_OBSOLETE_MODPARM=y
|
||||
# CONFIG_MODULE_SRCVERSION_ALL is not set
|
||||
CONFIG_KMOD=y
|
||||
|
||||
#
|
||||
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
|
||||
#
|
||||
|
||||
#
|
||||
# PCCARD (PCMCIA/CardBus) support
|
||||
#
|
||||
# CONFIG_PCCARD is not set
|
||||
|
||||
#
|
||||
# PCI Hotplug Support
|
||||
#
|
||||
|
||||
#
|
||||
# Executable file formats
|
||||
#
|
||||
CONFIG_BINFMT_FLAT=y
|
||||
# CONFIG_BINFMT_ZFLAT is not set
|
||||
# CONFIG_BINFMT_SHARED_FLAT is not set
|
||||
# CONFIG_BINFMT_MISC is not set
|
||||
|
||||
#
|
||||
# Networking
|
||||
#
|
||||
# CONFIG_NET is not set
|
||||
|
||||
#
|
||||
# Generic Driver Options
|
||||
#
|
||||
CONFIG_STANDALONE=y
|
||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||
# CONFIG_FW_LOADER is not set
|
||||
# CONFIG_DEBUG_DRIVER is not set
|
||||
|
||||
#
|
||||
# Memory Technology Devices (MTD)
|
||||
#
|
||||
CONFIG_MTD=y
|
||||
# CONFIG_MTD_DEBUG is not set
|
||||
# CONFIG_MTD_CONCAT is not set
|
||||
# CONFIG_MTD_PARTITIONS is not set
|
||||
|
||||
#
|
||||
# User Modules And Translation Layers
|
||||
#
|
||||
# CONFIG_MTD_CHAR is not set
|
||||
CONFIG_MTD_BLOCK=y
|
||||
# CONFIG_FTL is not set
|
||||
# CONFIG_NFTL is not set
|
||||
# CONFIG_INFTL is not set
|
||||
|
||||
#
|
||||
# RAM/ROM/Flash chip drivers
|
||||
#
|
||||
# CONFIG_MTD_CFI is not set
|
||||
# CONFIG_MTD_JEDECPROBE is not set
|
||||
CONFIG_MTD_MAP_BANK_WIDTH_1=y
|
||||
CONFIG_MTD_MAP_BANK_WIDTH_2=y
|
||||
CONFIG_MTD_MAP_BANK_WIDTH_4=y
|
||||
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
|
||||
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
|
||||
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
|
||||
CONFIG_MTD_CFI_I1=y
|
||||
CONFIG_MTD_CFI_I2=y
|
||||
# CONFIG_MTD_CFI_I4 is not set
|
||||
# CONFIG_MTD_CFI_I8 is not set
|
||||
# CONFIG_MTD_RAM is not set
|
||||
# CONFIG_MTD_ROM is not set
|
||||
# CONFIG_MTD_ABSENT is not set
|
||||
|
||||
#
|
||||
# Mapping drivers for chip access
|
||||
#
|
||||
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
|
||||
# CONFIG_MTD_PLATRAM is not set
|
||||
|
||||
#
|
||||
# Self-contained MTD device drivers
|
||||
#
|
||||
CONFIG_MTD_SLRAM=y
|
||||
# CONFIG_MTD_PHRAM is not set
|
||||
# CONFIG_MTD_MTDRAM is not set
|
||||
# CONFIG_MTD_BLKMTD is not set
|
||||
|
||||
#
|
||||
# Disk-On-Chip Device Drivers
|
||||
#
|
||||
# CONFIG_MTD_DOC2000 is not set
|
||||
# CONFIG_MTD_DOC2001 is not set
|
||||
# CONFIG_MTD_DOC2001PLUS is not set
|
||||
|
||||
#
|
||||
# NAND Flash Device Drivers
|
||||
#
|
||||
# CONFIG_MTD_NAND is not set
|
||||
|
||||
#
|
||||
# Parallel port support
|
||||
#
|
||||
# CONFIG_PARPORT is not set
|
||||
|
||||
#
|
||||
# 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_RAM is not set
|
||||
CONFIG_BLK_DEV_RAM_COUNT=16
|
||||
CONFIG_INITRAMFS_SOURCE=""
|
||||
# CONFIG_CDROM_PKTCDVD is not set
|
||||
|
||||
#
|
||||
# IO Schedulers
|
||||
#
|
||||
CONFIG_IOSCHED_NOOP=y
|
||||
# CONFIG_IOSCHED_AS is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
|
||||
#
|
||||
# Disk device support
|
||||
#
|
||||
|
||||
#
|
||||
# ATA/ATAPI/MFM/RLL support
|
||||
#
|
||||
# CONFIG_IDE is not set
|
||||
|
||||
#
|
||||
# SCSI device support
|
||||
#
|
||||
# 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
|
||||
#
|
||||
|
||||
#
|
||||
# Network device support
|
||||
#
|
||||
# CONFIG_NETPOLL is not set
|
||||
# CONFIG_NET_POLL_CONTROLLER is not set
|
||||
|
||||
#
|
||||
# ISDN subsystem
|
||||
#
|
||||
|
||||
#
|
||||
# Input device support
|
||||
#
|
||||
CONFIG_INPUT=y
|
||||
|
||||
#
|
||||
# Userland interfaces
|
||||
#
|
||||
# CONFIG_INPUT_MOUSEDEV is not set
|
||||
# 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=y
|
||||
# CONFIG_SERIO_I8042 is not set
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
# CONFIG_SERIO_LIBPS2 is not set
|
||||
# CONFIG_SERIO_RAW is not set
|
||||
# CONFIG_GAMEPORT is not set
|
||||
|
||||
#
|
||||
# Character devices
|
||||
#
|
||||
# CONFIG_VT is not set
|
||||
# CONFIG_SERIAL_NONSTANDARD is not set
|
||||
|
||||
#
|
||||
# Serial drivers
|
||||
#
|
||||
# CONFIG_SERIAL_8250 is not set
|
||||
|
||||
#
|
||||
# Non-8250 serial port support
|
||||
#
|
||||
# CONFIG_UNIX98_PTYS is not set
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
|
||||
#
|
||||
# IPMI
|
||||
#
|
||||
# CONFIG_IPMI_HANDLER is not set
|
||||
|
||||
#
|
||||
# Watchdog Cards
|
||||
#
|
||||
# CONFIG_WATCHDOG is not set
|
||||
# CONFIG_RTC 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_RAW_DRIVER is not set
|
||||
|
||||
#
|
||||
# TPM devices
|
||||
#
|
||||
|
||||
#
|
||||
# Multimedia devices
|
||||
#
|
||||
# CONFIG_VIDEO_DEV is not set
|
||||
|
||||
#
|
||||
# Digital Video Broadcasting Devices
|
||||
#
|
||||
|
||||
#
|
||||
# File systems
|
||||
#
|
||||
# CONFIG_EXT2_FS is not set
|
||||
# CONFIG_EXT3_FS is not set
|
||||
# CONFIG_JBD is not set
|
||||
# CONFIG_REISERFS_FS is not set
|
||||
# CONFIG_JFS_FS is not set
|
||||
# CONFIG_FS_POSIX_ACL is not set
|
||||
|
||||
#
|
||||
# XFS support
|
||||
#
|
||||
# CONFIG_XFS_FS is not set
|
||||
# CONFIG_MINIX_FS is not set
|
||||
CONFIG_ROMFS_FS=y
|
||||
# CONFIG_MAGIC_ROM_PTR 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
|
||||
|
||||
#
|
||||
# CD-ROM/DVD Filesystems
|
||||
#
|
||||
# CONFIG_ISO9660_FS is not set
|
||||
# CONFIG_UDF_FS is not set
|
||||
|
||||
#
|
||||
# DOS/FAT/NT Filesystems
|
||||
#
|
||||
# CONFIG_MSDOS_FS is not set
|
||||
# CONFIG_VFAT_FS is not set
|
||||
# CONFIG_NTFS_FS is not set
|
||||
|
||||
#
|
||||
# Pseudo filesystems
|
||||
#
|
||||
CONFIG_PROC_FS=y
|
||||
CONFIG_SYSFS=y
|
||||
# CONFIG_TMPFS is not set
|
||||
# CONFIG_HUGETLB_PAGE is not set
|
||||
CONFIG_RAMFS=y
|
||||
|
||||
#
|
||||
# Miscellaneous filesystems
|
||||
#
|
||||
# CONFIG_HFSPLUS_FS is not set
|
||||
# CONFIG_JFFS_FS is not set
|
||||
# CONFIG_JFFS2_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
|
||||
|
||||
#
|
||||
# Partition Types
|
||||
#
|
||||
# CONFIG_PARTITION_ADVANCED is not set
|
||||
CONFIG_MSDOS_PARTITION=y
|
||||
|
||||
#
|
||||
# Native Language Support
|
||||
#
|
||||
# CONFIG_NLS is not set
|
||||
|
||||
#
|
||||
# Graphics support
|
||||
#
|
||||
# CONFIG_FB is not set
|
||||
|
||||
#
|
||||
# Sound
|
||||
#
|
||||
# CONFIG_SOUND is not set
|
||||
|
||||
#
|
||||
# USB support
|
||||
#
|
||||
# CONFIG_USB_ARCH_HAS_HCD is not set
|
||||
# CONFIG_USB_ARCH_HAS_OHCI is not set
|
||||
|
||||
#
|
||||
# USB Gadget Support
|
||||
#
|
||||
# CONFIG_USB_GADGET is not set
|
||||
|
||||
#
|
||||
# Kernel hacking
|
||||
#
|
||||
# CONFIG_PRINTK_TIME is not set
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
# CONFIG_MAGIC_SYSRQ is not set
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
# CONFIG_SCHEDSTATS is not set
|
||||
# CONFIG_DEBUG_SLAB is not set
|
||||
# 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_NO_KERNEL_MSG 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
|
||||
#
|
||||
|
||||
#
|
||||
# Library routines
|
||||
#
|
||||
# CONFIG_CRC_CCITT is not set
|
||||
# CONFIG_CRC32 is not set
|
||||
# CONFIG_LIBCRC32C is not set
|
||||
@@ -1,40 +0,0 @@
|
||||
#
|
||||
# arch/v850/kernel/Makefile
|
||||
#
|
||||
# Copyright (C) 2001,02,03 NEC Electronics Corporation
|
||||
# Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
extra-y := head.o init_task.o vmlinux.lds
|
||||
|
||||
obj-y += intv.o entry.o process.o syscalls.o time.o setup.o \
|
||||
signal.o irq.o mach.o ptrace.o bug.o
|
||||
obj-$(CONFIG_MODULES) += module.o v850_ksyms.o
|
||||
# chip-specific code
|
||||
obj-$(CONFIG_V850E_MA1) += ma.o
|
||||
obj-$(CONFIG_V850E_ME2) += me2.o
|
||||
obj-$(CONFIG_V850E_TEG) += teg.o
|
||||
obj-$(CONFIG_V850E_AS85EP1) += as85ep1.o
|
||||
obj-$(CONFIG_V850E2_ANNA) += anna.o
|
||||
# platform-specific code
|
||||
obj-$(CONFIG_V850E_SIM) += sim.o simcons.o
|
||||
obj-$(CONFIG_V850E2_SIM85E2) += sim85e2.o memcons.o
|
||||
obj-$(CONFIG_V850E2_FPGA85E2C) += fpga85e2c.o memcons.o
|
||||
obj-$(CONFIG_RTE_CB) += rte_cb.o rte_cb_leds.o
|
||||
obj-$(CONFIG_RTE_CB_MA1) += rte_ma1_cb.o
|
||||
obj-$(CONFIG_RTE_CB_ME2) += rte_me2_cb.o
|
||||
obj-$(CONFIG_RTE_CB_NB85E) += rte_nb85e_cb.o
|
||||
obj-$(CONFIG_RTE_CB_MULTI) += rte_cb_multi.o
|
||||
obj-$(CONFIG_RTE_MB_A_PCI) += rte_mb_a_pci.o
|
||||
obj-$(CONFIG_RTE_GBUS_INT) += gbus_int.o
|
||||
# feature-specific code
|
||||
obj-$(CONFIG_V850E_INTC) += v850e_intc.o
|
||||
obj-$(CONFIG_V850E_TIMER_D) += v850e_timer_d.o v850e_utils.o
|
||||
obj-$(CONFIG_V850E_CACHE) += v850e_cache.o
|
||||
obj-$(CONFIG_V850E2_CACHE) += v850e2_cache.o
|
||||
obj-$(CONFIG_V850E_HIGHRES_TIMER) += highres_timer.o
|
||||
obj-$(CONFIG_PROC_FS) += procfs.o
|
||||
@@ -1,16 +0,0 @@
|
||||
/* Linker script for the Midas labs Anna V850E2 evaluation board
|
||||
(CONFIG_V850E2_ANNA), with kernel in ROM (CONFIG_ROM_KERNEL). */
|
||||
|
||||
MEMORY {
|
||||
/* 8MB of flash ROM. */
|
||||
ROM : ORIGIN = 0, LENGTH = 0x00800000
|
||||
|
||||
/* 1MB of static RAM. This memory is mirrored 64 times. */
|
||||
SRAM : ORIGIN = SRAM_ADDR, LENGTH = SRAM_SIZE
|
||||
/* 64MB of DRAM. */
|
||||
SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
ROMK_SECTIONS(ROM, SRAM)
|
||||
}
|
||||
@@ -1,202 +0,0 @@
|
||||
/*
|
||||
* arch/v850/kernel/anna.c -- Anna V850E2 evaluation chip/board
|
||||
*
|
||||
* Copyright (C) 2002,03 NEC Electronics Corporation
|
||||
* Copyright (C) 2002,03 Miles Bader <miles@gnu.org>
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Written by Miles Bader <miles@gnu.org>
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/major.h>
|
||||
#include <linux/irq.h>
|
||||
|
||||
#include <asm/machdep.h>
|
||||
#include <asm/atomic.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/v850e_timer_d.h>
|
||||
#include <asm/v850e_uart.h>
|
||||
|
||||
#include "mach.h"
|
||||
|
||||
|
||||
/* SRAM and SDRAM are vaguely contiguous (with a big hole in between; see
|
||||
mach_reserve_bootmem for details); use both as one big area. */
|
||||
#define RAM_START SRAM_ADDR
|
||||
#define RAM_END (SDRAM_ADDR + SDRAM_SIZE)
|
||||
|
||||
/* The bits of this port are connected to an 8-LED bar-graph. */
|
||||
#define LEDS_PORT 0
|
||||
|
||||
|
||||
static void anna_led_tick (void);
|
||||
|
||||
|
||||
void __init mach_early_init (void)
|
||||
{
|
||||
ANNA_ILBEN = 0;
|
||||
|
||||
V850E2_CSC(0) = 0x402F;
|
||||
V850E2_CSC(1) = 0x4000;
|
||||
V850E2_BPC = 0;
|
||||
V850E2_BSC = 0xAAAA;
|
||||
V850E2_BEC = 0;
|
||||
|
||||
#if 0
|
||||
V850E2_BHC = 0xFFFF; /* icache all memory, dcache all */
|
||||
#else
|
||||
V850E2_BHC = 0; /* cache no memory */
|
||||
#endif
|
||||
V850E2_BCT(0) = 0xB088;
|
||||
V850E2_BCT(1) = 0x0008;
|
||||
V850E2_DWC(0) = 0x0027;
|
||||
V850E2_DWC(1) = 0;
|
||||
V850E2_BCC = 0x0006;
|
||||
V850E2_ASC = 0;
|
||||
V850E2_LBS = 0x0089;
|
||||
V850E2_SCR(3) = 0x21A9;
|
||||
V850E2_RFS(3) = 0x8121;
|
||||
|
||||
v850e_intc_disable_irqs ();
|
||||
}
|
||||
|
||||
void __init mach_setup (char **cmdline)
|
||||
{
|
||||
ANNA_PORT_PM (LEDS_PORT) = 0; /* Make all LED pins output pins. */
|
||||
mach_tick = anna_led_tick;
|
||||
}
|
||||
|
||||
void __init mach_get_physical_ram (unsigned long *ram_start,
|
||||
unsigned long *ram_len)
|
||||
{
|
||||
*ram_start = RAM_START;
|
||||
*ram_len = RAM_END - RAM_START;
|
||||
}
|
||||
|
||||
void __init mach_reserve_bootmem ()
|
||||
{
|
||||
/* The space between SRAM and SDRAM is filled with duplicate
|
||||
images of SRAM. Prevent the kernel from using them. */
|
||||
reserve_bootmem (SRAM_ADDR + SRAM_SIZE,
|
||||
SDRAM_ADDR - (SRAM_ADDR + SRAM_SIZE),
|
||||
BOOTMEM_DEFAULT);
|
||||
}
|
||||
|
||||
void mach_gettimeofday (struct timespec *tv)
|
||||
{
|
||||
tv->tv_sec = 0;
|
||||
tv->tv_nsec = 0;
|
||||
}
|
||||
|
||||
void __init mach_sched_init (struct irqaction *timer_action)
|
||||
{
|
||||
/* Start hardware timer. */
|
||||
v850e_timer_d_configure (0, HZ);
|
||||
/* Install timer interrupt handler. */
|
||||
setup_irq (IRQ_INTCMD(0), timer_action);
|
||||
}
|
||||
|
||||
static struct v850e_intc_irq_init irq_inits[] = {
|
||||
{ "IRQ", 0, NUM_MACH_IRQS, 1, 7 },
|
||||
{ "PIN", IRQ_INTP(0), IRQ_INTP_NUM, 1, 4 },
|
||||
{ "CCC", IRQ_INTCCC(0), IRQ_INTCCC_NUM, 1, 5 },
|
||||
{ "CMD", IRQ_INTCMD(0), IRQ_INTCMD_NUM, 1, 5 },
|
||||
{ "DMA", IRQ_INTDMA(0), IRQ_INTDMA_NUM, 1, 2 },
|
||||
{ "DMXER", IRQ_INTDMXER,1, 1, 2 },
|
||||
{ "SRE", IRQ_INTSRE(0), IRQ_INTSRE_NUM, 3, 3 },
|
||||
{ "SR", IRQ_INTSR(0), IRQ_INTSR_NUM, 3, 4 },
|
||||
{ "ST", IRQ_INTST(0), IRQ_INTST_NUM, 3, 5 },
|
||||
{ 0 }
|
||||
};
|
||||
#define NUM_IRQ_INITS (ARRAY_SIZE(irq_inits) - 1)
|
||||
|
||||
static struct hw_interrupt_type hw_itypes[NUM_IRQ_INITS];
|
||||
|
||||
void __init mach_init_irqs (void)
|
||||
{
|
||||
v850e_intc_init_irq_types (irq_inits, hw_itypes);
|
||||
}
|
||||
|
||||
void machine_restart (char *__unused)
|
||||
{
|
||||
#ifdef CONFIG_RESET_GUARD
|
||||
disable_reset_guard ();
|
||||
#endif
|
||||
asm ("jmp r0"); /* Jump to the reset vector. */
|
||||
}
|
||||
|
||||
void machine_halt (void)
|
||||
{
|
||||
#ifdef CONFIG_RESET_GUARD
|
||||
disable_reset_guard ();
|
||||
#endif
|
||||
local_irq_disable (); /* Ignore all interrupts. */
|
||||
ANNA_PORT_IO(LEDS_PORT) = 0xAA; /* Note that we halted. */
|
||||
for (;;)
|
||||
asm ("halt; nop; nop; nop; nop; nop");
|
||||
}
|
||||
|
||||
void machine_power_off (void)
|
||||
{
|
||||
machine_halt ();
|
||||
}
|
||||
|
||||
/* Called before configuring an on-chip UART. */
|
||||
void anna_uart_pre_configure (unsigned chan, unsigned cflags, unsigned baud)
|
||||
{
|
||||
/* The Anna connects some general-purpose I/O pins on the CPU to
|
||||
the RTS/CTS lines of UART 1's serial connection. I/O pins P07
|
||||
and P37 are RTS and CTS respectively. */
|
||||
if (chan == 1) {
|
||||
ANNA_PORT_PM(0) &= ~0x80; /* P07 in output mode */
|
||||
ANNA_PORT_PM(3) |= 0x80; /* P37 in input mode */
|
||||
}
|
||||
}
|
||||
|
||||
/* Minimum and maximum bounds for the moving upper LED boundary in the
|
||||
clock tick display. We can't use the last bit because it's used for
|
||||
UART0's CTS output. */
|
||||
#define MIN_MAX_POS 0
|
||||
#define MAX_MAX_POS 6
|
||||
|
||||
/* There are MAX_MAX_POS^2 - MIN_MAX_POS^2 cycles in the animation, so if
|
||||
we pick 6 and 0 as above, we get 49 cycles, which is when divided into
|
||||
the standard 100 value for HZ, gives us an almost 1s total time. */
|
||||
#define TICKS_PER_FRAME \
|
||||
(HZ / (MAX_MAX_POS * MAX_MAX_POS - MIN_MAX_POS * MIN_MAX_POS))
|
||||
|
||||
static void anna_led_tick ()
|
||||
{
|
||||
static unsigned counter = 0;
|
||||
|
||||
if (++counter == TICKS_PER_FRAME) {
|
||||
static int pos = 0, max_pos = MAX_MAX_POS, dir = 1;
|
||||
|
||||
if (dir > 0 && pos == max_pos) {
|
||||
dir = -1;
|
||||
if (max_pos == MIN_MAX_POS)
|
||||
max_pos = MAX_MAX_POS;
|
||||
else
|
||||
max_pos--;
|
||||
} else {
|
||||
if (dir < 0 && pos == 0)
|
||||
dir = 1;
|
||||
|
||||
if (pos + dir <= max_pos) {
|
||||
/* Each bit of port 0 has a LED. */
|
||||
clear_bit (pos, &ANNA_PORT_IO(LEDS_PORT));
|
||||
pos += dir;
|
||||
set_bit (pos, &ANNA_PORT_IO(LEDS_PORT));
|
||||
}
|
||||
}
|
||||
|
||||
counter = 0;
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
/* Linker script for the Midas labs Anna V850E2 evaluation board
|
||||
(CONFIG_V850E2_ANNA). */
|
||||
|
||||
MEMORY {
|
||||
/* 256KB of internal memory (followed by one mirror). */
|
||||
iMEM0 : ORIGIN = 0, LENGTH = 0x00040000
|
||||
/* 256KB of internal memory (followed by one mirror). */
|
||||
iMEM1 : ORIGIN = 0x00040000, LENGTH = 0x00040000
|
||||
|
||||
/* 1MB of static RAM. This memory is mirrored 64 times. */
|
||||
SRAM : ORIGIN = SRAM_ADDR, LENGTH = SRAM_SIZE
|
||||
/* 64MB of DRAM. */
|
||||
SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
.intv : { INTV_CONTENTS } > iMEM0
|
||||
.sram : { RAMK_KRAM_CONTENTS } > SRAM
|
||||
.root : { ROOT_FS_CONTENTS } > SDRAM
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
/* Linker script for the NEC AS85EP1 V850E evaluation board
|
||||
(CONFIG_V850E_AS85EP1), with kernel in ROM (CONFIG_ROM_KERNEL). */
|
||||
|
||||
MEMORY {
|
||||
/* 4MB of flash ROM. */
|
||||
ROM : ORIGIN = 0, LENGTH = 0x00400000
|
||||
|
||||
/* 1MB of static RAM. */
|
||||
SRAM : ORIGIN = SRAM_ADDR, LENGTH = SRAM_SIZE
|
||||
|
||||
/* About 58MB of DRAM. This can actually be at one of two
|
||||
positions, determined by jumper JP3; we have to use the first
|
||||
position because the second is partially out of processor
|
||||
instruction addressing range (though in the second position
|
||||
there's actually 64MB available). */
|
||||
SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
ROMK_SECTIONS(ROM, SRAM)
|
||||
}
|
||||
@@ -1,234 +0,0 @@
|
||||
/*
|
||||
* arch/v850/kernel/as85ep1.c -- AS85EP1 V850E evaluation chip/board
|
||||
*
|
||||
* Copyright (C) 2002,03 NEC Electronics Corporation
|
||||
* Copyright (C) 2002,03 Miles Bader <miles@gnu.org>
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Written by Miles Bader <miles@gnu.org>
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/major.h>
|
||||
#include <linux/irq.h>
|
||||
|
||||
#include <asm/machdep.h>
|
||||
#include <asm/atomic.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/v850e_timer_d.h>
|
||||
#include <asm/v850e_uart.h>
|
||||
|
||||
#include "mach.h"
|
||||
|
||||
|
||||
/* SRAM and SDRAM are vaguely contiguous (with a big hole in between; see
|
||||
mach_reserve_bootmem for details); use both as one big area. */
|
||||
#define RAM_START SRAM_ADDR
|
||||
#define RAM_END (SDRAM_ADDR + SDRAM_SIZE)
|
||||
|
||||
/* The bits of this port are connected to an 8-LED bar-graph. */
|
||||
#define LEDS_PORT 4
|
||||
|
||||
|
||||
static void as85ep1_led_tick (void);
|
||||
|
||||
extern char _intv_copy_src_start, _intv_copy_src_end;
|
||||
extern char _intv_copy_dst_start;
|
||||
|
||||
|
||||
void __init mach_early_init (void)
|
||||
{
|
||||
#ifndef CONFIG_ROM_KERNEL
|
||||
const u32 *src;
|
||||
register u32 *dst asm ("ep");
|
||||
#endif
|
||||
|
||||
AS85EP1_CSC(0) = 0x0403;
|
||||
AS85EP1_BCT(0) = 0xB8B8;
|
||||
AS85EP1_DWC(0) = 0x0104;
|
||||
AS85EP1_BCC = 0x0012;
|
||||
AS85EP1_ASC = 0;
|
||||
AS85EP1_LBS = 0x00A9;
|
||||
|
||||
AS85EP1_PORT_PMC(6) = 0xFF; /* valid A0,A1,A20-A25 */
|
||||
AS85EP1_PORT_PMC(7) = 0x0E; /* valid CS1-CS3 */
|
||||
AS85EP1_PORT_PMC(9) = 0xFF; /* valid D16-D23 */
|
||||
AS85EP1_PORT_PMC(10) = 0xFF; /* valid D24-D31 */
|
||||
|
||||
AS85EP1_RFS(1) = 0x800c;
|
||||
AS85EP1_RFS(3) = 0x800c;
|
||||
AS85EP1_SCR(1) = 0x20A9;
|
||||
AS85EP1_SCR(3) = 0x20A9;
|
||||
|
||||
#ifndef CONFIG_ROM_KERNEL
|
||||
/* The early chip we have is buggy, and writing the interrupt
|
||||
vectors into low RAM may screw up, so for non-ROM kernels, we
|
||||
only rely on the reset vector being downloaded, and copy the
|
||||
rest of the interrupt vectors into place here. The specific bug
|
||||
is that writing address N, where (N & 0x10) == 0x10, will _also_
|
||||
write to address (N - 0x10). We avoid this (effectively) by
|
||||
writing in 16-byte chunks backwards from the end. */
|
||||
|
||||
AS85EP1_IRAMM = 0x3; /* "write-mode" for the internal instruction memory */
|
||||
|
||||
src = (u32 *)(((u32)&_intv_copy_src_end - 1) & ~0xF);
|
||||
dst = (u32 *)&_intv_copy_dst_start
|
||||
+ (src - (u32 *)&_intv_copy_src_start);
|
||||
do {
|
||||
u32 t0 = src[0], t1 = src[1], t2 = src[2], t3 = src[3];
|
||||
dst[0] = t0; dst[1] = t1; dst[2] = t2; dst[3] = t3;
|
||||
dst -= 4;
|
||||
src -= 4;
|
||||
} while (src > (u32 *)&_intv_copy_src_start);
|
||||
|
||||
AS85EP1_IRAMM = 0x0; /* "read-mode" for the internal instruction memory */
|
||||
#endif /* !CONFIG_ROM_KERNEL */
|
||||
|
||||
v850e_intc_disable_irqs ();
|
||||
}
|
||||
|
||||
void __init mach_setup (char **cmdline)
|
||||
{
|
||||
AS85EP1_PORT_PMC (LEDS_PORT) = 0; /* Make the LEDs port an I/O port. */
|
||||
AS85EP1_PORT_PM (LEDS_PORT) = 0; /* Make all the bits output pins. */
|
||||
mach_tick = as85ep1_led_tick;
|
||||
}
|
||||
|
||||
void __init mach_get_physical_ram (unsigned long *ram_start,
|
||||
unsigned long *ram_len)
|
||||
{
|
||||
*ram_start = RAM_START;
|
||||
*ram_len = RAM_END - RAM_START;
|
||||
}
|
||||
|
||||
/* Convenience macros. */
|
||||
#define SRAM_END (SRAM_ADDR + SRAM_SIZE)
|
||||
#define SDRAM_END (SDRAM_ADDR + SDRAM_SIZE)
|
||||
|
||||
void __init mach_reserve_bootmem ()
|
||||
{
|
||||
if (SDRAM_ADDR < RAM_END && SDRAM_ADDR > RAM_START)
|
||||
/* We can't use the space between SRAM and SDRAM, so
|
||||
prevent the kernel from trying. */
|
||||
reserve_bootmem(SRAM_END, SDRAM_ADDR - SRAM_END,
|
||||
BOOTMEM_DEFAULT);
|
||||
}
|
||||
|
||||
void mach_gettimeofday (struct timespec *tv)
|
||||
{
|
||||
tv->tv_sec = 0;
|
||||
tv->tv_nsec = 0;
|
||||
}
|
||||
|
||||
void __init mach_sched_init (struct irqaction *timer_action)
|
||||
{
|
||||
/* Start hardware timer. */
|
||||
v850e_timer_d_configure (0, HZ);
|
||||
/* Install timer interrupt handler. */
|
||||
setup_irq (IRQ_INTCMD(0), timer_action);
|
||||
}
|
||||
|
||||
static struct v850e_intc_irq_init irq_inits[] = {
|
||||
{ "IRQ", 0, NUM_MACH_IRQS, 1, 7 },
|
||||
{ "CCC", IRQ_INTCCC(0), IRQ_INTCCC_NUM, 1, 5 },
|
||||
{ "CMD", IRQ_INTCMD(0), IRQ_INTCMD_NUM, 1, 5 },
|
||||
{ "SRE", IRQ_INTSRE(0), IRQ_INTSRE_NUM, 3, 3 },
|
||||
{ "SR", IRQ_INTSR(0), IRQ_INTSR_NUM, 3, 4 },
|
||||
{ "ST", IRQ_INTST(0), IRQ_INTST_NUM, 3, 5 },
|
||||
{ 0 }
|
||||
};
|
||||
#define NUM_IRQ_INITS (ARRAY_SIZE(irq_inits) - 1)
|
||||
|
||||
static struct hw_interrupt_type hw_itypes[NUM_IRQ_INITS];
|
||||
|
||||
void __init mach_init_irqs (void)
|
||||
{
|
||||
v850e_intc_init_irq_types (irq_inits, hw_itypes);
|
||||
}
|
||||
|
||||
void machine_restart (char *__unused)
|
||||
{
|
||||
#ifdef CONFIG_RESET_GUARD
|
||||
disable_reset_guard ();
|
||||
#endif
|
||||
asm ("jmp r0"); /* Jump to the reset vector. */
|
||||
}
|
||||
|
||||
void machine_halt (void)
|
||||
{
|
||||
#ifdef CONFIG_RESET_GUARD
|
||||
disable_reset_guard ();
|
||||
#endif
|
||||
local_irq_disable (); /* Ignore all interrupts. */
|
||||
AS85EP1_PORT_IO (LEDS_PORT) = 0xAA; /* Note that we halted. */
|
||||
for (;;)
|
||||
asm ("halt; nop; nop; nop; nop; nop");
|
||||
}
|
||||
|
||||
void machine_power_off (void)
|
||||
{
|
||||
machine_halt ();
|
||||
}
|
||||
|
||||
/* Called before configuring an on-chip UART. */
|
||||
void as85ep1_uart_pre_configure (unsigned chan, unsigned cflags, unsigned baud)
|
||||
{
|
||||
/* Make the shared uart/port pins be uart pins. */
|
||||
AS85EP1_PORT_PMC(3) |= (0x5 << chan);
|
||||
|
||||
/* The AS85EP1 connects some general-purpose I/O pins on the CPU to
|
||||
the RTS/CTS lines of UART 1's serial connection. I/O pins P53
|
||||
and P54 are RTS and CTS respectively. */
|
||||
if (chan == 1) {
|
||||
/* Put P53 & P54 in I/O port mode. */
|
||||
AS85EP1_PORT_PMC(5) &= ~0x18;
|
||||
/* Make P53 an output, and P54 an input. */
|
||||
AS85EP1_PORT_PM(5) |= 0x10;
|
||||
}
|
||||
}
|
||||
|
||||
/* Minimum and maximum bounds for the moving upper LED boundary in the
|
||||
clock tick display. */
|
||||
#define MIN_MAX_POS 0
|
||||
#define MAX_MAX_POS 7
|
||||
|
||||
/* There are MAX_MAX_POS^2 - MIN_MAX_POS^2 cycles in the animation, so if
|
||||
we pick 6 and 0 as above, we get 49 cycles, which is when divided into
|
||||
the standard 100 value for HZ, gives us an almost 1s total time. */
|
||||
#define TICKS_PER_FRAME \
|
||||
(HZ / (MAX_MAX_POS * MAX_MAX_POS - MIN_MAX_POS * MIN_MAX_POS))
|
||||
|
||||
static void as85ep1_led_tick ()
|
||||
{
|
||||
static unsigned counter = 0;
|
||||
|
||||
if (++counter == TICKS_PER_FRAME) {
|
||||
static int pos = 0, max_pos = MAX_MAX_POS, dir = 1;
|
||||
|
||||
if (dir > 0 && pos == max_pos) {
|
||||
dir = -1;
|
||||
if (max_pos == MIN_MAX_POS)
|
||||
max_pos = MAX_MAX_POS;
|
||||
else
|
||||
max_pos--;
|
||||
} else {
|
||||
if (dir < 0 && pos == 0)
|
||||
dir = 1;
|
||||
|
||||
if (pos + dir <= max_pos) {
|
||||
/* Each bit of port 0 has a LED. */
|
||||
set_bit (pos, &AS85EP1_PORT_IO(LEDS_PORT));
|
||||
pos += dir;
|
||||
clear_bit (pos, &AS85EP1_PORT_IO(LEDS_PORT));
|
||||
}
|
||||
}
|
||||
|
||||
counter = 0;
|
||||
}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
/* Linker script for the NEC AS85EP1 V850E evaluation board
|
||||
(CONFIG_V850E_AS85EP1). */
|
||||
|
||||
MEMORY {
|
||||
/* 1MB of internal instruction memory. */
|
||||
iMEM0 : ORIGIN = 0, LENGTH = 0x00100000
|
||||
|
||||
/* 1MB of static RAM. */
|
||||
SRAM : ORIGIN = SRAM_ADDR, LENGTH = SRAM_SIZE
|
||||
|
||||
/* About 58MB of DRAM. This can actually be at one of two
|
||||
positions, determined by jump JP3; we have to use the first
|
||||
position because the second is partially out of processor
|
||||
instruction addressing range (though in the second position
|
||||
there's actually 64MB available). */
|
||||
SDRAM : ORIGIN = SDRAM_ADDR, LENGTH = SDRAM_SIZE
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
.resetv : {
|
||||
__intv_start = . ;
|
||||
*(.intv.reset) /* Reset vector */
|
||||
} > iMEM0
|
||||
|
||||
.sram : {
|
||||
RAMK_KRAM_CONTENTS
|
||||
|
||||
/* We stick most of the interrupt vectors here; they'll be
|
||||
copied into the proper location by the early init code (we
|
||||
can't put them directly in the right place because of
|
||||
hardware bugs). The vectors shouldn't need to be
|
||||
relocated, so we don't have to use `> ... AT> ...' to
|
||||
split the load/vm addresses (and we can't because of
|
||||
problems with the loader). */
|
||||
. = ALIGN (0x10) ;
|
||||
__intv_copy_src_start = . ;
|
||||
*(.intv.common) /* Vectors common to all v850e proc. */
|
||||
*(.intv.mach) /* Machine-specific int. vectors. */
|
||||
. = ALIGN (0x10) ;
|
||||
__intv_copy_src_end = . ;
|
||||
} > SRAM
|
||||
|
||||
/* Where we end up putting the vectors. */
|
||||
__intv_copy_dst_start = 0x10 ;
|
||||
__intv_copy_dst_end = __intv_copy_dst_start + (__intv_copy_src_end - __intv_copy_src_start) ;
|
||||
__intv_end = __intv_copy_dst_end ;
|
||||
|
||||
.root : { ROOT_FS_CONTENTS } > SDRAM
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* This program is used to generate definitions needed by
|
||||
* assembly language modules.
|
||||
*
|
||||
* We use the technique used in the OSF Mach kernel code:
|
||||
* generate asm statements containing #defines,
|
||||
* compile this file to assembler, and then extract the
|
||||
* #defines from the assembly-language output.
|
||||
*/
|
||||
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/kernel_stat.h>
|
||||
#include <linux/ptrace.h>
|
||||
#include <linux/hardirq.h>
|
||||
#include <linux/kbuild.h>
|
||||
|
||||
#include <asm/irq.h>
|
||||
#include <asm/errno.h>
|
||||
|
||||
int main (void)
|
||||
{
|
||||
/* offsets into the task struct */
|
||||
DEFINE (TASK_STATE, offsetof (struct task_struct, state));
|
||||
DEFINE (TASK_FLAGS, offsetof (struct task_struct, flags));
|
||||
DEFINE (TASK_PTRACE, offsetof (struct task_struct, ptrace));
|
||||
DEFINE (TASK_BLOCKED, offsetof (struct task_struct, blocked));
|
||||
DEFINE (TASK_THREAD, offsetof (struct task_struct, thread));
|
||||
DEFINE (TASK_THREAD_INFO, offsetof (struct task_struct, stack));
|
||||
DEFINE (TASK_MM, offsetof (struct task_struct, mm));
|
||||
DEFINE (TASK_ACTIVE_MM, offsetof (struct task_struct, active_mm));
|
||||
DEFINE (TASK_PID, offsetof (struct task_struct, pid));
|
||||
|
||||
/* offsets into the kernel_stat struct */
|
||||
DEFINE (STAT_IRQ, offsetof (struct kernel_stat, irqs));
|
||||
|
||||
|
||||
/* signal defines */
|
||||
DEFINE (SIGSEGV, SIGSEGV);
|
||||
DEFINE (SEGV_MAPERR, SEGV_MAPERR);
|
||||
DEFINE (SIGTRAP, SIGTRAP);
|
||||
DEFINE (SIGCHLD, SIGCHLD);
|
||||
DEFINE (SIGILL, SIGILL);
|
||||
DEFINE (TRAP_TRACE, TRAP_TRACE);
|
||||
|
||||
/* ptrace flag bits */
|
||||
DEFINE (PT_PTRACED, PT_PTRACED);
|
||||
DEFINE (PT_DTRACE, PT_DTRACE);
|
||||
|
||||
/* error values */
|
||||
DEFINE (ENOSYS, ENOSYS);
|
||||
|
||||
/* clone flag bits */
|
||||
DEFINE (CLONE_VFORK, CLONE_VFORK);
|
||||
DEFINE (CLONE_VM, CLONE_VM);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -1,142 +0,0 @@
|
||||
/*
|
||||
* arch/v850/kernel/bug.c -- Bug reporting functions
|
||||
*
|
||||
* Copyright (C) 2001,02,03 NEC Electronics Corporation
|
||||
* Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Written by Miles Bader <miles@gnu.org>
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/reboot.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <asm/errno.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/current.h>
|
||||
|
||||
/* We should use __builtin_return_address, but it doesn't work in gcc-2.90
|
||||
(which is currently our standard compiler on the v850). */
|
||||
#define ret_addr() ({ register u32 lp asm ("lp"); lp; })
|
||||
#define stack_addr() ({ register u32 sp asm ("sp"); sp; })
|
||||
|
||||
void __bug ()
|
||||
{
|
||||
printk (KERN_CRIT "kernel BUG at PC 0x%x (SP ~0x%x)!\n",
|
||||
ret_addr() - 4, /* - 4 for `jarl' */
|
||||
stack_addr());
|
||||
machine_halt ();
|
||||
}
|
||||
|
||||
int bad_trap (int trap_num, struct pt_regs *regs)
|
||||
{
|
||||
printk (KERN_CRIT
|
||||
"unimplemented trap %d called at 0x%08lx, pid %d!\n",
|
||||
trap_num, regs->pc, current->pid);
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_RESET_GUARD
|
||||
void unexpected_reset (unsigned long ret_addr, unsigned long kmode,
|
||||
struct task_struct *task, unsigned long sp)
|
||||
{
|
||||
printk (KERN_CRIT
|
||||
"unexpected reset in %s mode, pid %d"
|
||||
" (ret_addr = 0x%lx, sp = 0x%lx)\n",
|
||||
kmode ? "kernel" : "user",
|
||||
task ? task->pid : -1,
|
||||
ret_addr, sp);
|
||||
|
||||
machine_halt ();
|
||||
}
|
||||
#endif /* CONFIG_RESET_GUARD */
|
||||
|
||||
|
||||
|
||||
struct spec_reg_name {
|
||||
const char *name;
|
||||
int gpr;
|
||||
};
|
||||
|
||||
struct spec_reg_name spec_reg_names[] = {
|
||||
{ "sp", GPR_SP },
|
||||
{ "gp", GPR_GP },
|
||||
{ "tp", GPR_TP },
|
||||
{ "ep", GPR_EP },
|
||||
{ "lp", GPR_LP },
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
void show_regs (struct pt_regs *regs)
|
||||
{
|
||||
int gpr_base, gpr_offs;
|
||||
|
||||
printk (" pc 0x%08lx psw 0x%08lx kernel_mode %d\n",
|
||||
regs->pc, regs->psw, regs->kernel_mode);
|
||||
printk (" ctpc 0x%08lx ctpsw 0x%08lx ctbp 0x%08lx\n",
|
||||
regs->ctpc, regs->ctpsw, regs->ctbp);
|
||||
|
||||
for (gpr_base = 0; gpr_base < NUM_GPRS; gpr_base += 4) {
|
||||
for (gpr_offs = 0; gpr_offs < 4; gpr_offs++) {
|
||||
int gpr = gpr_base + gpr_offs;
|
||||
long val = regs->gpr[gpr];
|
||||
struct spec_reg_name *srn;
|
||||
|
||||
for (srn = spec_reg_names; srn->name; srn++)
|
||||
if (srn->gpr == gpr)
|
||||
break;
|
||||
|
||||
if (srn->name)
|
||||
printk ("%7s 0x%08lx", srn->name, val);
|
||||
else
|
||||
printk (" r%02d 0x%08lx", gpr, val);
|
||||
}
|
||||
|
||||
printk ("\n");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* TASK is a pointer to the task whose backtrace we want to see (or NULL
|
||||
* for current task), SP is the stack pointer of the first frame that
|
||||
* should be shown in the back trace (or NULL if the entire call-chain of
|
||||
* the task should be shown).
|
||||
*/
|
||||
void show_stack (struct task_struct *task, unsigned long *sp)
|
||||
{
|
||||
unsigned long addr, end;
|
||||
|
||||
if (sp)
|
||||
addr = (unsigned long)sp;
|
||||
else if (task)
|
||||
addr = task_sp (task);
|
||||
else
|
||||
addr = stack_addr ();
|
||||
|
||||
addr = addr & ~3;
|
||||
end = (addr + THREAD_SIZE - 1) & THREAD_MASK;
|
||||
|
||||
while (addr < end) {
|
||||
printk ("%8lX: ", addr);
|
||||
while (addr < end) {
|
||||
printk (" %8lX", *(unsigned long *)addr);
|
||||
addr += sizeof (unsigned long);
|
||||
if (! (addr & 0xF))
|
||||
break;
|
||||
}
|
||||
printk ("\n");
|
||||
}
|
||||
}
|
||||
|
||||
void dump_stack ()
|
||||
{
|
||||
show_stack (0, 0);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(dump_stack);
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,167 +0,0 @@
|
||||
/*
|
||||
* arch/v850/kernel/fpga85e2c.h -- Machine-dependent defs for
|
||||
* FPGA implementation of V850E2/NA85E2C
|
||||
*
|
||||
* Copyright (C) 2002,03 NEC Electronics Corporation
|
||||
* Copyright (C) 2002,03 Miles Bader <miles@gnu.org>
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Written by Miles Bader <miles@gnu.org>
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/swap.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#include <asm/atomic.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/machdep.h>
|
||||
|
||||
#include "mach.h"
|
||||
|
||||
extern void memcons_setup (void);
|
||||
|
||||
|
||||
#define REG_DUMP_ADDR 0x220000
|
||||
|
||||
|
||||
extern struct irqaction reg_snap_action; /* fwd decl */
|
||||
|
||||
|
||||
void __init mach_early_init (void)
|
||||
{
|
||||
int i;
|
||||
const u32 *src;
|
||||
register u32 *dst asm ("ep");
|
||||
extern u32 _intv_end, _intv_load_start;
|
||||
|
||||
/* Set bus sizes: CS0 32-bit, CS1 16-bit, CS7 8-bit,
|
||||
everything else 32-bit. */
|
||||
V850E2_BSC = 0x2AA6;
|
||||
for (i = 2; i <= 6; i++)
|
||||
CSDEV(i) = 0; /* 32 bit */
|
||||
|
||||
/* Ensure that the simulator halts on a panic, instead of going
|
||||
into an infinite loop inside the panic function. */
|
||||
panic_timeout = -1;
|
||||
|
||||
/* Move the interrupt vectors into their real location. Note that
|
||||
any relocations there are relative to the real location, so we
|
||||
don't have to fix anything up. We use a loop instead of calling
|
||||
memcpy to keep this a leaf function (to avoid a function
|
||||
prologue being generated). */
|
||||
dst = 0x10; /* &_intv_start + 0x10. */
|
||||
src = &_intv_load_start;
|
||||
do {
|
||||
u32 t0 = src[0], t1 = src[1], t2 = src[2], t3 = src[3];
|
||||
u32 t4 = src[4], t5 = src[5], t6 = src[6], t7 = src[7];
|
||||
dst[0] = t0; dst[1] = t1; dst[2] = t2; dst[3] = t3;
|
||||
dst[4] = t4; dst[5] = t5; dst[6] = t6; dst[7] = t7;
|
||||
dst += 8;
|
||||
src += 8;
|
||||
} while (dst < &_intv_end);
|
||||
}
|
||||
|
||||
void __init mach_setup (char **cmdline)
|
||||
{
|
||||
memcons_setup ();
|
||||
|
||||
/* Setup up NMI0 to copy the registers to a known memory location.
|
||||
The FGPA board has a button that produces NMI0 when pressed, so
|
||||
this allows us to push the button, and then look at memory to see
|
||||
what's in the registers (there's no other way to easily do so).
|
||||
We have to use `setup_irq' instead of `request_irq' because it's
|
||||
still too early to do memory allocation. */
|
||||
setup_irq (IRQ_NMI (0), ®_snap_action);
|
||||
}
|
||||
|
||||
void mach_get_physical_ram (unsigned long *ram_start, unsigned long *ram_len)
|
||||
{
|
||||
*ram_start = ERAM_ADDR;
|
||||
*ram_len = ERAM_SIZE;
|
||||
}
|
||||
|
||||
void __init mach_sched_init (struct irqaction *timer_action)
|
||||
{
|
||||
/* Setup up the timer interrupt. The FPGA peripheral control
|
||||
registers _only_ work with single-bit writes (set1/clr1)! */
|
||||
__clear_bit (RPU_GTMC_CE_BIT, &RPU_GTMC);
|
||||
__clear_bit (RPU_GTMC_CLK_BIT, &RPU_GTMC);
|
||||
__set_bit (RPU_GTMC_CE_BIT, &RPU_GTMC);
|
||||
|
||||
/* We use the first RPU interrupt, which occurs every 8.192ms. */
|
||||
setup_irq (IRQ_RPU (0), timer_action);
|
||||
}
|
||||
|
||||
|
||||
void mach_gettimeofday (struct timespec *tv)
|
||||
{
|
||||
tv->tv_sec = 0;
|
||||
tv->tv_nsec = 0;
|
||||
}
|
||||
|
||||
void machine_halt (void) __attribute__ ((noreturn));
|
||||
void machine_halt (void)
|
||||
{
|
||||
for (;;) {
|
||||
DWC(0) = 0x7777;
|
||||
DWC(1) = 0x7777;
|
||||
ASC = 0xffff;
|
||||
FLGREG(0) = 1; /* Halt immediately. */
|
||||
asm ("di; halt; nop; nop; nop; nop; nop");
|
||||
}
|
||||
}
|
||||
|
||||
void machine_restart (char *__unused)
|
||||
{
|
||||
machine_halt ();
|
||||
}
|
||||
|
||||
void machine_power_off (void)
|
||||
{
|
||||
machine_halt ();
|
||||
}
|
||||
|
||||
|
||||
/* Interrupts */
|
||||
|
||||
struct v850e_intc_irq_init irq_inits[] = {
|
||||
{ "IRQ", 0, NUM_MACH_IRQS, 1, 7 },
|
||||
{ "RPU", IRQ_RPU(0), IRQ_RPU_NUM, 1, 6 },
|
||||
{ 0 }
|
||||
};
|
||||
#define NUM_IRQ_INITS (ARRAY_SIZE(irq_inits) - 1)
|
||||
|
||||
struct hw_interrupt_type hw_itypes[NUM_IRQ_INITS];
|
||||
|
||||
/* Initialize interrupts. */
|
||||
void __init mach_init_irqs (void)
|
||||
{
|
||||
v850e_intc_init_irq_types (irq_inits, hw_itypes);
|
||||
}
|
||||
|
||||
|
||||
/* An interrupt handler that copies the registers to a known memory location,
|
||||
for debugging purposes. */
|
||||
|
||||
static void make_reg_snap (int irq, void *dummy, struct pt_regs *regs)
|
||||
{
|
||||
(*(unsigned *)REG_DUMP_ADDR)++;
|
||||
(*(struct pt_regs *)(REG_DUMP_ADDR + sizeof (unsigned))) = *regs;
|
||||
}
|
||||
|
||||
static int reg_snap_dev_id;
|
||||
static struct irqaction reg_snap_action = {
|
||||
.handler = make_reg_snap,
|
||||
.mask = CPU_MASK_NONE,
|
||||
.name = "reg_snap",
|
||||
.dev_id = ®_snap_dev_id,
|
||||
};
|
||||
@@ -1,62 +0,0 @@
|
||||
/* Linker script for the FPGA implementation of the V850E2 NA85E2C cpu core
|
||||
(CONFIG_V850E2_FPGA85E2C). */
|
||||
|
||||
MEMORY {
|
||||
/* Reset vector. */
|
||||
RESET : ORIGIN = 0, LENGTH = 0x10
|
||||
/* Interrupt vectors. */
|
||||
INTV : ORIGIN = 0x10, LENGTH = 0x470
|
||||
/* The `window' in RAM were we're allowed to load stuff. */
|
||||
RAM_LOW : ORIGIN = 0x480, LENGTH = 0x0005FB80
|
||||
/* Some more ram above the window were we can put bss &c. */
|
||||
RAM_HIGH : ORIGIN = 0x00060000, LENGTH = 0x000A0000
|
||||
/* This is the area visible from the outside world (we can use
|
||||
this only for uninitialized data). */
|
||||
VISIBLE : ORIGIN = 0x00200000, LENGTH = 0x00060000
|
||||
}
|
||||
|
||||
SECTIONS {
|
||||
.reset : {
|
||||
__kram_start = . ;
|
||||
__intv_start = . ;
|
||||
*(.intv.reset) /* Reset vector */
|
||||
} > RESET
|
||||
|
||||
.ram_low : {
|
||||
__r0_ram = . ; /* Must be near address 0. */
|
||||
. = . + 32 ;
|
||||
|
||||
TEXT_CONTENTS
|
||||
DATA_CONTENTS
|
||||
ROOT_FS_CONTENTS
|
||||
RAMK_INIT_CONTENTS_NO_END
|
||||
INITRAMFS_CONTENTS
|
||||
} > RAM_LOW
|
||||
|
||||
/* Where the interrupt vectors are initially loaded. */
|
||||
__intv_load_start = . ;
|
||||
|
||||
.intv : {
|
||||
*(.intv.common) /* Vectors common to all v850e proc. */
|
||||
*(.intv.mach) /* Machine-specific int. vectors. */
|
||||
__intv_end = . ;
|
||||
} > INTV AT> RAM_LOW
|
||||
|
||||
.ram_high : {
|
||||
/* This is here so that when we free init memory the
|
||||
load-time copy of the interrupt vectors and any empty
|
||||
space at the end of the `RAM_LOW' area is freed too. */
|
||||
. = ALIGN (4096);
|
||||
__init_end = . ;
|
||||
|
||||
BSS_CONTENTS
|
||||
__kram_end = . ;
|
||||
BOOTMAP_CONTENTS
|
||||
} > RAM_HIGH
|
||||
|
||||
.visible : {
|
||||
_memcons_output = . ;
|
||||
. = . + 0x8000 ;
|
||||
_memcons_output_end = . ;
|
||||
} > VISIBLE
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user