055-pcie_io.patch 529 B

12345678910111213141516171819
  1. --- a/arch/arm/mach-cns3xxx/core.c
  2. +++ b/arch/arm/mach-cns3xxx/core.c
  3. @@ -81,6 +81,16 @@ static struct map_desc cns3xxx_io_desc[]
  4. .pfn = __phys_to_pfn(CNS3XXX_PCIE1_CFG1_BASE),
  5. .length = SZ_16M,
  6. .type = MT_DEVICE,
  7. + }, {
  8. + .virtual = CNS3XXX_PCIE0_IO_BASE_VIRT,
  9. + .pfn = __phys_to_pfn(CNS3XXX_PCIE0_IO_BASE),
  10. + .length = SZ_16M,
  11. + .type = MT_DEVICE,
  12. + }, {
  13. + .virtual = CNS3XXX_PCIE1_IO_BASE_VIRT,
  14. + .pfn = __phys_to_pfn(CNS3XXX_PCIE1_IO_BASE),
  15. + .length = SZ_16M,
  16. + .type = MT_DEVICE,
  17. #endif
  18. },
  19. };