Commit 322d05a1 authored by Kumar Gala's avatar Kumar Gala

[POWERPC] 83xx: Updated and renamed MPC8360PB to MPC836x MDS

The MPC836x PB board is really just one part of the MPC836x MDS.  We currently
name all other PB boards as MDS.  Removed all references to PB and replaced
with MDS.  Additionally renamed the .dts to match the defconfig (mpc836x_mds*).
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent f7993ed5
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.20-rc5 # Linux kernel version: 2.6.20
# Fri Jan 26 00:19:45 2007 # Sat Feb 17 10:09:26 2007
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
CONFIG_PPC32=y CONFIG_PPC32=y
...@@ -34,9 +34,9 @@ CONFIG_DEFAULT_UIMAGE=y ...@@ -34,9 +34,9 @@ CONFIG_DEFAULT_UIMAGE=y
CONFIG_PPC_83xx=y CONFIG_PPC_83xx=y
# CONFIG_PPC_85xx is not set # CONFIG_PPC_85xx is not set
# CONFIG_PPC_86xx is not set # CONFIG_PPC_86xx is not set
# CONFIG_PPC_8xx is not set
# CONFIG_40x is not set # CONFIG_40x is not set
# CONFIG_44x is not set # CONFIG_44x is not set
# CONFIG_8xx is not set
# CONFIG_E200 is not set # CONFIG_E200 is not set
CONFIG_6xx=y CONFIG_6xx=y
CONFIG_83xx=y CONFIG_83xx=y
...@@ -63,6 +63,7 @@ CONFIG_LOCALVERSION_AUTO=y ...@@ -63,6 +63,7 @@ CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y CONFIG_SWAP=y
CONFIG_SYSVIPC=y CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set # CONFIG_IPC_NS is not set
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set # CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set # CONFIG_TASKSTATS is not set
...@@ -129,10 +130,11 @@ CONFIG_PPC_GEN550=y ...@@ -129,10 +130,11 @@ CONFIG_PPC_GEN550=y
# #
# Platform support # Platform support
# #
# CONFIG_MPC8313_RDB is not set
# CONFIG_MPC832x_MDS is not set # CONFIG_MPC832x_MDS is not set
# CONFIG_MPC834x_SYS is not set # CONFIG_MPC834x_MDS is not set
# CONFIG_MPC834x_ITX is not set # CONFIG_MPC834x_ITX is not set
CONFIG_MPC8360E_PB=y CONFIG_MPC836x_MDS=y
CONFIG_PPC_MPC836x=y CONFIG_PPC_MPC836x=y
# CONFIG_MPIC is not set # CONFIG_MPIC is not set
...@@ -162,6 +164,7 @@ CONFIG_FLAT_NODE_MEM_MAP=y ...@@ -162,6 +164,7 @@ CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_SPARSEMEM_STATIC is not set # CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set # CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_PROC_DEVICETREE=y CONFIG_PROC_DEVICETREE=y
# CONFIG_CMDLINE_BOOL is not set # CONFIG_CMDLINE_BOOL is not set
# CONFIG_PM is not set # CONFIG_PM is not set
...@@ -171,6 +174,7 @@ CONFIG_ISA_DMA_API=y ...@@ -171,6 +174,7 @@ CONFIG_ISA_DMA_API=y
# #
# Bus options # Bus options
# #
CONFIG_ZONE_DMA=y
CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_ISA_DMA=y
# CONFIG_MPIC_WEIRD is not set # CONFIG_MPIC_WEIRD is not set
# CONFIG_PPC_I8259 is not set # CONFIG_PPC_I8259 is not set
...@@ -219,6 +223,7 @@ CONFIG_UNIX=y ...@@ -219,6 +223,7 @@ CONFIG_UNIX=y
CONFIG_XFRM=y CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set # CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set # CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_NET_KEY is not set # CONFIG_NET_KEY is not set
CONFIG_INET=y CONFIG_INET=y
CONFIG_IP_MULTICAST=y CONFIG_IP_MULTICAST=y
...@@ -528,6 +533,7 @@ CONFIG_UCC_GETH=y ...@@ -528,6 +533,7 @@ CONFIG_UCC_GETH=y
# Ethernet (10000 Mbit) # Ethernet (10000 Mbit)
# #
# CONFIG_CHELSIO_T1 is not set # CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_IXGB is not set # CONFIG_IXGB is not set
# CONFIG_S2IO is not set # CONFIG_S2IO is not set
# CONFIG_MYRI10GE is not set # CONFIG_MYRI10GE is not set
...@@ -620,6 +626,7 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=4 ...@@ -620,6 +626,7 @@ CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set # CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_OF_PLATFORM is not set
CONFIG_UNIX98_PTYS=y CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256 CONFIG_LEGACY_PTY_COUNT=256
...@@ -690,6 +697,7 @@ CONFIG_I2C_MPC=y ...@@ -690,6 +697,7 @@ CONFIG_I2C_MPC=y
# CONFIG_I2C_NFORCE2 is not set # CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set # CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT_LIGHT is not set # CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PASEMI is not set
# CONFIG_I2C_PROSAVAGE is not set # CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set # CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIS5595 is not set # CONFIG_I2C_SIS5595 is not set
...@@ -804,6 +812,7 @@ CONFIG_FIRMWARE_EDID=y ...@@ -804,6 +812,7 @@ CONFIG_FIRMWARE_EDID=y
# HID Devices # HID Devices
# #
CONFIG_HID=y CONFIG_HID=y
# CONFIG_HID_DEBUG is not set
# #
# USB support # USB support
...@@ -867,6 +876,10 @@ CONFIG_USB_ARCH_HAS_EHCI=y ...@@ -867,6 +876,10 @@ CONFIG_USB_ARCH_HAS_EHCI=y
# DMA Devices # DMA Devices
# #
#
# Auxiliary Display support
#
# #
# Virtualization # Virtualization
# #
...@@ -1011,7 +1024,8 @@ CONFIG_BITREVERSE=y ...@@ -1011,7 +1024,8 @@ CONFIG_BITREVERSE=y
CONFIG_CRC32=y CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set # CONFIG_LIBCRC32C is not set
CONFIG_PLIST=y CONFIG_PLIST=y
CONFIG_IOMAP_COPY=y CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
# #
# Instrumentation Support # Instrumentation Support
...@@ -1060,8 +1074,10 @@ CONFIG_CRYPTO_MD5=y ...@@ -1060,8 +1074,10 @@ CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_GF128MUL is not set # CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_ECB=m CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_CBC=y CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_LRW is not set
CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set # CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set # CONFIG_CRYPTO_SERPENT is not set
...@@ -1075,6 +1091,7 @@ CONFIG_CRYPTO_DES=y ...@@ -1075,6 +1091,7 @@ CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set # CONFIG_CRYPTO_TEST is not set
# #
......
...@@ -38,12 +38,12 @@ config MPC834x_ITX ...@@ -38,12 +38,12 @@ config MPC834x_ITX
Be aware that PCI initialization is the bootloader's Be aware that PCI initialization is the bootloader's
responsibility. responsibility.
config MPC8360E_PB config MPC836x_MDS
bool "Freescale MPC8360E PB" bool "Freescale MPC836x MDS"
select DEFAULT_UIMAGE select DEFAULT_UIMAGE
select QUICC_ENGINE select QUICC_ENGINE
help help
This option enables support for the MPC836x EMDS Processor Board. This option enables support for the MPC836x MDS Processor Board.
endchoice endchoice
...@@ -69,6 +69,6 @@ config PPC_MPC836x ...@@ -69,6 +69,6 @@ config PPC_MPC836x
bool bool
select PPC_UDBG_16550 select PPC_UDBG_16550
select PPC_INDIRECT_PCI select PPC_INDIRECT_PCI
default y if MPC8360E_PB default y if MPC836x_MDS
endmenu endmenu
...@@ -6,5 +6,5 @@ obj-$(CONFIG_PCI) += pci.o ...@@ -6,5 +6,5 @@ obj-$(CONFIG_PCI) += pci.o
obj-$(CONFIG_MPC8313_RDB) += mpc8313_rdb.o obj-$(CONFIG_MPC8313_RDB) += mpc8313_rdb.o
obj-$(CONFIG_MPC834x_MDS) += mpc834x_mds.o obj-$(CONFIG_MPC834x_MDS) += mpc834x_mds.o
obj-$(CONFIG_MPC834x_ITX) += mpc834x_itx.o obj-$(CONFIG_MPC834x_ITX) += mpc834x_itx.o
obj-$(CONFIG_MPC8360E_PB) += mpc8360e_pb.o obj-$(CONFIG_MPC836x_MDS) += mpc836x_mds.o
obj-$(CONFIG_MPC832x_MDS) += mpc832x_mds.o obj-$(CONFIG_MPC832x_MDS) += mpc832x_mds.o
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
* Yin Olivia <Hong-hua.Yin@freescale.com> * Yin Olivia <Hong-hua.Yin@freescale.com>
* *
* Description: * Description:
* MPC8360E MDS PB board specific routines. * MPC8360E MDS board specific routines.
* *
* Changelog: * Changelog:
* Jun 21, 2006 Initial version * Jun 21, 2006 Initial version
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the * under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your * Free Software Foundation; either version 2 of the License, or (at your
* option) any later version. * option) any later version.
...@@ -62,22 +62,17 @@ unsigned long isa_mem_base = 0; ...@@ -62,22 +62,17 @@ unsigned long isa_mem_base = 0;
static u8 *bcsr_regs = NULL; static u8 *bcsr_regs = NULL;
u8 *get_bcsr(void)
{
return bcsr_regs;
}
/* ************************************************************************ /* ************************************************************************
* *
* Setup the architecture * Setup the architecture
* *
*/ */
static void __init mpc8360_sys_setup_arch(void) static void __init mpc836x_mds_setup_arch(void)
{ {
struct device_node *np; struct device_node *np;
if (ppc_md.progress) if (ppc_md.progress)
ppc_md.progress("mpc8360_sys_setup_arch()", 0); ppc_md.progress("mpc836x_mds_setup_arch()", 0);
/* Map BCSR area */ /* Map BCSR area */
np = of_find_node_by_name(NULL, "bcsr"); np = of_find_node_by_name(NULL, "bcsr");
...@@ -128,7 +123,7 @@ static struct of_device_id mpc836x_ids[] = { ...@@ -128,7 +123,7 @@ static struct of_device_id mpc836x_ids[] = {
static int __init mpc836x_declare_of_platform_devices(void) static int __init mpc836x_declare_of_platform_devices(void)
{ {
if (!machine_is(mpc8360_sys)) if (!machine_is(mpc836x_mds))
return 0; return 0;
/* Publish the QE devices */ /* Publish the QE devices */
...@@ -138,9 +133,8 @@ static int __init mpc836x_declare_of_platform_devices(void) ...@@ -138,9 +133,8 @@ static int __init mpc836x_declare_of_platform_devices(void)
} }
device_initcall(mpc836x_declare_of_platform_devices); device_initcall(mpc836x_declare_of_platform_devices);
static void __init mpc8360_sys_init_IRQ(void) static void __init mpc836x_mds_init_IRQ(void)
{ {
struct device_node *np; struct device_node *np;
np = of_find_node_by_type(NULL, "ipic"); np = of_find_node_by_type(NULL, "ipic");
...@@ -173,7 +167,7 @@ static int __init mpc8360_rtc_hookup(void) ...@@ -173,7 +167,7 @@ static int __init mpc8360_rtc_hookup(void)
{ {
struct timespec tv; struct timespec tv;
if (!machine_is(mpc8360_sys)) if (!machine_is(mpc836x_mds))
return 0; return 0;
ppc_md.get_rtc_time = ds1374_get_rtc_time; ppc_md.get_rtc_time = ds1374_get_rtc_time;
...@@ -192,21 +186,21 @@ late_initcall(mpc8360_rtc_hookup); ...@@ -192,21 +186,21 @@ late_initcall(mpc8360_rtc_hookup);
/* /*
* Called very early, MMU is off, device-tree isn't unflattened * Called very early, MMU is off, device-tree isn't unflattened
*/ */
static int __init mpc8360_sys_probe(void) static int __init mpc836x_mds_probe(void)
{ {
unsigned long root = of_get_flat_dt_root(); unsigned long root = of_get_flat_dt_root();
return of_flat_dt_is_compatible(root, "MPC836xMDS"); return of_flat_dt_is_compatible(root, "MPC836xMDS");
} }
define_machine(mpc8360_sys) { define_machine(mpc836x_mds) {
.name = "MPC8360E PB", .name = "MPC836x MDS",
.probe = mpc8360_sys_probe, .probe = mpc836x_mds_probe,
.setup_arch = mpc8360_sys_setup_arch, .setup_arch = mpc836x_mds_setup_arch,
.init_IRQ = mpc8360_sys_init_IRQ, .init_IRQ = mpc836x_mds_init_IRQ,
.get_irq = ipic_get_irq, .get_irq = ipic_get_irq,
.restart = mpc83xx_restart, .restart = mpc83xx_restart,
.time_init = mpc83xx_time_init, .time_init = mpc83xx_time_init,
.calibrate_decr = generic_calibrate_decr, .calibrate_decr = generic_calibrate_decr,
.progress = udbg_progress, .progress = udbg_progress,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment