aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/host
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2013-08-19 13:22:10 -0400
committerKevin Hilman <khilman@linaro.org>2013-08-19 13:22:31 -0400
commit5515d9981f5f30e82d096921f86ba016911c9ea8 (patch)
tree7680a87d16e2c2c1f0ca07a8606a65b53ab10ead /drivers/pci/host
parentf668adebf43556df9834f254479a44a20294dcf1 (diff)
parentcf470a1b1a741bca00080ebc70968b4f22d9b1ea (diff)
Merge tag 'omap-for-v3.12/dra7xx' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
From Tony Lindgren: Minimal DRA7xx based SoC core support via Rajendra Nayak <rnayak@ti.com> * tag 'omap-for-v3.12/dra7xx' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (849 commits) ARM: DRA7: Add the build support in omap2plus ARM: DRA7: hwmod: Reuse the soc_ops used for OMAP4/5 ARM: DRA7: id: Add cpu detection support for DRA7xx based SoCs' ARM: DRA7: Kconfig: Make ARCH_NR_GPIO default to 512 ARM: DRA7: board-generic: Add basic DT support ARM: DRA7: Resue the clocksource, clockevent support ARM: DRA7: Reuse io tables and add a new .init_early ARM: DRA7: Reuse all of PRCM and MPUSS SMP infra Linux 3.11-rc5 btrfs: don't loop on large offsets in readdir Btrfs: check to see if root_list is empty before adding it to dead roots Btrfs: release both paths before logging dir/changed extents Btrfs: allow splitting of hole em's when dropping extent cache Btrfs: make sure the backref walker catches all refs to our extent Btrfs: fix backref walking when we hit a compressed extent Btrfs: do not offset physical if we're compressed Btrfs: fix extent buffer leak after backref walking Btrfs: fix a bug of snapshot-aware defrag to make it work on partial extents btrfs: fix file truncation if FALLOC_FL_KEEP_SIZE is specified dlm: kill the unnecessary and wrong device_close()->recalc_sigpending() ... Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'drivers/pci/host')
-rw-r--r--drivers/pci/host/pci-mvebu.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
index 338691b616d9..847c10971182 100644
--- a/drivers/pci/host/pci-mvebu.c
+++ b/drivers/pci/host/pci-mvebu.c
@@ -86,10 +86,6 @@ struct mvebu_sw_pci_bridge {
86 u16 secondary_status; 86 u16 secondary_status;
87 u16 membase; 87 u16 membase;
88 u16 memlimit; 88 u16 memlimit;
89 u16 prefmembase;
90 u16 prefmemlimit;
91 u32 prefbaseupper;
92 u32 preflimitupper;
93 u16 iobaseupper; 89 u16 iobaseupper;
94 u16 iolimitupper; 90 u16 iolimitupper;
95 u8 cappointer; 91 u8 cappointer;
@@ -420,15 +416,7 @@ static int mvebu_sw_pci_bridge_read(struct mvebu_pcie_port *port,
420 break; 416 break;
421 417
422 case PCI_PREF_MEMORY_BASE: 418 case PCI_PREF_MEMORY_BASE:
423 *value = (bridge->prefmemlimit << 16 | bridge->prefmembase); 419 *value = 0;
424 break;
425
426 case PCI_PREF_BASE_UPPER32:
427 *value = bridge->prefbaseupper;
428 break;
429
430 case PCI_PREF_LIMIT_UPPER32:
431 *value = bridge->preflimitupper;
432 break; 420 break;
433 421
434 case PCI_IO_BASE_UPPER16: 422 case PCI_IO_BASE_UPPER16:
@@ -502,19 +490,6 @@ static int mvebu_sw_pci_bridge_write(struct mvebu_pcie_port *port,
502 mvebu_pcie_handle_membase_change(port); 490 mvebu_pcie_handle_membase_change(port);
503 break; 491 break;
504 492
505 case PCI_PREF_MEMORY_BASE:
506 bridge->prefmembase = value & 0xffff;
507 bridge->prefmemlimit = value >> 16;
508 break;
509
510 case PCI_PREF_BASE_UPPER32:
511 bridge->prefbaseupper = value;
512 break;
513
514 case PCI_PREF_LIMIT_UPPER32:
515 bridge->preflimitupper = value;
516 break;
517
518 case PCI_IO_BASE_UPPER16: 493 case PCI_IO_BASE_UPPER16:
519 bridge->iobaseupper = value & 0xffff; 494 bridge->iobaseupper = value & 0xffff;
520 bridge->iolimitupper = value >> 16; 495 bridge->iolimitupper = value >> 16;