summaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.cpu
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-04 16:09:04 +0100
committerRich Felker <dalias@libc.org>2018-04-13 01:47:56 +0200
commitd62e9bf5dd4c0298465dd70b78b5532ea6708d63 (patch)
tree288382a18f7a41df93da129f576b673e29aa696d /arch/sh/Kconfig.cpu
parentarch/sh: pcie-sh7786: mark unavailable PCI resource as disabled (diff)
downloadlinux-d62e9bf5dd4c0298465dd70b78b5532ea6708d63.tar.xz
linux-d62e9bf5dd4c0298465dd70b78b5532ea6708d63.zip
arch/sh: pcie-sh7786: exclude unusable PCI MEM areas
Depending on the physical memory layout, some PCI MEM areas are not usable. According to the SH7786 datasheet, the PCI MEM area from 1000_0000 to 13FF_FFFF is only usable if the physical memory layout (in MMSELR) is 1, 2, 5 or 6. In all other configurations, this PCI MEM area is not usable (because it overlaps with DRAM). Therefore, this commit adjusts the PCI SH7786 initialization to mark the relevant PCI resource as IORESOURCE_DISABLED if we can't use it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/Kconfig.cpu')
0 files changed, 0 insertions, 0 deletions