[kernel] r14299 - in dists/sid/linux-2.6/debian: . config/armel patches/features/arm patches/series
Martin Michlmayr
tbm at alioth.debian.org
Fri Sep 25 19:56:36 UTC 2009
Author: tbm
Date: Fri Sep 25 19:56:34 2009
New Revision: 14299
Log:
Add Marvell OpenRD-Client support (Dhaval Vasa)
Added:
dists/sid/linux-2.6/debian/patches/features/arm/openrd-client.patch
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/config/armel/config.kirkwood
dists/sid/linux-2.6/debian/patches/series/8
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog Fri Sep 25 19:18:31 2009 (r14298)
+++ dists/sid/linux-2.6/debian/changelog Fri Sep 25 19:56:34 2009 (r14299)
@@ -6,6 +6,8 @@
* module: workaround duplicate section names to fix a panic on
boot on hppa (Closes: #545229).
* Add stable release 2.6.30.8.
+ * [armel/kirkwood] Add Marvell OpenRD-Client support (Dhaval Vasa).
+ Thanks Stefan Kaltenbrunner.
-- Martin Michlmayr <tbm at cyrius.com> Thu, 24 Sep 2009 18:06:37 +0100
Modified: dists/sid/linux-2.6/debian/config/armel/config.kirkwood
==============================================================================
--- dists/sid/linux-2.6/debian/config/armel/config.kirkwood Fri Sep 25 19:18:31 2009 (r14298)
+++ dists/sid/linux-2.6/debian/config/armel/config.kirkwood Fri Sep 25 19:56:34 2009 (r14299)
@@ -61,6 +61,7 @@
CONFIG_MACH_SHEEVAPLUG=y
CONFIG_MACH_TS219=y
CONFIG_MACH_OPENRD_BASE=y
+CONFIG_MACH_OPENRD_CLIENT=y
##
## file: arch/arm/mm/Kconfig
Added: dists/sid/linux-2.6/debian/patches/features/arm/openrd-client.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/features/arm/openrd-client.patch Fri Sep 25 19:56:34 2009 (r14299)
@@ -0,0 +1,141 @@
+--- a/arch/arm/mach-kirkwood/Kconfig 2009-09-25 19:49:01.000000000 +0000
++++ b/arch/arm/mach-kirkwood/Kconfig 2009-09-25 19:50:08.000000000 +0000
+@@ -38,6 +38,12 @@
+ Say 'Y' here if you want your kernel to support the
+ Marvell OpenRD Base Board.
+
++config MACH_OPENRD_CLIENT
++ bool "Marvell OpenRD Client Board"
++ help
++ Say 'Y' here if you want your kernel to support the
++ Marvell OpenRD Client Board.
++
+ endmenu
+
+ endif
+--- a/arch/arm/mach-kirkwood/Makefile 2009-09-25 19:49:07.000000000 +0000
++++ b/arch/arm/mach-kirkwood/Makefile 2009-09-25 19:49:29.000000000 +0000
+@@ -6,5 +6,6 @@
+ obj-$(CONFIG_MACH_SHEEVAPLUG) += sheevaplug-setup.o
+ obj-$(CONFIG_MACH_TS219) += ts219-setup.o
+ obj-$(CONFIG_MACH_OPENRD_BASE) += openrd_base-setup.o
++obj-$(CONFIG_MACH_OPENRD_CLIENT) += openrd_client-setup.o
+
+ obj-$(CONFIG_CPU_IDLE) += cpuidle.o
+--- /dev/null 2008-06-15 07:07:41.000000000 +0000
++++ b/arch/arm/mach-kirkwood/openrd_client-setup.c 2009-09-25 19:52:36.000000000 +0000
+@@ -0,0 +1,107 @@
++/*
++ * arch/arm/mach-kirkwood/openrd_client-setup.c
++ *
++ * Marvell OpenRD Base Client Setup
++ *
++ * 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.
++ */
++
++#include <linux/kernel.h>
++#include <linux/init.h>
++#include <linux/platform_device.h>
++#include <linux/mtd/partitions.h>
++#include <linux/ata_platform.h>
++#include <linux/mv643xx_eth.h>
++#include <linux/gpio.h>
++#include <asm/mach-types.h>
++#include <asm/mach/arch.h>
++#include <mach/kirkwood.h>
++#include <plat/mvsdio.h>
++#include "common.h"
++#include "mpp.h"
++
++static struct mtd_partition openrd_client_nand_parts[] = {
++ {
++ .name = "u-boot",
++ .offset = 0,
++ .size = SZ_1M
++ }, {
++ .name = "uImage",
++ .offset = MTDPART_OFS_NXTBLK,
++ .size = SZ_4M
++ }, {
++ .name = "root",
++ .offset = MTDPART_OFS_NXTBLK,
++ .size = MTDPART_SIZ_FULL
++ },
++};
++
++static struct mv643xx_eth_platform_data openrd_client_ge00_data = {
++ .phy_addr = MV643XX_ETH_PHY_ADDR(8),
++};
++
++static struct mv643xx_eth_platform_data openrd_client_ge01_data = {
++ .phy_addr = MV643XX_ETH_PHY_ADDR(24),
++};
++
++static struct mv_sata_platform_data openrd_client_sata_data = {
++ .n_ports = 2,
++};
++
++static struct mvsdio_platform_data openrd_client_mvsdio_data = {
++ .gpio_card_detect = 29, /* MPP29 used as SD card detect */
++};
++
++static unsigned int openrd_client_mpp_config[] __initdata = {
++ MPP29_GPIO,
++ 0
++};
++
++static void __init openrd_client_init(void)
++{
++ /*
++ * Basic setup. Needs to be called early.
++ */
++ kirkwood_init();
++ kirkwood_mpp_conf(openrd_client_mpp_config);
++
++ kirkwood_uart0_init();
++ kirkwood_uart1_init();
++ kirkwood_nand_init(ARRAY_AND_SIZE(openrd_client_nand_parts), 25);
++
++ kirkwood_ehci_init();
++
++ /* initialize gbe0 and gbe1 */
++ kirkwood_ge00_init(&openrd_client_ge00_data);
++ kirkwood_ge01_init(&openrd_client_ge01_data);
++
++ kirkwood_sata_init(&openrd_client_sata_data);
++ kirkwood_sdio_init(&openrd_client_mvsdio_data);
++
++ kirkwood_i2c_init();
++}
++
++static int __init openrd_client_pci_init(void)
++{
++if (machine_is_openrd_client())
++ kirkwood_pcie_init();
++
++ return 0;
++}
++subsys_initcall(openrd_client_pci_init);
++
++
++
++
++MACHINE_START(OPENRD_CLIENT, "Marvell OpenRD Client Board")
++ /* Maintainer: Dhaval Vasa <dhaval.vasa at einfochips.com> */
++ .phys_io = KIRKWOOD_REGS_PHYS_BASE,
++ .io_pg_offst = ((KIRKWOOD_REGS_VIRT_BASE) >> 18) & 0xfffc,
++ .boot_params = 0x00000100,
++ .init_machine = openrd_client_init,
++ .map_io = kirkwood_map_io,
++ .init_irq = kirkwood_init_irq,
++ .timer = &kirkwood_timer,
++MACHINE_END
+--- a/arch/arm/tools/mach-types 2009-09-25 19:45:27.000000000 +0000
++++ b/arch/arm/tools/mach-types 2009-09-25 19:45:52.000000000 +0000
+@@ -2246,3 +2246,4 @@
+ simcom MACH_SIMCOM SIMCOM 2259
+ mcwebio MACH_MCWEBIO MCWEBIO 2260
+ openrd_base MACH_OPENRD_BASE OPENRD_BASE 2325
++openrd_client MACH_OPENRD_CLIENT OPENRD_CLIENT 2361
Modified: dists/sid/linux-2.6/debian/patches/series/8
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/8 Fri Sep 25 19:18:31 2009 (r14298)
+++ dists/sid/linux-2.6/debian/patches/series/8 Fri Sep 25 19:56:34 2009 (r14299)
@@ -1,3 +1,4 @@
+ bugfix/mips/ip22-no-early-printk.patch
+ bugfix/hppa/workaround-duplicate-section-names.patch
+ bugfix/all/stable/2.6.30.8.patch
++ features/arm/openrd-client.patch
More information about the Kernel-svn-changes
mailing list