summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/arm/plat-orion/include/plat
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/plat-orion/include/plat')
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/addr-map.h53
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/audio.h7
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/cache-feroceon-l2.h11
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/common.h109
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/ehci-orion.h26
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/gpio.h37
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/irq.h17
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mpp.h34
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mv_xor.h24
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mvsdio.h20
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_nand.h26
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_wdt.h18
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/pcie.h34
-rw-r--r--ANDROID_3.4.5/arch/arm/plat-orion/include/plat/time.h20
14 files changed, 0 insertions, 436 deletions
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/addr-map.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/addr-map.h
deleted file mode 100644
index fd556f77..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/addr-map.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/addr-map.h
- *
- * Marvell Orion SoC address map handling.
- *
- * 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 __PLAT_ADDR_MAP_H
-#define __PLAT_ADDR_MAP_H
-
-extern struct mbus_dram_target_info orion_mbus_dram_info;
-
-struct orion_addr_map_cfg {
- const int num_wins; /* Total number of windows */
- const int remappable_wins;
- const u32 bridge_virt_base;
-
- /* If NULL, the default cpu_win_can_remap will be used, using
- the value in remappable_wins */
- int (*cpu_win_can_remap) (const struct orion_addr_map_cfg *cfg,
- const int win);
- /* If NULL, the default win_cfg_base will be used, using the
- value in bridge_virt_base */
- void __iomem *(*win_cfg_base) (const struct orion_addr_map_cfg *cfg,
- const int win);
-};
-
-/*
- * Information needed to setup one address mapping.
- */
-struct orion_addr_map_info {
- const int win;
- const u32 base;
- const u32 size;
- const u8 target;
- const u8 attr;
- const int remap;
-};
-
-void __init orion_config_wins(struct orion_addr_map_cfg *cfg,
- const struct orion_addr_map_info *info);
-
-void __init orion_setup_cpu_win(const struct orion_addr_map_cfg *cfg,
- const int win, const u32 base,
- const u32 size, const u8 target,
- const u8 attr, const int remap);
-
-void __init orion_setup_cpu_mbus_target(const struct orion_addr_map_cfg *cfg,
- const u32 ddr_window_cpu_base);
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/audio.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/audio.h
deleted file mode 100644
index d6a55bd2..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/audio.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __PLAT_AUDIO_H
-#define __PLAT_AUDIO_H
-
-struct kirkwood_asoc_platform_data {
- int burst;
-};
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/cache-feroceon-l2.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/cache-feroceon-l2.h
deleted file mode 100644
index 06f982d5..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/cache-feroceon-l2.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/cache-feroceon-l2.h
- *
- * Copyright (C) 2008 Marvell Semiconductor
- *
- * 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.
- */
-
-extern void __init feroceon_l2_init(int l2_wt_override);
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/common.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/common.h
deleted file mode 100644
index a7fa005a..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/common.h
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/common.h
- *
- * Marvell Orion SoC common setup code used by different mach-/common.c
- *
- * 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 __PLAT_COMMON_H
-#include <linux/mv643xx_eth.h>
-
-struct dsa_platform_data;
-
-void __init orion_uart0_init(unsigned int membase,
- resource_size_t mapbase,
- unsigned int irq,
- unsigned int uartclk);
-
-void __init orion_uart1_init(unsigned int membase,
- resource_size_t mapbase,
- unsigned int irq,
- unsigned int uartclk);
-
-void __init orion_uart2_init(unsigned int membase,
- resource_size_t mapbase,
- unsigned int irq,
- unsigned int uartclk);
-
-void __init orion_uart3_init(unsigned int membase,
- resource_size_t mapbase,
- unsigned int irq,
- unsigned int uartclk);
-
-void __init orion_rtc_init(unsigned long mapbase,
- unsigned long irq);
-
-void __init orion_ge00_init(struct mv643xx_eth_platform_data *eth_data,
- unsigned long mapbase,
- unsigned long irq,
- unsigned long irq_err,
- int tclk);
-
-void __init orion_ge01_init(struct mv643xx_eth_platform_data *eth_data,
- unsigned long mapbase,
- unsigned long irq,
- unsigned long irq_err,
- int tclk);
-
-void __init orion_ge10_init(struct mv643xx_eth_platform_data *eth_data,
- unsigned long mapbase,
- unsigned long irq,
- unsigned long irq_err,
- int tclk);
-
-void __init orion_ge11_init(struct mv643xx_eth_platform_data *eth_data,
- unsigned long mapbase,
- unsigned long irq,
- unsigned long irq_err,
- int tclk);
-
-void __init orion_ge00_switch_init(struct dsa_platform_data *d,
- int irq);
-void __init orion_i2c_init(unsigned long mapbase,
- unsigned long irq,
- unsigned long freq_m);
-
-void __init orion_i2c_1_init(unsigned long mapbase,
- unsigned long irq,
- unsigned long freq_m);
-
-void __init orion_spi_init(unsigned long mapbase,
- unsigned long tclk);
-
-void __init orion_spi_1_init(unsigned long mapbase,
- unsigned long tclk);
-
-void __init orion_wdt_init(unsigned long tclk);
-
-void __init orion_xor0_init(unsigned long mapbase_low,
- unsigned long mapbase_high,
- unsigned long irq_0,
- unsigned long irq_1);
-
-void __init orion_xor1_init(unsigned long mapbase_low,
- unsigned long mapbase_high,
- unsigned long irq_0,
- unsigned long irq_1);
-
-void __init orion_ehci_init(unsigned long mapbase,
- unsigned long irq,
- enum orion_ehci_phy_ver phy_version);
-
-void __init orion_ehci_1_init(unsigned long mapbase,
- unsigned long irq);
-
-void __init orion_ehci_2_init(unsigned long mapbase,
- unsigned long irq);
-
-void __init orion_sata_init(struct mv_sata_platform_data *sata_data,
- unsigned long mapbase,
- unsigned long irq);
-
-void __init orion_crypto_init(unsigned long mapbase,
- unsigned long srambase,
- unsigned long sram_size,
- unsigned long irq);
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/ehci-orion.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/ehci-orion.h
deleted file mode 100644
index 6fc78e43..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/ehci-orion.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/ehci-orion.h
- *
- * 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 __PLAT_EHCI_ORION_H
-#define __PLAT_EHCI_ORION_H
-
-#include <linux/mbus.h>
-
-enum orion_ehci_phy_ver {
- EHCI_PHY_ORION,
- EHCI_PHY_DD,
- EHCI_PHY_KW,
- EHCI_PHY_NA,
-};
-
-struct orion_ehci_data {
- enum orion_ehci_phy_ver phy_version;
-};
-
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/gpio.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/gpio.h
deleted file mode 100644
index 3abf3042..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/gpio.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/gpio.h
- *
- * Marvell Orion SoC GPIO handling.
- *
- * 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 __PLAT_GPIO_H
-#define __PLAT_GPIO_H
-
-#include <linux/init.h>
-#include <linux/types.h>
-
-/*
- * Orion-specific GPIO API extensions.
- */
-void orion_gpio_set_unused(unsigned pin);
-void orion_gpio_set_blink(unsigned pin, int blink);
-
-#define GPIO_INPUT_OK (1 << 0)
-#define GPIO_OUTPUT_OK (1 << 1)
-void orion_gpio_set_valid(unsigned pin, int mode);
-
-/* Initialize gpiolib. */
-void __init orion_gpio_init(int gpio_base, int ngpio,
- u32 base, int mask_offset, int secondary_irq_base);
-
-/*
- * GPIO interrupt handling.
- */
-void orion_gpio_irq_handler(int irqoff);
-
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/irq.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/irq.h
deleted file mode 100644
index f05eeab9..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/irq.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/irq.h
- *
- * Marvell Orion SoC IRQ handling.
- *
- * 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 __PLAT_IRQ_H
-#define __PLAT_IRQ_H
-
-void orion_irq_init(unsigned int irq_start, void __iomem *maskaddr);
-
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mpp.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mpp.h
deleted file mode 100644
index 723adce9..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mpp.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/mpp.h
- *
- * Marvell Orion SoC MPP handling.
- *
- * 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 __PLAT_MPP_H
-#define __PLAT_MPP_H
-
-#define MPP_NUM(x) ((x) & 0xff)
-#define MPP_SEL(x) (((x) >> 8) & 0xf)
-
-/* This is the generic MPP macro, without any variant information.
- Each machine architecture is expected to extend this with further
- bit fields indicating which MPP configurations are valid for a
- specific variant. */
-
-#define GENERIC_MPP(_num, _sel, _in, _out) ( \
- /* MPP number */ ((_num) & 0xff) | \
- /* MPP select value */ (((_sel) & 0xf) << 8) | \
- /* may be input signal */ ((!!(_in)) << 12) | \
- /* may be output signal */ ((!!(_out)) << 13))
-
-#define MPP_INPUT_MASK GENERIC_MPP(0, 0x0, 1, 0)
-#define MPP_OUTPUT_MASK GENERIC_MPP(0, 0x0, 0, 1)
-
-void __init orion_mpp_conf(unsigned int *mpp_list, unsigned int variant_mask,
- unsigned int mpp_max, unsigned int dev_bus);
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mv_xor.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mv_xor.h
deleted file mode 100644
index 2ba1f7d7..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mv_xor.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/mv_xor.h
- *
- * Marvell XOR platform device data definition file.
- */
-
-#ifndef __PLAT_MV_XOR_H
-#define __PLAT_MV_XOR_H
-
-#include <linux/dmaengine.h>
-#include <linux/mbus.h>
-
-#define MV_XOR_SHARED_NAME "mv_xor_shared"
-#define MV_XOR_NAME "mv_xor"
-
-struct mv_xor_platform_data {
- struct platform_device *shared;
- int hw_id;
- dma_cap_mask_t cap_mask;
- size_t pool_size;
-};
-
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mvsdio.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mvsdio.h
deleted file mode 100644
index 1190efed..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/mvsdio.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/mvsdio.h
- *
- * 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 __MACH_MVSDIO_H
-#define __MACH_MVSDIO_H
-
-#include <linux/mbus.h>
-
-struct mvsdio_platform_data {
- unsigned int clock;
- int gpio_card_detect;
- int gpio_write_protect;
-};
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_nand.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_nand.h
deleted file mode 100644
index 9f3c1808..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_nand.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/orion_nand.h
- *
- * 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 __PLAT_ORION_NAND_H
-#define __PLAT_ORION_NAND_H
-
-/*
- * Device bus NAND private data
- */
-struct orion_nand_data {
- struct mtd_partition *parts;
- int (*dev_ready)(struct mtd_info *mtd);
- u32 nr_parts;
- u8 ale; /* address line number connected to ALE */
- u8 cle; /* address line number connected to CLE */
- u8 width; /* buswidth */
- u8 chip_delay;
-};
-
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_wdt.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_wdt.h
deleted file mode 100644
index 665c362a..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/orion_wdt.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/orion_wdt.h
- *
- * 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 __PLAT_ORION_WDT_H
-#define __PLAT_ORION_WDT_H
-
-struct orion_wdt_platform_data {
- u32 tclk; /* no <linux/clk.h> support yet */
-};
-
-
-#endif
-
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/pcie.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/pcie.h
deleted file mode 100644
index fe5b9e86..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/pcie.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/pcie.h
- *
- * Marvell Orion SoC PCIe handling.
- *
- * 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 __PLAT_PCIE_H
-#define __PLAT_PCIE_H
-
-struct pci_bus;
-
-u32 orion_pcie_dev_id(void __iomem *base);
-u32 orion_pcie_rev(void __iomem *base);
-int orion_pcie_link_up(void __iomem *base);
-int orion_pcie_x4_mode(void __iomem *base);
-int orion_pcie_get_local_bus_nr(void __iomem *base);
-void orion_pcie_set_local_bus_nr(void __iomem *base, int nr);
-void orion_pcie_reset(void __iomem *base);
-void orion_pcie_setup(void __iomem *base);
-int orion_pcie_rd_conf(void __iomem *base, struct pci_bus *bus,
- u32 devfn, int where, int size, u32 *val);
-int orion_pcie_rd_conf_tlp(void __iomem *base, struct pci_bus *bus,
- u32 devfn, int where, int size, u32 *val);
-int orion_pcie_rd_conf_wa(void __iomem *wa_base, struct pci_bus *bus,
- u32 devfn, int where, int size, u32 *val);
-int orion_pcie_wr_conf(void __iomem *base, struct pci_bus *bus,
- u32 devfn, int where, int size, u32 val);
-
-
-#endif
diff --git a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/time.h b/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/time.h
deleted file mode 100644
index 4d5f1f6e..00000000
--- a/ANDROID_3.4.5/arch/arm/plat-orion/include/plat/time.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * arch/arm/plat-orion/include/plat/time.h
- *
- * Marvell Orion SoC time handling.
- *
- * 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 __PLAT_TIME_H
-#define __PLAT_TIME_H
-
-void orion_time_set_base(u32 timer_base);
-
-void orion_time_init(u32 bridge_base, u32 bridge_timer1_clr_mask,
- unsigned int irq, unsigned int tclk);
-
-
-#endif