lkml.org 
[lkml]   [2014]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v9 05/12] ARM: Define PCI_IOBASE as the base of virtual PCI IO space.
    Date
    This is needed for calls into OF code that parses PCI ranges.
    It signals support for memory mapped PCI I/O accesses that
    are described be device trees.

    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Rob Herring <robh+dt@kernel.org>
    Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
    ---
    arch/arm/include/asm/io.h | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
    index 3d23418..22b7529 100644
    --- a/arch/arm/include/asm/io.h
    +++ b/arch/arm/include/asm/io.h
    @@ -178,6 +178,7 @@ static inline void __iomem *__typesafe_io(unsigned long addr)

    /* PCI fixed i/o mapping */
    #define PCI_IO_VIRT_BASE 0xfee00000
    +#define PCI_IOBASE PCI_IO_VIRT_BASE

    #if defined(CONFIG_PCI)
    void pci_ioremap_set_mem_type(int mem_type);
    --
    2.0.4


    \
     
     \ /
      Last update: 2014-08-12 18:41    [W:5.053 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site