Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
10067 commits behind the upstream repository.
  • Vladimir Zapolskiy's avatar
    30391de7
    pci: sh7751: map PCI memory space into SDRAM · 30391de7
    Vladimir Zapolskiy authored
    
    For ease of use and accounting a condition that on SH4
    pci_phys_to_bus() and pci_bus_to_phys() are one in one mappings due to
    unimplemented __iomem() conversion, this change fixes access to SDRAM
    memory by PCI devices.
    
    This change also generalizes PCI system memory configuration, which is
    taken from board specific defines rather than hardcoded in the PCI
    host driver.
    
    Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
    30391de7
    History
    pci: sh7751: map PCI memory space into SDRAM
    Vladimir Zapolskiy authored
    
    For ease of use and accounting a condition that on SH4
    pci_phys_to_bus() and pci_bus_to_phys() are one in one mappings due to
    unimplemented __iomem() conversion, this change fixes access to SDRAM
    memory by PCI devices.
    
    This change also generalizes PCI system memory configuration, which is
    taken from board specific defines rather than hardcoded in the PCI
    host driver.
    
    Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
pci_sh7751.c 5.80 KiB