• Matt Fleming's avatar
    sh: Add fixed ioremap support · 4d35b93a
    Matt Fleming authored
    Some devices need to be ioremap'd and accessed very early in the boot
    process. It is not possible to use the standard ioremap() function in
    this case because that requires kmalloc()'ing some virtual address space
    and kmalloc() may not be available so early in boot.
    
    This patch provides fixmap mappings that allow physical address ranges
    to be remapped into the kernel address space during the early boot
    stages.
    Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
    4d35b93a
fixmap.h 4.04 KB