Commit 49baa91d authored by Kumar Gala's avatar Kumar Gala

[POWERPC] 83xx: Updated and renamed MPC834x SYS to MPC834x MDS

The MPC834x SYS board has always been called the MPC834x MDS since its public
release.  Removed all references to SYS and replaced with MDS.  Additionally
renamed the .dts to match the defconfig (mpc834x_mds*).
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 135637aa
# #
# 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:27 2007 # Thu Feb 8 01:00:48 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
...@@ -128,8 +128,9 @@ CONFIG_PPC_GEN550=y ...@@ -128,8 +128,9 @@ 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=y CONFIG_MPC834x_MDS=y
# CONFIG_MPC834x_ITX is not set # CONFIG_MPC834x_ITX is not set
# CONFIG_MPC8360E_PB is not set # CONFIG_MPC8360E_PB is not set
CONFIG_MPC834x=y CONFIG_MPC834x=y
......
...@@ -3,7 +3,7 @@ menu "Platform support" ...@@ -3,7 +3,7 @@ menu "Platform support"
choice choice
prompt "Machine Type" prompt "Machine Type"
default MPC834x_SYS default MPC834x_MDS
config MPC8313_RDB config MPC8313_RDB
bool "Freescale MPC8313 RDB" bool "Freescale MPC8313 RDB"
...@@ -18,13 +18,13 @@ config MPC832x_MDS ...@@ -18,13 +18,13 @@ config MPC832x_MDS
help help
This option enables support for the MPC832x MDS evaluation board. This option enables support for the MPC832x MDS evaluation board.
config MPC834x_SYS config MPC834x_MDS
bool "Freescale MPC834x SYS" bool "Freescale MPC834x MDS"
select DEFAULT_UIMAGE select DEFAULT_UIMAGE
help help
This option enables support for the MPC 834x SYS evaluation board. This option enables support for the MPC 834x MDS evaluation board.
Be aware that PCI buses can only function when SYS board is plugged Be aware that PCI buses can only function when MDS board is plugged
into the PIB (Platform IO Board) board from Freescale which provide into the PIB (Platform IO Board) board from Freescale which provide
3 PCI slots. The PIBs PCI initialization is the bootloader's 3 PCI slots. The PIBs PCI initialization is the bootloader's
responsibility. responsibility.
...@@ -63,7 +63,7 @@ config MPC834x ...@@ -63,7 +63,7 @@ config MPC834x
bool bool
select PPC_UDBG_16550 select PPC_UDBG_16550
select PPC_INDIRECT_PCI select PPC_INDIRECT_PCI
default y if MPC834x_SYS || MPC834x_ITX default y if MPC834x_MDS || MPC834x_ITX
config PPC_MPC836x config PPC_MPC836x
bool bool
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
obj-y := misc.o obj-y := misc.o
obj-$(CONFIG_PCI) += pci.o obj-$(CONFIG_PCI) += pci.o
obj-$(CONFIG_MPC8313_RDB) += mpc8313_rdb.o obj-$(CONFIG_MPC8313_RDB) += mpc8313_rdb.o
obj-$(CONFIG_MPC834x_SYS) += mpc834x_sys.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_MPC8360E_PB) += mpc8360e_pb.o
obj-$(CONFIG_MPC832x_MDS) += mpc832x_mds.o obj-$(CONFIG_MPC832x_MDS) += mpc832x_mds.o
...@@ -38,8 +38,6 @@ ...@@ -38,8 +38,6 @@
#include "mpc83xx.h" #include "mpc83xx.h"
#include <platforms/83xx/mpc834x_sys.h>
#ifndef CONFIG_PCI #ifndef CONFIG_PCI
unsigned long isa_io_base = 0; unsigned long isa_io_base = 0;
unsigned long isa_mem_base = 0; unsigned long isa_mem_base = 0;
......
/* /*
* arch/powerpc/platforms/83xx/mpc834x_sys.c * arch/powerpc/platforms/83xx/mpc834x_mds.c
* *
* MPC834x SYS board specific routines * MPC834x MDS board specific routines
* *
* Maintainer: Kumar Gala <galak@kernel.crashing.org> * Maintainer: Kumar Gala <galak@kernel.crashing.org>
* *
...@@ -103,8 +103,8 @@ static int mpc834x_usb_cfg(void) ...@@ -103,8 +103,8 @@ static int mpc834x_usb_cfg(void)
return -1; return -1;
/* /*
* if SYS board is plug into PIB board, * if MDS board is plug into PIB board,
* force to use the PHY on SYS board * force to use the PHY on MDS board
*/ */
bcsr5 = in_8(bcsr_regs + 5); bcsr5 = in_8(bcsr_regs + 5);
if (!(bcsr5 & BCSR5_INT_USB)) if (!(bcsr5 & BCSR5_INT_USB))
...@@ -118,12 +118,12 @@ static int mpc834x_usb_cfg(void) ...@@ -118,12 +118,12 @@ static int mpc834x_usb_cfg(void)
* Setup the architecture * Setup the architecture
* *
*/ */
static void __init mpc834x_sys_setup_arch(void) static void __init mpc834x_mds_setup_arch(void)
{ {
struct device_node *np; struct device_node *np;
if (ppc_md.progress) if (ppc_md.progress)
ppc_md.progress("mpc834x_sys_setup_arch()", 0); ppc_md.progress("mpc834x_mds_setup_arch()", 0);
np = of_find_node_by_type(NULL, "cpu"); np = of_find_node_by_type(NULL, "cpu");
if (np != 0) { if (np != 0) {
...@@ -152,7 +152,7 @@ static void __init mpc834x_sys_setup_arch(void) ...@@ -152,7 +152,7 @@ static void __init mpc834x_sys_setup_arch(void)
#endif #endif
} }
static void __init mpc834x_sys_init_IRQ(void) static void __init mpc834x_mds_init_IRQ(void)
{ {
struct device_node *np; struct device_node *np;
...@@ -192,7 +192,7 @@ late_initcall(mpc834x_rtc_hookup); ...@@ -192,7 +192,7 @@ late_initcall(mpc834x_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 mpc834x_sys_probe(void) static int __init mpc834x_mds_probe(void)
{ {
/* We always match for now, eventually we should look at the flat /* We always match for now, eventually we should look at the flat
dev tree to ensure this is the board we are suppose to run on dev tree to ensure this is the board we are suppose to run on
...@@ -200,11 +200,11 @@ static int __init mpc834x_sys_probe(void) ...@@ -200,11 +200,11 @@ static int __init mpc834x_sys_probe(void)
return 1; return 1;
} }
define_machine(mpc834x_sys) { define_machine(mpc834x_mds) {
.name = "MPC834x SYS", .name = "MPC834x MDS",
.probe = mpc834x_sys_probe, .probe = mpc834x_mds_probe,
.setup_arch = mpc834x_sys_setup_arch, .setup_arch = mpc834x_mds_setup_arch,
.init_IRQ = mpc834x_sys_init_IRQ, .init_IRQ = mpc834x_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,
......
/*
* arch/powerpc/platforms/83xx/mpc834x_sys.h
*
* MPC834X SYS common board definitions
*
* Maintainer: Kumar Gala <galak@kernel.crashing.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/
#ifndef __MACH_MPC83XX_SYS_H__
#define __MACH_MPC83XX_SYS_H__
#define PIRQA MPC83xx_IRQ_EXT4
#define PIRQB MPC83xx_IRQ_EXT5
#define PIRQC MPC83xx_IRQ_EXT6
#define PIRQD MPC83xx_IRQ_EXT7
#endif /* __MACH_MPC83XX_SYS_H__ */
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