aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm8668/files/arch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-08-16 18:09:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-08-16 18:09:31 +0000
commit7e958dede6bc6ffae37042de6e1d1a77995e245b (patch)
tree5821947f6d6547e88905f0f30291e169a2832e93 /target/linux/adm8668/files/arch
parent5d44c5775f0b15a2dbbdb07687c5c8d6343d8aa5 (diff)
downloadmaster-187ad058-7e958dede6bc6ffae37042de6e1d1a77995e245b.tar.gz
master-187ad058-7e958dede6bc6ffae37042de6e1d1a77995e245b.tar.bz2
master-187ad058-7e958dede6bc6ffae37042de6e1d1a77995e245b.zip
adm8668: revert changeset 34554
The conversion was not 100% correct and leads to u-boot failing to verify the CRC, revert that change for now. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42170 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm8668/files/arch')
-rw-r--r--target/linux/adm8668/files/arch/mips/adm8668/platform.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/adm8668/files/arch/mips/adm8668/platform.c b/target/linux/adm8668/files/arch/mips/adm8668/platform.c
index 7cd56b7879..5c80b68d84 100644
--- a/target/linux/adm8668/files/arch/mips/adm8668/platform.c
+++ b/target/linux/adm8668/files/arch/mips/adm8668/platform.c
@@ -1,6 +1,4 @@
/*
- * Infineon/ADMTek 8668 (WildPass) platform devices support
- *
* Copyright (C) 2010 Scott Nicholas <neutronscott@scottn.us>
* Copyright (C) 2012 Florian Fainelli <florian@openwrt.org>
*
@@ -15,7 +13,6 @@
#include <linux/platform_data/tulip.h>
#include <linux/usb/ehci_pdriver.h>
#include <linux/mtd/physmap.h>
-#include <linux/mtd/partitions.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/ioport.h>
@@ -108,29 +105,6 @@ static struct platform_device adm8668_eth1_device = {
.dev.platform_data = &eth1_pdata,
};
-static const char *nor_probe_types[] = { "adm8668part", NULL };
-
-static struct physmap_flash_data nor_flash_data = {
- .width = 2,
- .part_probe_types = nor_probe_types,
-};
-
-static struct resource nor_resources[] = {
- {
- .start = ADM8668_SMEM1_BASE,
- .end = ADM8668_SMEM1_BASE + 0x800000 - 1,
- .flags = IORESOURCE_MEM,
- },
-};
-
-static struct platform_device adm8668_nor_device = {
- .name = "physmap-flash",
- .id = -1,
- .resource = nor_resources,
- .num_resources = ARRAY_SIZE(nor_resources),
- .dev.platform_data = &nor_flash_data,
-};
-
static struct resource usb_resources[] = {
{
.start = ADM8668_USB_BASE,
@@ -161,7 +135,6 @@ static struct platform_device adm8668_usb_device = {
static struct platform_device *adm8668_devs[] = {
&adm8668_eth0_device,
&adm8668_eth1_device,
- &adm8668_nor_device,
&adm8668_usb_device,
};