mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh64-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh64-2.6: sh64: mach-cayman: Build fixes. sh64: Symbol export fixups. sh64: linker script tidying and alignment fixups. sh64: Set KBUILD_IMAGE to make the rpm target happy. sh64: Kill off obsolete linux/blk.h reference. sh64: cleanup struct irqaction initializers. sh64: Kill off dead gdb stub symbol. sh64: alphanumeric display only on Cayman. sh64: Add defconfigs for mach-sim and mach-harp. sh64: update cayman defconfig. sh64: Tidy up Kconfig dependencies. sh64: Move consistent DMA routines to arch/sh64/mm/. sh64: Some symbol exports and build fixes. sh64: mach-sim: Build fixes. sh64: mach-harp: Build fixes. sh64: Kill off duplicate frame pointer option. sh64: Kill off dead ROM-RAM and generic boards. sh64: Tidy up includes for Cayman board. sh64: Move *_p() I/O routine variants to io.h.
This commit is contained in:
commit
ecaedfa385
26 files changed
+1641
-455
No files matched your search
+19
-32
@@ -36,6 +36,14 @@ config GENERIC_CALIBRATE_DELAY
|
||||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_HARDIRQS
|
||||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_IRQ_PROBE
|
||||
bool
|
||||
default y
|
||||
|
||||
config RWSEM_XCHGADD_ALGORITHM
|
||||
bool
|
||||
|
||||
@@ -58,18 +66,12 @@ choice
|
||||
prompt "SuperH system type"
|
||||
default SH_SIMULATOR
|
||||
|
||||
config SH_GENERIC
|
||||
bool "Generic"
|
||||
|
||||
config SH_SIMULATOR
|
||||
bool "Simulator"
|
||||
|
||||
config SH_CAYMAN
|
||||
bool "Cayman"
|
||||
|
||||
config SH_ROMRAM
|
||||
bool "ROM/RAM"
|
||||
|
||||
config SH_HARP
|
||||
bool "ST50-Harp"
|
||||
|
||||
@@ -152,60 +154,54 @@ comment "Memory options"
|
||||
|
||||
config CACHED_MEMORY_OFFSET
|
||||
hex "Cached Area Offset"
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
default "20000000"
|
||||
|
||||
config MEMORY_START
|
||||
hex "Physical memory start address"
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
default "80000000"
|
||||
|
||||
config MEMORY_SIZE_IN_MB
|
||||
int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
default "64" if SH_HARP || SH_CAYMAN
|
||||
int "Memory size (in MB)"
|
||||
default "8" if SH_SIMULATOR
|
||||
default "64"
|
||||
|
||||
comment "Cache options"
|
||||
|
||||
config DCACHE_DISABLED
|
||||
bool "DCache Disabling"
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
|
||||
choice
|
||||
prompt "DCache mode"
|
||||
depends on !DCACHE_DISABLED && !SH_SIMULATOR
|
||||
default DCACHE_DISABLED if SH_SIMULATOR
|
||||
default DCACHE_WRITE_BACK
|
||||
|
||||
config DCACHE_WRITE_BACK
|
||||
bool "Write-back"
|
||||
depends on !SH_SIMULATOR
|
||||
|
||||
config DCACHE_WRITE_THROUGH
|
||||
bool "Write-through"
|
||||
depends on !SH_SIMULATOR
|
||||
|
||||
config DCACHE_DISABLED
|
||||
bool "Disabled"
|
||||
|
||||
endchoice
|
||||
|
||||
config ICACHE_DISABLED
|
||||
bool "ICache Disabling"
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
|
||||
config PCIDEVICE_MEMORY_START
|
||||
hex
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
default "C0000000"
|
||||
|
||||
config DEVICE_MEMORY_START
|
||||
hex
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
default "E0000000"
|
||||
|
||||
config FLASH_MEMORY_START
|
||||
hex "Flash memory/on-chip devices start address"
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
default "00000000"
|
||||
|
||||
config PCI_BLOCK_START
|
||||
hex "PCI block start address"
|
||||
depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
|
||||
default "40000000"
|
||||
|
||||
comment "CPU Subtype specific options"
|
||||
@@ -214,8 +210,10 @@ config SH64_ID2815_WORKAROUND
|
||||
bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
|
||||
|
||||
comment "Misc options"
|
||||
|
||||
config HEARTBEAT
|
||||
bool "Heartbeat LED"
|
||||
depends on SH_CAYMAN
|
||||
|
||||
config HDSP253_LED
|
||||
bool "Support for HDSP-253 LED"
|
||||
@@ -242,6 +240,7 @@ config SBUS
|
||||
|
||||
config PCI
|
||||
bool "PCI support"
|
||||
depends on SH_CAYMAN
|
||||
help
|
||||
Find out whether you have a PCI motherboard. PCI is the name of a
|
||||
bus system, i.e. the way the CPU talks to the other stuff inside
|
||||
@@ -294,15 +293,3 @@ source "security/Kconfig"
|
||||
source "crypto/Kconfig"
|
||||
|
||||
source "lib/Kconfig"
|
||||
|
||||
#
|
||||
# Use the generic interrupt handling code in kernel/irq/:
|
||||
#
|
||||
config GENERIC_HARDIRQS
|
||||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_IRQ_PROBE
|
||||
bool
|
||||
default y
|
||||
|
||||
+1
-12
@@ -5,9 +5,6 @@ source "lib/Kconfig.debug"
|
||||
config EARLY_PRINTK
|
||||
bool "Early SCIF console support"
|
||||
|
||||
config DEBUG_KERNEL_WITH_GDB_STUB
|
||||
bool "GDB Stub kernel debug"
|
||||
|
||||
config SH64_PROC_TLB
|
||||
bool "Debug: report TLB fill/purge activity through /proc/tlb"
|
||||
depends on PROC_FS
|
||||
@@ -28,17 +25,9 @@ config POOR_MANS_STRACE
|
||||
|
||||
config SH_ALPHANUMERIC
|
||||
bool "Enable debug outputs to on-board alphanumeric display"
|
||||
depends on SH_CAYMAN
|
||||
|
||||
config SH_NO_BSS_INIT
|
||||
bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)"
|
||||
|
||||
config FRAME_POINTER
|
||||
bool "Compile the kernel with frame pointers"
|
||||
default y if KGDB
|
||||
help
|
||||
If you say Y here the resulting kernel image will be slightly larger
|
||||
and slower, but it will give very useful debugging information.
|
||||
If you don't debug the kernel, you can say N, but we may not be able
|
||||
to solve problems without frame pointers.
|
||||
|
||||
endmenu
|
||||
+3
-3
@@ -40,6 +40,8 @@ OBJCOPYFLAGS := -O binary -R .note -R .comment -R .stab -R .stabstr -S
|
||||
#
|
||||
KBUILD_DEFCONFIG := cayman_defconfig
|
||||
|
||||
KBUILD_IMAGE := arch/$(ARCH)/boot/zImage
|
||||
|
||||
ifdef LOADADDR
|
||||
LINKFLAGS += -Ttext $(word 1,$(LOADADDR))
|
||||
endif
|
||||
@@ -47,7 +49,6 @@ endif
|
||||
machine-$(CONFIG_SH_CAYMAN) := cayman
|
||||
machine-$(CONFIG_SH_SIMULATOR) := sim
|
||||
machine-$(CONFIG_SH_HARP) := harp
|
||||
machine-$(CONFIG_SH_ROMRAM) := romram
|
||||
|
||||
head-y := arch/$(ARCH)/kernel/head.o arch/$(ARCH)/kernel/init_task.o
|
||||
|
||||
@@ -106,6 +107,5 @@ arch/$(ARCH)/lib/syscalltab.h: arch/sh64/kernel/syscalls.S
|
||||
CLEAN_FILES += arch/$(ARCH)/lib/syscalltab.h
|
||||
|
||||
define archhelp
|
||||
@echo ' zImage - Compressed kernel image (arch/sh64/boot/zImage)'
|
||||
@echo '* zImage - Compressed kernel image'
|
||||
endef
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Linux kernel version: 2.6.22
|
||||
# Fri Jul 20 12:28:34 2007
|
||||
# Linux kernel version: 2.6.23-rc8
|
||||
# Tue Oct 9 15:37:16 2007
|
||||
#
|
||||
CONFIG_SUPERH=y
|
||||
CONFIG_SUPERH64=y
|
||||
@@ -11,21 +11,20 @@ CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||
CONFIG_GENERIC_FIND_NEXT_BIT=y
|
||||
CONFIG_GENERIC_HWEIGHT=y
|
||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||
CONFIG_GENERIC_HARDIRQS=y
|
||||
CONFIG_GENERIC_IRQ_PROBE=y
|
||||
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
|
||||
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
|
||||
CONFIG_ARCH_NO_VIRT_TO_BUS=y
|
||||
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||
|
||||
#
|
||||
# Code maturity level options
|
||||
# General setup
|
||||
#
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
CONFIG_BROKEN_ON_SMP=y
|
||||
CONFIG_LOCK_KERNEL=y
|
||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
|
||||
#
|
||||
# General setup
|
||||
#
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
CONFIG_SWAP=y
|
||||
@@ -57,7 +56,6 @@ CONFIG_FUTEX=y
|
||||
CONFIG_ANON_INODES=y
|
||||
CONFIG_EPOLL=y
|
||||
CONFIG_SIGNALFD=y
|
||||
CONFIG_TIMERFD=y
|
||||
CONFIG_EVENTFD=y
|
||||
CONFIG_SHMEM=y
|
||||
CONFIG_VM_EVENT_COUNTERS=y
|
||||
@@ -67,7 +65,12 @@ CONFIG_SLAB=y
|
||||
CONFIG_RT_MUTEXES=y
|
||||
# CONFIG_TINY_SHMEM is not set
|
||||
CONFIG_BASE_SMALL=0
|
||||
# CONFIG_MODULES is not set
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
# CONFIG_MODULE_FORCE_UNLOAD is not set
|
||||
# CONFIG_MODVERSIONS is not set
|
||||
# CONFIG_MODULE_SRCVERSION_ALL is not set
|
||||
CONFIG_KMOD=y
|
||||
CONFIG_BLOCK=y
|
||||
# CONFIG_LBD is not set
|
||||
# CONFIG_BLK_DEV_IO_TRACE is not set
|
||||
@@ -90,10 +93,8 @@ CONFIG_DEFAULT_IOSCHED="cfq"
|
||||
#
|
||||
# System type
|
||||
#
|
||||
# CONFIG_SH_GENERIC is not set
|
||||
# CONFIG_SH_SIMULATOR is not set
|
||||
CONFIG_SH_CAYMAN=y
|
||||
# CONFIG_SH_ROMRAM is not set
|
||||
# CONFIG_SH_HARP is not set
|
||||
CONFIG_CPU_SH5=y
|
||||
CONFIG_CPU_SUBTYPE_SH5_101=y
|
||||
@@ -119,9 +120,9 @@ CONFIG_MEMORY_SIZE_IN_MB=128
|
||||
#
|
||||
# Cache options
|
||||
#
|
||||
# CONFIG_DCACHE_DISABLED is not set
|
||||
CONFIG_DCACHE_WRITE_BACK=y
|
||||
# CONFIG_DCACHE_WRITE_THROUGH is not set
|
||||
# CONFIG_DCACHE_DISABLED is not set
|
||||
# CONFIG_ICACHE_DISABLED is not set
|
||||
CONFIG_PCIDEVICE_MEMORY_START=C0000000
|
||||
CONFIG_DEVICE_MEMORY_START=E0000000
|
||||
@@ -151,7 +152,6 @@ CONFIG_SPLIT_PTLOCK_CPUS=4
|
||||
# CONFIG_RESOURCES_64BIT is not set
|
||||
CONFIG_ZONE_DMA_FLAG=0
|
||||
CONFIG_NR_QUICK=1
|
||||
CONFIG_VIRT_TO_BUS=y
|
||||
|
||||
#
|
||||
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
|
||||
@@ -276,7 +276,6 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||
# CONFIG_MTD is not set
|
||||
# CONFIG_PARPORT is not set
|
||||
CONFIG_BLK_DEV=y
|
||||
# CONFIG_BLK_CPQ_DA is not set
|
||||
# CONFIG_BLK_CPQ_CISS_DA is not set
|
||||
# CONFIG_BLK_DEV_DAC960 is not set
|
||||
# CONFIG_BLK_DEV_UMEM is not set
|
||||
@@ -325,6 +324,7 @@ CONFIG_SCSI_MULTI_LUN=y
|
||||
# CONFIG_SCSI_CONSTANTS is not set
|
||||
# CONFIG_SCSI_LOGGING is not set
|
||||
# CONFIG_SCSI_SCAN_ASYNC is not set
|
||||
CONFIG_SCSI_WAIT_SCAN=m
|
||||
|
||||
#
|
||||
# SCSI Transports
|
||||
@@ -332,12 +332,8 @@ CONFIG_SCSI_MULTI_LUN=y
|
||||
CONFIG_SCSI_SPI_ATTRS=y
|
||||
# CONFIG_SCSI_FC_ATTRS is not set
|
||||
# CONFIG_SCSI_ISCSI_ATTRS is not set
|
||||
# CONFIG_SCSI_SAS_ATTRS is not set
|
||||
# CONFIG_SCSI_SAS_LIBSAS is not set
|
||||
|
||||
#
|
||||
# SCSI low-level drivers
|
||||
#
|
||||
CONFIG_SCSI_LOWLEVEL=y
|
||||
# CONFIG_ISCSI_TCP is not set
|
||||
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
|
||||
# CONFIG_SCSI_3W_9XXX is not set
|
||||
@@ -347,7 +343,6 @@ CONFIG_SCSI_SPI_ATTRS=y
|
||||
# CONFIG_SCSI_AIC7XXX_OLD is not set
|
||||
# CONFIG_SCSI_AIC79XX is not set
|
||||
# CONFIG_SCSI_AIC94XX is not set
|
||||
# CONFIG_SCSI_DPT_I2O is not set
|
||||
# CONFIG_SCSI_ARCMSR is not set
|
||||
# CONFIG_MEGARAID_NEWGEN is not set
|
||||
# CONFIG_MEGARAID_LEGACY is not set
|
||||
@@ -449,6 +444,7 @@ CONFIG_NETDEV_1000=y
|
||||
# CONFIG_SIS190 is not set
|
||||
# CONFIG_SKGE is not set
|
||||
# CONFIG_SKY2 is not set
|
||||
# CONFIG_SK98LIN is not set
|
||||
# CONFIG_VIA_VELOCITY is not set
|
||||
# CONFIG_TIGON3 is not set
|
||||
# CONFIG_BNX2 is not set
|
||||
@@ -572,7 +568,6 @@ CONFIG_WATCHDOG=y
|
||||
# Watchdog Device Drivers
|
||||
#
|
||||
# CONFIG_SOFT_WATCHDOG is not set
|
||||
# CONFIG_SH_WDT is not set
|
||||
|
||||
#
|
||||
# PCI-based Watchdog Cards
|
||||
@@ -586,7 +581,59 @@ CONFIG_HW_RANDOM=y
|
||||
# CONFIG_RAW_DRIVER is not set
|
||||
# CONFIG_TCG_TPM is not set
|
||||
CONFIG_DEVPORT=y
|
||||
# CONFIG_I2C is not set
|
||||
CONFIG_I2C=m
|
||||
CONFIG_I2C_BOARDINFO=y
|
||||
# CONFIG_I2C_CHARDEV is not set
|
||||
|
||||
#
|
||||
# I2C Algorithms
|
||||
#
|
||||
# CONFIG_I2C_ALGOBIT is not set
|
||||
# CONFIG_I2C_ALGOPCF is not set
|
||||
# CONFIG_I2C_ALGOPCA is not set
|
||||
|
||||
#
|
||||
# I2C Hardware Bus support
|
||||
#
|
||||
# CONFIG_I2C_ALI1535 is not set
|
||||
# CONFIG_I2C_ALI1563 is not set
|
||||
# CONFIG_I2C_ALI15X3 is not set
|
||||
# CONFIG_I2C_AMD756 is not set
|
||||
# CONFIG_I2C_AMD8111 is not set
|
||||
# CONFIG_I2C_I801 is not set
|
||||
# CONFIG_I2C_I810 is not set
|
||||
# CONFIG_I2C_PIIX4 is not set
|
||||
# CONFIG_I2C_NFORCE2 is not set
|
||||
# CONFIG_I2C_OCORES is not set
|
||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||
# CONFIG_I2C_PROSAVAGE is not set
|
||||
# CONFIG_I2C_SAVAGE4 is not set
|
||||
# CONFIG_I2C_SIMTEC is not set
|
||||
# CONFIG_I2C_SIS5595 is not set
|
||||
# CONFIG_I2C_SIS630 is not set
|
||||
# CONFIG_I2C_SIS96X is not set
|
||||
# CONFIG_I2C_TAOS_EVM is not set
|
||||
# CONFIG_I2C_STUB is not set
|
||||
# CONFIG_I2C_VIA is not set
|
||||
# CONFIG_I2C_VIAPRO is not set
|
||||
# CONFIG_I2C_VOODOO3 is not set
|
||||
|
||||
#
|
||||
# Miscellaneous I2C Chip support
|
||||
#
|
||||
# CONFIG_SENSORS_DS1337 is not set
|
||||
# CONFIG_SENSORS_DS1374 is not set
|
||||
# CONFIG_DS1682 is not set
|
||||
# CONFIG_SENSORS_EEPROM is not set
|
||||
# CONFIG_SENSORS_PCF8574 is not set
|
||||
# CONFIG_SENSORS_PCA9539 is not set
|
||||
# CONFIG_SENSORS_PCF8591 is not set
|
||||
# CONFIG_SENSORS_MAX6875 is not set
|
||||
# CONFIG_SENSORS_TSL2550 is not set
|
||||
# CONFIG_I2C_DEBUG_CORE is not set
|
||||
# CONFIG_I2C_DEBUG_ALGO is not set
|
||||
# CONFIG_I2C_DEBUG_BUS is not set
|
||||
# CONFIG_I2C_DEBUG_CHIP is not set
|
||||
|
||||
#
|
||||
# SPI support
|
||||
@@ -599,16 +646,51 @@ CONFIG_HWMON=y
|
||||
# CONFIG_HWMON_VID is not set
|
||||
# CONFIG_SENSORS_ABITUGURU is not set
|
||||
# CONFIG_SENSORS_ABITUGURU3 is not set
|
||||
# CONFIG_SENSORS_AD7418 is not set
|
||||
# CONFIG_SENSORS_ADM1021 is not set
|
||||
# CONFIG_SENSORS_ADM1025 is not set
|
||||
# CONFIG_SENSORS_ADM1026 is not set
|
||||
# CONFIG_SENSORS_ADM1029 is not set
|
||||
# CONFIG_SENSORS_ADM1031 is not set
|
||||
# CONFIG_SENSORS_ADM9240 is not set
|
||||
# CONFIG_SENSORS_ASB100 is not set
|
||||
# CONFIG_SENSORS_ATXP1 is not set
|
||||
# CONFIG_SENSORS_DS1621 is not set
|
||||
# CONFIG_SENSORS_F71805F is not set
|
||||
# CONFIG_SENSORS_FSCHER is not set
|
||||
# CONFIG_SENSORS_FSCPOS is not set
|
||||
# CONFIG_SENSORS_GL518SM is not set
|
||||
# CONFIG_SENSORS_GL520SM is not set
|
||||
# CONFIG_SENSORS_IT87 is not set
|
||||
# CONFIG_SENSORS_LM63 is not set
|
||||
# CONFIG_SENSORS_LM75 is not set
|
||||
# CONFIG_SENSORS_LM77 is not set
|
||||
# CONFIG_SENSORS_LM78 is not set
|
||||
# CONFIG_SENSORS_LM80 is not set
|
||||
# CONFIG_SENSORS_LM83 is not set
|
||||
# CONFIG_SENSORS_LM85 is not set
|
||||
# CONFIG_SENSORS_LM87 is not set
|
||||
# CONFIG_SENSORS_LM90 is not set
|
||||
# CONFIG_SENSORS_LM92 is not set
|
||||
# CONFIG_SENSORS_LM93 is not set
|
||||
# CONFIG_SENSORS_MAX1619 is not set
|
||||
# CONFIG_SENSORS_MAX6650 is not set
|
||||
# CONFIG_SENSORS_PC87360 is not set
|
||||
# CONFIG_SENSORS_PC87427 is not set
|
||||
# CONFIG_SENSORS_SIS5595 is not set
|
||||
# CONFIG_SENSORS_DME1737 is not set
|
||||
# CONFIG_SENSORS_SMSC47M1 is not set
|
||||
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||
# CONFIG_SENSORS_THMC50 is not set
|
||||
# CONFIG_SENSORS_VIA686A is not set
|
||||
# CONFIG_SENSORS_VT1211 is not set
|
||||
# CONFIG_SENSORS_VT8231 is not set
|
||||
# CONFIG_SENSORS_W83781D is not set
|
||||
# CONFIG_SENSORS_W83791D is not set
|
||||
# CONFIG_SENSORS_W83792D is not set
|
||||
# CONFIG_SENSORS_W83793 is not set
|
||||
# CONFIG_SENSORS_W83L785TS is not set
|
||||
# CONFIG_SENSORS_W83627HF is not set
|
||||
# CONFIG_SENSORS_W83627EHF is not set
|
||||
# CONFIG_HWMON_DEBUG_CHIP is not set
|
||||
@@ -621,8 +703,115 @@ CONFIG_HWMON=y
|
||||
#
|
||||
# Multimedia devices
|
||||
#
|
||||
# CONFIG_VIDEO_DEV is not set
|
||||
# CONFIG_DVB_CORE is not set
|
||||
CONFIG_VIDEO_DEV=m
|
||||
# CONFIG_VIDEO_V4L1 is not set
|
||||
# CONFIG_VIDEO_V4L1_COMPAT is not set
|
||||
CONFIG_VIDEO_V4L2=y
|
||||
CONFIG_VIDEO_CAPTURE_DRIVERS=y
|
||||
# CONFIG_VIDEO_ADV_DEBUG is not set
|
||||
CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
|
||||
# CONFIG_VIDEO_VIVI is not set
|
||||
# CONFIG_VIDEO_SAA5246A is not set
|
||||
# CONFIG_VIDEO_SAA5249 is not set
|
||||
# CONFIG_TUNER_TEA5761 is not set
|
||||
# CONFIG_VIDEO_SAA7134 is not set
|
||||
# CONFIG_VIDEO_HEXIUM_ORION is not set
|
||||
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
|
||||
# CONFIG_VIDEO_CX88 is not set
|
||||
# CONFIG_VIDEO_CAFE_CCIC is not set
|
||||
# CONFIG_RADIO_ADAPTERS is not set
|
||||
CONFIG_DVB_CORE=y
|
||||
# CONFIG_DVB_CORE_ATTACH is not set
|
||||
CONFIG_DVB_CAPTURE_DRIVERS=y
|
||||
|
||||
#
|
||||
# Supported SAA7146 based PCI Adapters
|
||||
#
|
||||
|
||||
#
|
||||
# Supported FlexCopII (B2C2) Adapters
|
||||
#
|
||||
# CONFIG_DVB_B2C2_FLEXCOP is not set
|
||||
|
||||
#
|
||||
# Supported BT878 Adapters
|
||||
#
|
||||
|
||||
#
|
||||
# Supported Pluto2 Adapters
|
||||
#
|
||||
# CONFIG_DVB_PLUTO2 is not set
|
||||
|
||||
#
|
||||
# Supported DVB Frontends
|
||||
#
|
||||
|
||||
#
|
||||
# Customise DVB Frontends
|
||||
#
|
||||
# CONFIG_DVB_FE_CUSTOMISE is not set
|
||||
|
||||
#
|
||||
# DVB-S (satellite) frontends
|
||||
#
|
||||
# CONFIG_DVB_STV0299 is not set
|
||||
# CONFIG_DVB_CX24110 is not set
|
||||
# CONFIG_DVB_CX24123 is not set
|
||||
# CONFIG_DVB_TDA8083 is not set
|
||||
# CONFIG_DVB_MT312 is not set
|
||||
# CONFIG_DVB_VES1X93 is not set
|
||||
# CONFIG_DVB_S5H1420 is not set
|
||||
# CONFIG_DVB_TDA10086 is not set
|
||||
|
||||
#
|
||||
# DVB-T (terrestrial) frontends
|
||||
#
|
||||
# CONFIG_DVB_SP8870 is not set
|
||||
# CONFIG_DVB_SP887X is not set
|
||||
# CONFIG_DVB_CX22700 is not set
|
||||
# CONFIG_DVB_CX22702 is not set
|
||||
# CONFIG_DVB_L64781 is not set
|
||||
# CONFIG_DVB_TDA1004X is not set
|
||||
# CONFIG_DVB_NXT6000 is not set
|
||||
# CONFIG_DVB_MT352 is not set
|
||||
# CONFIG_DVB_ZL10353 is not set
|
||||
# CONFIG_DVB_DIB3000MB is not set
|
||||
# CONFIG_DVB_DIB3000MC is not set
|
||||
# CONFIG_DVB_DIB7000M is not set
|
||||
# CONFIG_DVB_DIB7000P is not set
|
||||
|
||||
#
|
||||
# DVB-C (cable) frontends
|
||||
#
|
||||
# CONFIG_DVB_VES1820 is not set
|
||||
# CONFIG_DVB_TDA10021 is not set
|
||||
# CONFIG_DVB_TDA10023 is not set
|
||||
# CONFIG_DVB_STV0297 is not set
|
||||
|
||||
#
|
||||
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
|
||||
#
|
||||
# CONFIG_DVB_NXT200X is not set
|
||||
# CONFIG_DVB_OR51211 is not set
|
||||
# CONFIG_DVB_OR51132 is not set
|
||||
# CONFIG_DVB_BCM3510 is not set
|
||||
# CONFIG_DVB_LGDT330X is not set
|
||||
|
||||
#
|
||||
# Tuners/PLL support
|
||||
#
|
||||
# CONFIG_DVB_PLL is not set
|
||||
# CONFIG_DVB_TDA826X is not set
|
||||
# CONFIG_DVB_TDA827X is not set
|
||||
# CONFIG_DVB_TUNER_QT1010 is not set
|
||||
# CONFIG_DVB_TUNER_MT2060 is not set
|
||||
|
||||
#
|
||||
# Miscellaneous devices
|
||||
#
|
||||
# CONFIG_DVB_LNBP21 is not set
|
||||
# CONFIG_DVB_ISL6421 is not set
|
||||
# CONFIG_DVB_TUA6100 is not set
|
||||
CONFIG_DAB=y
|
||||
|
||||
#
|
||||
@@ -635,6 +824,7 @@ CONFIG_DAB=y
|
||||
#
|
||||
# CONFIG_DISPLAY_SUPPORT is not set
|
||||
# CONFIG_VGASTATE is not set
|
||||
CONFIG_VIDEO_OUTPUT_CONTROL=y
|
||||
CONFIG_FB=y
|
||||
CONFIG_FIRMWARE_EDID=y
|
||||
# CONFIG_FB_DDC is not set
|
||||
@@ -728,24 +918,8 @@ CONFIG_USB_ARCH_HAS_EHCI=y
|
||||
#
|
||||
# CONFIG_USB_GADGET is not set
|
||||
# CONFIG_MMC is not set
|
||||
|
||||
#
|
||||
# LED devices
|
||||
#
|
||||
# CONFIG_NEW_LEDS is not set
|
||||
|
||||
#
|
||||
# LED drivers
|
||||
#
|
||||
|
||||
#
|
||||
# LED Triggers
|
||||
#
|
||||
# CONFIG_INFINIBAND is not set
|
||||
|
||||
#
|
||||
# Real Time Clock
|
||||
#
|
||||
# CONFIG_RTC_CLASS is not set
|
||||
|
||||
#
|
||||
@@ -929,9 +1103,9 @@ CONFIG_DEBUG_BUGVERBOSE=y
|
||||
# CONFIG_DEBUG_LIST is not set
|
||||
CONFIG_FRAME_POINTER=y
|
||||
CONFIG_FORCED_INLINING=y
|
||||
# CONFIG_RCU_TORTURE_TEST is not set
|
||||
# CONFIG_FAULT_INJECTION is not set
|
||||
# CONFIG_EARLY_PRINTK is not set
|
||||
# CONFIG_DEBUG_KERNEL_WITH_GDB_STUB is not set
|
||||
CONFIG_SH64_PROC_TLB=y
|
||||
CONFIG_SH64_PROC_ASIDS=y
|
||||
CONFIG_SH64_SR_WATCH=y
|
||||
@@ -960,5 +1134,3 @@ CONFIG_PLIST=y
|
||||
CONFIG_HAS_IOMEM=y
|
||||
CONFIG_HAS_IOPORT=y
|
||||
CONFIG_HAS_DMA=y
|
||||
CONFIG_GENERIC_HARDIRQS=y
|
||||
CONFIG_GENERIC_IRQ_PROBE=y
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -25,7 +25,7 @@ obj-$(CONFIG_SH_DMA) += dma.o
|
||||
obj-$(CONFIG_SH_FPU) += fpu.o
|
||||
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
||||
obj-$(CONFIG_KALLSYMS) += unwind.o
|
||||
obj-$(CONFIG_PCI) += pci-dma.o pcibios.o
|
||||
obj-$(CONFIG_PCI) += pcibios.o
|
||||
obj-$(CONFIG_MODULES) += module.o
|
||||
|
||||
ifeq ($(CONFIG_PCI),y)
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <linux/sched.h>
|
||||
|
||||
void mach_alphanum(int pos, unsigned char val);
|
||||
void mach_led(int pos, int val);
|
||||
|
||||
void print_seg(char *file, int line)
|
||||
{
|
||||
|
||||
@@ -31,16 +31,11 @@ extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
|
||||
|
||||
/* platform dependent support */
|
||||
EXPORT_SYMBOL(dump_fpu);
|
||||
EXPORT_SYMBOL(iounmap);
|
||||
EXPORT_SYMBOL(enable_irq);
|
||||
EXPORT_SYMBOL(disable_irq);
|
||||
EXPORT_SYMBOL(kernel_thread);
|
||||
|
||||
/* Networking helper routines. */
|
||||
EXPORT_SYMBOL(csum_partial_copy_nocheck);
|
||||
|
||||
EXPORT_SYMBOL(strstr);
|
||||
|
||||
#ifdef CONFIG_VT
|
||||
EXPORT_SYMBOL(screen_info);
|
||||
#endif
|
||||
@@ -50,27 +45,18 @@ EXPORT_SYMBOL(__down_trylock);
|
||||
EXPORT_SYMBOL(__up);
|
||||
EXPORT_SYMBOL(__put_user_asm_l);
|
||||
EXPORT_SYMBOL(__get_user_asm_l);
|
||||
EXPORT_SYMBOL(memcmp);
|
||||
EXPORT_SYMBOL(__copy_user);
|
||||
EXPORT_SYMBOL(memcpy);
|
||||
EXPORT_SYMBOL(memset);
|
||||
EXPORT_SYMBOL(memscan);
|
||||
EXPORT_SYMBOL(strchr);
|
||||
EXPORT_SYMBOL(strlen);
|
||||
|
||||
EXPORT_SYMBOL(udelay);
|
||||
EXPORT_SYMBOL(__udelay);
|
||||
EXPORT_SYMBOL(ndelay);
|
||||
EXPORT_SYMBOL(__ndelay);
|
||||
EXPORT_SYMBOL(flush_dcache_page);
|
||||
|
||||
/* For ext3 */
|
||||
EXPORT_SYMBOL(sh64_page_clear);
|
||||
|
||||
/* Ugh. These come in from libgcc.a at link time. */
|
||||
#define DECLARE_EXPORT(name) extern void name(void);EXPORT_SYMBOL(name)
|
||||
|
||||
extern void __sdivsi3(void);
|
||||
extern void __muldi3(void);
|
||||
extern void __udivsi3(void);
|
||||
extern char __div_table;
|
||||
EXPORT_SYMBOL(__sdivsi3);
|
||||
EXPORT_SYMBOL(__muldi3);
|
||||
EXPORT_SYMBOL(__udivsi3);
|
||||
EXPORT_SYMBOL(__div_table);
|
||||
|
||||
|
||||
DECLARE_EXPORT(__sdivsi3);
|
||||
DECLARE_EXPORT(__muldi3);
|
||||
DECLARE_EXPORT(__udivsi3);
|
||||
+12
-2
@@ -476,8 +476,18 @@ static irqreturn_t sh64_rtc_interrupt(int irq, void *dev_id)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static struct irqaction irq0 = { timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL};
|
||||
static struct irqaction irq1 = { sh64_rtc_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "rtc", NULL, NULL};
|
||||
static struct irqaction irq0 = {
|
||||
.handler = timer_interrupt,
|
||||
.flags = IRQF_DISABLED,
|
||||
.mask = CPU_MASK_NONE,
|
||||
.name = "timer",
|
||||
};
|
||||
static struct irqaction irq1 = {
|
||||
.handler = sh64_rtc_interrupt,
|
||||
.flags = IRQF_DISABLED,
|
||||
.mask = CPU_MASK_NONE,
|
||||
.name = "rtc",
|
||||
};
|
||||
|
||||
void __init time_init(void)
|
||||
{
|
||||
|
||||
@@ -30,14 +30,6 @@
|
||||
#define LOAD_OFFSET CONFIG_CACHED_MEMORY_OFFSET
|
||||
#include <asm-generic/vmlinux.lds.h>
|
||||
|
||||
#ifdef NOTDEF
|
||||
#ifdef CONFIG_LITTLE_ENDIAN
|
||||
OUTPUT_FORMAT("elf32-sh64l-linux", "elf32-sh64l-linux", "elf32-sh64l-linux")
|
||||
#else
|
||||
OUTPUT_FORMAT("elf32-sh64", "elf32-sh64", "elf32-sh64")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
OUTPUT_ARCH(sh:sh5)
|
||||
|
||||
#define C_PHYS(x) AT (ADDR(x) - LOAD_OFFSET)
|
||||
@@ -74,10 +66,12 @@ SECTIONS
|
||||
__ex_table : C_PHYS(__ex_table) { *(__ex_table) }
|
||||
__stop___ex_table = .;
|
||||
|
||||
RODATA
|
||||
|
||||
_etext = .; /* End of text section */
|
||||
|
||||
NOTES
|
||||
|
||||
RODATA
|
||||
|
||||
.data : C_PHYS(.data) { /* Data */
|
||||
DATA_DATA
|
||||
CONSTRUCTORS
|
||||
@@ -86,13 +80,9 @@ SECTIONS
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
.data.page_aligned : C_PHYS(.data.page_aligned) { *(.data.page_aligned) }
|
||||
|
||||
. = ALIGN(PAGE_SIZE);
|
||||
__per_cpu_start = .;
|
||||
.data.percpu : C_PHYS(.data.percpu) {
|
||||
*(.data.percpu)
|
||||
*(.data.percpu.shared_aligned)
|
||||
}
|
||||
__per_cpu_end = . ;
|
||||
PERCPU(PAGE_SIZE)
|
||||
|
||||
. = ALIGN(L1_CACHE_BYTES);
|
||||
.data.cacheline_aligned : C_PHYS(.data.cacheline_aligned) { *(.data.cacheline_aligned) }
|
||||
|
||||
_edata = .; /* End of data section */
|
||||
@@ -145,38 +135,6 @@ SECTIONS
|
||||
*(.exitcall.exit)
|
||||
}
|
||||
|
||||
/* Stabs debugging sections. */
|
||||
.stab 0 : C_PHYS(.stab) { *(.stab) }
|
||||
.stabstr 0 : C_PHYS(.stabstr) { *(.stabstr) }
|
||||
.stab.excl 0 : C_PHYS(.stab.excl) { *(.stab.excl) }
|
||||
.stab.exclstr 0 : C_PHYS(.stab.exclstr) { *(.stab.exclstr) }
|
||||
.stab.index 0 : C_PHYS(.stab.index) { *(.stab.index) }
|
||||
.stab.indexstr 0 : C_PHYS(.stab.indexstr) { *(.stab.indexstr) }
|
||||
.comment 0 : C_PHYS(.comment) { *(.comment) }
|
||||
/* DWARF debug sections.
|
||||
Symbols in the DWARF debugging section are relative to the beginning
|
||||
of the section so we begin .debug at 0. */
|
||||
/* DWARF 1 */
|
||||
.debug 0 : C_PHYS(.debug) { *(.debug) }
|
||||
.line 0 : C_PHYS(.line) { *(.line) }
|
||||
/* GNU DWARF 1 extensions */
|
||||
.debug_srcinfo 0 : C_PHYS(.debug_srcinfo) { *(.debug_srcinfo) }
|
||||
.debug_sfnames 0 : C_PHYS(.debug_sfnames) { *(.debug_sfnames) }
|
||||
/* DWARF 1.1 and DWARF 2 */
|
||||
.debug_aranges 0 : C_PHYS(.debug_aranges) { *(.debug_aranges) }
|
||||
.debug_pubnames 0 : C_PHYS(.debug_pubnames) { *(.debug_pubnames) }
|
||||
/* DWARF 2 */
|
||||
.debug_info 0 : C_PHYS(.debug_info) { *(.debug_info) }
|
||||
.debug_abbrev 0 : C_PHYS(.debug_abbrev) { *(.debug_abbrev) }
|
||||
.debug_line 0 : C_PHYS(.debug_line) { *(.debug_line) }
|
||||
.debug_frame 0 : C_PHYS(.debug_frame) { *(.debug_frame) }
|
||||
.debug_str 0 : C_PHYS(.debug_str) { *(.debug_str) }
|
||||
.debug_loc 0 : C_PHYS(.debug_loc) { *(.debug_loc) }
|
||||
.debug_macinfo 0 : C_PHYS(.debug_macinfo) { *(.debug_macinfo) }
|
||||
/* SGI/MIPS DWARF 2 extensions */
|
||||
.debug_weaknames 0 : C_PHYS(.debug_weaknames) { *(.debug_weaknames) }
|
||||
.debug_funcnames 0 : C_PHYS(.debug_funcnames) { *(.debug_funcnames) }
|
||||
.debug_typenames 0 : C_PHYS(.debug_typenames) { *(.debug_typenames) }
|
||||
.debug_varnames 0 : C_PHYS(.debug_varnames) { *(.debug_varnames) }
|
||||
/* These must appear regardless of . */
|
||||
STABS_DEBUG
|
||||
DWARF_DEBUG
|
||||
}
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <linux/string.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
@@ -110,7 +111,7 @@ static unsigned long do_csum(const unsigned char *buff, int len)
|
||||
if (odd)
|
||||
result = ((result >> 8) & 0xff) | ((result & 0xff) << 8);
|
||||
|
||||
pr_debug("\nCHECKSUM is 0x%x\n", result);
|
||||
pr_debug("\nCHECKSUM is 0x%lx\n", result);
|
||||
|
||||
out:
|
||||
return result;
|
||||
|
||||
+9
-20
@@ -11,30 +11,11 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/module.h>
|
||||
#include <asm/system.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
/*
|
||||
* readX/writeX() are used to access memory mapped devices. On some
|
||||
* architectures the memory mapped IO stuff needs to be accessed
|
||||
* differently. On the SuperH architecture, we just read/write the
|
||||
* memory location directly.
|
||||
*/
|
||||
|
||||
/* This is horrible at the moment - needs more work to do something sensible */
|
||||
#define IO_DELAY()
|
||||
|
||||
#define OUT_DELAY(x,type) \
|
||||
void out##x##_p(unsigned type value,unsigned long port){out##x(value,port);IO_DELAY();}
|
||||
|
||||
#define IN_DELAY(x,type) \
|
||||
unsigned type in##x##_p(unsigned long port) {unsigned type tmp=in##x(port);IO_DELAY();return tmp;}
|
||||
|
||||
#if 1
|
||||
OUT_DELAY(b, long) OUT_DELAY(w, long) OUT_DELAY(l, long)
|
||||
IN_DELAY(b, long) IN_DELAY(w, long) IN_DELAY(l, long)
|
||||
#endif
|
||||
/* Now for the string version of these functions */
|
||||
void outsb(unsigned long port, const void *addr, unsigned long count)
|
||||
{
|
||||
@@ -45,6 +26,7 @@ void outsb(unsigned long port, const void *addr, unsigned long count)
|
||||
outb(*p, port);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(outsb);
|
||||
|
||||
void insb(unsigned long port, void *addr, unsigned long count)
|
||||
{
|
||||
@@ -55,6 +37,7 @@ void insb(unsigned long port, void *addr, unsigned long count)
|
||||
*p = inb(port);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(insb);
|
||||
|
||||
/* For the 16 and 32 bit string functions, we have to worry about alignment.
|
||||
* The SH does not do unaligned accesses, so we have to read as bytes and
|
||||
@@ -74,6 +57,7 @@ void outsw(unsigned long port, const void *addr, unsigned long count)
|
||||
outw(tmp, port);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(outsw);
|
||||
|
||||
void insw(unsigned long port, void *addr, unsigned long count)
|
||||
{
|
||||
@@ -87,6 +71,7 @@ void insw(unsigned long port, void *addr, unsigned long count)
|
||||
p[1] = (tmp >> 8) & 0xff;
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(insw);
|
||||
|
||||
void outsl(unsigned long port, const void *addr, unsigned long count)
|
||||
{
|
||||
@@ -100,6 +85,7 @@ void outsl(unsigned long port, const void *addr, unsigned long count)
|
||||
outl(tmp, port);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(outsl);
|
||||
|
||||
void insl(unsigned long port, void *addr, unsigned long count)
|
||||
{
|
||||
@@ -116,6 +102,7 @@ void insl(unsigned long port, void *addr, unsigned long count)
|
||||
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(insl);
|
||||
|
||||
void memcpy_toio(void __iomem *to, const void *from, long count)
|
||||
{
|
||||
@@ -126,6 +113,7 @@ void memcpy_toio(void __iomem *to, const void *from, long count)
|
||||
writeb(*p++, to++);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(memcpy_toio);
|
||||
|
||||
void memcpy_fromio(void *to, void __iomem *from, long count)
|
||||
{
|
||||
@@ -137,3 +125,4 @@ void memcpy_fromio(void *to, void __iomem *from, long count)
|
||||
from++;
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(memcpy_fromio);
|
||||
@@ -17,12 +17,15 @@ ioport_map(unsigned long port, unsigned int len)
|
||||
{
|
||||
return (void __iomem *)port;
|
||||
}
|
||||
EXPORT_SYMBOL(ioport_map);
|
||||
|
||||
void ioport_unmap(void __iomem *addr)
|
||||
{
|
||||
/* Nothing .. */
|
||||
}
|
||||
EXPORT_SYMBOL(ioport_unmap);
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max)
|
||||
{
|
||||
unsigned long start = pci_resource_start(dev, bar);
|
||||
@@ -41,14 +44,11 @@ void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max)
|
||||
/* What? */
|
||||
return NULL;
|
||||
}
|
||||
EXPORT_SYMBOL(pci_iomap);
|
||||
|
||||
void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
|
||||
{
|
||||
/* Nothing .. */
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ioport_map);
|
||||
EXPORT_SYMBOL(ioport_unmap);
|
||||
EXPORT_SYMBOL(pci_iomap);
|
||||
EXPORT_SYMBOL(pci_iounmap);
|
||||
|
||||
#endif
|
||||
@@ -18,19 +18,11 @@
|
||||
* lethal@linux-sh.org: 15th May 2003
|
||||
* Use the generic procfs cpuinfo interface, just return a valid board name.
|
||||
*/
|
||||
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/platform.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
/*
|
||||
* Platform Dependent Interrupt Priorities.
|
||||
|
||||
@@ -1,14 +1 @@
|
||||
#
|
||||
# Makefile for the ST50 Harp specific parts of the kernel
|
||||
#
|
||||
# Note! Dependencies are done automagically by 'make dep', which also
|
||||
# removes any old dependencies. DON'T put your own dependencies here
|
||||
# unless it's something special (ie not a .c file).
|
||||
#
|
||||
|
||||
O_TARGET := harp.o
|
||||
|
||||
obj-y := setup.o
|
||||
|
||||
include $(TOPDIR)/Rules.make
|
||||
|
||||
@@ -17,20 +17,10 @@
|
||||
* lethal@linux-sh.org: 15th May 2003
|
||||
* Use the generic procfs cpuinfo interface, just return a valid board name.
|
||||
*/
|
||||
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/platform.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
#define RES_COUNT(res) ((sizeof((res))/sizeof(struct resource)))
|
||||
|
||||
/*
|
||||
* Platform Dependent Interrupt Priorities.
|
||||
@@ -78,8 +68,10 @@ struct resource io_resources[] = {
|
||||
};
|
||||
|
||||
struct resource kram_resources[] = {
|
||||
{ "Kernel code", 0, 0 }, /* These must be last in the array */
|
||||
{ "Kernel data", 0, 0 } /* These must be last in the array */
|
||||
/* These must be last in the array */
|
||||
{ .name = "Kernel code", .start = 0, .end = 0 },
|
||||
/* These must be last in the array */
|
||||
{ .name = "Kernel data", .start = 0, .end = 0 }
|
||||
};
|
||||
|
||||
struct resource xram_resources[] = {
|
||||
@@ -95,13 +87,13 @@ struct sh64_platform platform_parms = {
|
||||
.initial_root_dev = 0x0100,
|
||||
.loader_type = 1,
|
||||
.io_res_p = io_resources,
|
||||
.io_res_count = RES_COUNT(io_resources),
|
||||
.io_res_count = ARRAY_SIZE(io_resources),
|
||||
.kram_res_p = kram_resources,
|
||||
.kram_res_count = RES_COUNT(kram_resources),
|
||||
.kram_res_count = ARRAY_SIZE(kram_resources),
|
||||
.xram_res_p = xram_resources,
|
||||
.xram_res_count = RES_COUNT(xram_resources),
|
||||
.xram_res_count = ARRAY_SIZE(xram_resources),
|
||||
.rom_res_p = rom_resources,
|
||||
.rom_res_count = RES_COUNT(rom_resources),
|
||||
.rom_res_count = ARRAY_SIZE(rom_resources),
|
||||
};
|
||||
|
||||
int platform_int_priority[NR_INTC_IRQS] = {
|
||||
@@ -135,4 +127,3 @@ const char *get_system_type(void)
|
||||
{
|
||||
return "ST50 Harp";
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#
|
||||
# Makefile for the SH-5 ROM/RAM specific parts of the kernel
|
||||
#
|
||||
# Note! Dependencies are done automagically by 'make dep', which also
|
||||
# removes any old dependencies. DON'T put your own dependencies here
|
||||
# unless it's something special (ie not a .c file).
|
||||
#
|
||||
|
||||
O_TARGET := romram.o
|
||||
|
||||
obj-y := setup.o
|
||||
|
||||
include $(TOPDIR)/Rules.make
|
||||
|
||||
@@ -1,141 +0,0 @@
|
||||
/*
|
||||
* 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/sh64/mach-romram/setup.c
|
||||
*
|
||||
* SH-5 ROM/RAM Platform Support
|
||||
*
|
||||
* This file handles the architecture-dependent parts of initialization
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
*
|
||||
* benedict.gaster@superh.com: 3rd May 2002
|
||||
* Added support for ramdisk, removing statically linked romfs at the same time. *
|
||||
*
|
||||
* lethal@linux-sh.org: 15th May 2003
|
||||
* Use the generic procfs cpuinfo interface, just return a valid board name.
|
||||
*
|
||||
* Sean.McGoogan@superh.com 17th Feb 2004
|
||||
* copied from arch/sh64/mach-harp/setup.c
|
||||
*/
|
||||
|
||||
#include <linux/stddef.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/bootmem.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/platform.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/page.h>
|
||||
|
||||
#define RES_COUNT(res) ((sizeof((res))/sizeof(struct resource)))
|
||||
|
||||
/*
|
||||
* Platform Dependent Interrupt Priorities.
|
||||
*/
|
||||
|
||||
/* Using defaults defined in irq.h */
|
||||
#define RES NO_PRIORITY /* Disabled */
|
||||
#define IR0 IRL0_PRIORITY /* IRLs */
|
||||
#define IR1 IRL1_PRIORITY
|
||||
#define IR2 IRL2_PRIORITY
|
||||
#define IR3 IRL3_PRIORITY
|
||||
#define PCA INTA_PRIORITY /* PCI Ints */
|
||||
#define PCB INTB_PRIORITY
|
||||
#define PCC INTC_PRIORITY
|
||||
#define PCD INTD_PRIORITY
|
||||
#define SER TOP_PRIORITY
|
||||
#define ERR TOP_PRIORITY
|
||||
#define PW0 TOP_PRIORITY
|
||||
#define PW1 TOP_PRIORITY
|
||||
#define PW2 TOP_PRIORITY
|
||||
#define PW3 TOP_PRIORITY
|
||||
#define DM0 NO_PRIORITY /* DMA Ints */
|
||||
#define DM1 NO_PRIORITY
|
||||
#define DM2 NO_PRIORITY
|
||||
#define DM3 NO_PRIORITY
|
||||
#define DAE NO_PRIORITY
|
||||
#define TU0 TIMER_PRIORITY /* TMU Ints */
|
||||
#define TU1 NO_PRIORITY
|
||||
#define TU2 NO_PRIORITY
|
||||
#define TI2 NO_PRIORITY
|
||||
#define ATI NO_PRIORITY /* RTC Ints */
|
||||
#define PRI NO_PRIORITY
|
||||
#define CUI RTC_PRIORITY
|
||||
#define ERI SCIF_PRIORITY /* SCIF Ints */
|
||||
#define RXI SCIF_PRIORITY
|
||||
#define BRI SCIF_PRIORITY
|
||||
#define TXI SCIF_PRIORITY
|
||||
#define ITI TOP_PRIORITY /* WDT Ints */
|
||||
|
||||
/*
|
||||
* Platform dependent structures: maps and parms block.
|
||||
*/
|
||||
struct resource io_resources[] = {
|
||||
/* To be updated with external devices */
|
||||
};
|
||||
|
||||
struct resource kram_resources[] = {
|
||||
{ "Kernel code", 0, 0 }, /* These must be last in the array */
|
||||
{ "Kernel data", 0, 0 } /* These must be last in the array */
|
||||
};
|
||||
|
||||
struct resource xram_resources[] = {
|
||||
/* To be updated with external devices */
|
||||
};
|
||||
|
||||
struct resource rom_resources[] = {
|
||||
/* To be updated with external devices */
|
||||
};
|
||||
|
||||
struct sh64_platform platform_parms = {
|
||||
.readonly_rootfs = 1,
|
||||
.initial_root_dev = 0x0100,
|
||||
.loader_type = 1,
|
||||
.io_res_p = io_resources,
|
||||
.io_res_count = RES_COUNT(io_resources),
|
||||
.kram_res_p = kram_resources,
|
||||
.kram_res_count = RES_COUNT(kram_resources),
|
||||
.xram_res_p = xram_resources,
|
||||
.xram_res_count = RES_COUNT(xram_resources),
|
||||
.rom_res_p = rom_resources,
|
||||
.rom_res_count = RES_COUNT(rom_resources),
|
||||
};
|
||||
|
||||
int platform_int_priority[NR_INTC_IRQS] = {
|
||||
IR0, IR1, IR2, IR3, PCA, PCB, PCC, PCD, /* IRQ 0- 7 */
|
||||
RES, RES, RES, RES, SER, ERR, PW3, PW2, /* IRQ 8-15 */
|
||||
PW1, PW0, DM0, DM1, DM2, DM3, DAE, RES, /* IRQ 16-23 */
|
||||
RES, RES, RES, RES, RES, RES, RES, RES, /* IRQ 24-31 */
|
||||
TU0, TU1, TU2, TI2, ATI, PRI, CUI, ERI, /* IRQ 32-39 */
|
||||
RXI, BRI, TXI, RES, RES, RES, RES, RES, /* IRQ 40-47 */
|
||||
RES, RES, RES, RES, RES, RES, RES, RES, /* IRQ 48-55 */
|
||||
RES, RES, RES, RES, RES, RES, RES, ITI, /* IRQ 56-63 */
|
||||
};
|
||||
|
||||
void __init platform_setup(void)
|
||||
{
|
||||
/* ROM/RAM platform leaves the decision to head.S, for now */
|
||||
platform_parms.fpu_flags = fpu_in_use;
|
||||
}
|
||||
|
||||
void __init platform_monitor(void)
|
||||
{
|
||||
/* Nothing yet .. */
|
||||
}
|
||||
|
||||
void __init platform_reserve(void)
|
||||
{
|
||||
/* Nothing yet .. */
|
||||
}
|
||||
|
||||
const char *get_system_type(void)
|
||||
{
|
||||
return "ROM/RAM";
|
||||
}
|
||||
|
||||
@@ -1,14 +1 @@
|
||||
#
|
||||
# Makefile for the SH-5 Simulator specific parts of the kernel
|
||||
#
|
||||
# Note! Dependencies are done automagically by 'make dep', which also
|
||||
# removes any old dependencies. DON'T put your own dependencies here
|
||||
# unless it's something special (ie not a .c file).
|
||||
#
|
||||
|
||||
O_TARGET := sim.o
|
||||
|
||||
obj-y := setup.o
|
||||
|
||||
include $(TOPDIR)/Rules.make
|
||||
|
||||
Loaded 20 of 26 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user