mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
[PATCH] ppc32: Remove board support for K2
Support for the K2 board is no longer maintained and thus being removed Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
94cb20e951
commit
ba9d1e2a3d
@@ -637,9 +637,6 @@ config SANDPOINT
|
||||
config RADSTONE_PPC7D
|
||||
bool "Radstone Technology PPC7D board"
|
||||
|
||||
config K2
|
||||
bool "SBS-K2"
|
||||
|
||||
config PAL4
|
||||
bool "SBS-Palomar4"
|
||||
|
||||
@@ -794,7 +791,7 @@ config PPC_OF
|
||||
config PPC_GEN550
|
||||
bool
|
||||
depends on SANDPOINT || MCPN765 || SPRUCE || PPLUS || PCORE || \
|
||||
PRPMC750 || K2 || PRPMC800 || LOPEC || \
|
||||
PRPMC750 || PRPMC800 || LOPEC || \
|
||||
(EV64260 && !SERIAL_MPSC) || CHESTNUT || RADSTONE_PPC7D || \
|
||||
83xx
|
||||
default y
|
||||
@@ -883,10 +880,6 @@ config SANDPOINT_ENABLE_UART1
|
||||
If this option is enabled then the MPC824x processor will run
|
||||
in DUART mode instead of UART mode.
|
||||
|
||||
config CPC710_DATA_GATHERING
|
||||
bool "Enable CPC710 data gathering"
|
||||
depends on K2
|
||||
|
||||
config HARRIER_STORE_GATHERING
|
||||
bool "Enable Harrier store gathering"
|
||||
depends on HARRIER
|
||||
|
||||
@@ -96,10 +96,6 @@ zimageinitrd-$(CONFIG_OCOTEA) := zImage.initrd-TREE
|
||||
zimageinitrd-$(CONFIG_GEMINI) := zImage.initrd-STRIPELF
|
||||
end-$(CONFIG_GEMINI) := gemini
|
||||
|
||||
extra.o-$(CONFIG_K2) := prepmap.o
|
||||
end-$(CONFIG_K2) := k2
|
||||
cacheflag-$(CONFIG_K2) := -include $(clear_L2_L3)
|
||||
|
||||
extra.o-$(CONFIG_KATANA) := misc-katana.o
|
||||
end-$(CONFIG_KATANA) := katana
|
||||
cacheflag-$(CONFIG_KATANA) := -include $(clear_L2_L3)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,6 @@ obj-$(CONFIG_CPCI690) += cpci690.o
|
||||
obj-$(CONFIG_EV64260) += ev64260.o
|
||||
obj-$(CONFIG_CHESTNUT) += chestnut.o
|
||||
obj-$(CONFIG_GEMINI) += gemini_pci.o gemini_setup.o gemini_prom.o
|
||||
obj-$(CONFIG_K2) += k2.o
|
||||
obj-$(CONFIG_LOPEC) += lopec.o
|
||||
obj-$(CONFIG_KATANA) += katana.o
|
||||
obj-$(CONFIG_HDPU) += hdpu.o
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,82 +0,0 @@
|
||||
/*
|
||||
* arch/ppc/platforms/k2.h
|
||||
*
|
||||
* Definitions for SBS K2 board support
|
||||
*
|
||||
* Author: Matt Porter <mporter@mvista.com>
|
||||
*
|
||||
* 2001 (c) MontaVista, Software, Inc. This file is licensed under
|
||||
* the terms of the GNU General Public License version 2. This program
|
||||
* is licensed "as is" without any warranty of any kind, whether express
|
||||
* or implied.
|
||||
*/
|
||||
|
||||
#ifndef __PPC_PLATFORMS_K2_H
|
||||
#define __PPC_PLATFORMS_K2_H
|
||||
|
||||
/*
|
||||
* SBS K2 definitions
|
||||
*/
|
||||
|
||||
#define K2_PCI64_BAR 0xff400000
|
||||
#define K2_PCI32_BAR 0xff500000
|
||||
|
||||
#define K2_PCI64_CONFIG_ADDR (K2_PCI64_BAR + 0x000f8000)
|
||||
#define K2_PCI64_CONFIG_DATA (K2_PCI64_BAR + 0x000f8010)
|
||||
|
||||
#define K2_PCI32_CONFIG_ADDR (K2_PCI32_BAR + 0x000f8000)
|
||||
#define K2_PCI32_CONFIG_DATA (K2_PCI32_BAR + 0x000f8010)
|
||||
|
||||
#define K2_PCI64_MEM_BASE 0xd0000000
|
||||
#define K2_PCI64_IO_BASE 0x80100000
|
||||
|
||||
#define K2_PCI32_MEM_BASE 0xc0000000
|
||||
#define K2_PCI32_IO_BASE 0x80000000
|
||||
|
||||
#define K2_PCI32_SYS_MEM_BASE 0x80000000
|
||||
#define K2_PCI64_SYS_MEM_BASE K2_PCI32_SYS_MEM_BASE
|
||||
|
||||
#define K2_PCI32_LOWER_MEM 0x00000000
|
||||
#define K2_PCI32_UPPER_MEM 0x0fffffff
|
||||
#define K2_PCI32_LOWER_IO 0x00000000
|
||||
#define K2_PCI32_UPPER_IO 0x000fffff
|
||||
|
||||
#define K2_PCI64_LOWER_MEM 0x10000000
|
||||
#define K2_PCI64_UPPER_MEM 0x1fffffff
|
||||
#define K2_PCI64_LOWER_IO 0x00100000
|
||||
#define K2_PCI64_UPPER_IO 0x001fffff
|
||||
|
||||
#define K2_ISA_IO_BASE K2_PCI32_IO_BASE
|
||||
#define K2_ISA_MEM_BASE K2_PCI32_MEM_BASE
|
||||
|
||||
#define K2_BOARD_ID_REG (K2_ISA_IO_BASE + 0x800)
|
||||
#define K2_MISC_REG (K2_ISA_IO_BASE + 0x804)
|
||||
#define K2_MSIZ_GEO_REG (K2_ISA_IO_BASE + 0x808)
|
||||
#define K2_HOT_SWAP_REG (K2_ISA_IO_BASE + 0x80c)
|
||||
#define K2_PLD2_REG (K2_ISA_IO_BASE + 0x80e)
|
||||
#define K2_PLD3_REG (K2_ISA_IO_BASE + 0x80f)
|
||||
|
||||
#define K2_BUS_SPD(board_id) (board_id >> 2) & 3
|
||||
|
||||
#define K2_RTC_BASE_OFFSET 0x90000
|
||||
#define K2_RTC_BASE_ADDRESS (K2_PCI32_MEM_BASE + K2_RTC_BASE_OFFSET)
|
||||
#define K2_RTC_SIZE 0x8000
|
||||
|
||||
#define K2_MEM_SIZE_MASK 0xe0
|
||||
#define K2_MEM_SIZE(size_reg) (size_reg & K2_MEM_SIZE_MASK) >> 5
|
||||
#define K2_MEM_SIZE_1GB 0x40000000
|
||||
#define K2_MEM_SIZE_512MB 0x20000000
|
||||
#define K2_MEM_SIZE_256MB 0x10000000
|
||||
#define K2_MEM_SIZE_128MB 0x08000000
|
||||
|
||||
#define K2_L2CACHE_MASK 0x03 /* Mask for 2 L2 Cache bits */
|
||||
#define K2_L2CACHE_512KB 0x00 /* 512KB */
|
||||
#define K2_L2CACHE_256KB 0x01 /* 256KB */
|
||||
#define K2_L2CACHE_1MB 0x02 /* 1MB */
|
||||
#define K2_L2CACHE_NONE 0x03 /* None */
|
||||
|
||||
#define K2_GEO_ADR_MASK 0x1f
|
||||
|
||||
#define K2_SYS_SLOT_MASK 0x08
|
||||
|
||||
#endif /* __PPC_PLATFORMS_K2_H */
|
||||
@@ -50,8 +50,6 @@ obj-$(CONFIG_EV64260) += todc_time.o pci_auto.o
|
||||
obj-$(CONFIG_CHESTNUT) += mv64360_pic.o pci_auto.o
|
||||
obj-$(CONFIG_GEMINI) += open_pic.o indirect_pci.o
|
||||
obj-$(CONFIG_GT64260) += gt64260_pic.o
|
||||
obj-$(CONFIG_K2) += i8259.o indirect_pci.o todc_time.o \
|
||||
pci_auto.o
|
||||
obj-$(CONFIG_LOPEC) += i8259.o pci_auto.o todc_time.o
|
||||
obj-$(CONFIG_HDPU) += pci_auto.o
|
||||
obj-$(CONFIG_LUAN) += indirect_pci.o pci_auto.o todc_time.o
|
||||
|
||||
Reference in New Issue
Block a user