diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-04 16:09:00 +0100 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2018-04-13 01:47:53 +0200 |
commit | bc05aa6e13a717e1abff6f863f7ba82b14556df4 (patch) | |
tree | 138743620b6021df83f0a908421562e1279d4e90 /arch/sh/mm/consistent.c | |
parent | sh: fix debug trap failure to process signals before return to user (diff) | |
download | linux-bc05aa6e13a717e1abff6f863f7ba82b14556df4.tar.xz linux-bc05aa6e13a717e1abff6f863f7ba82b14556df4.zip |
arch/sh: add sh7786_mm_sel() function
The SH7786 has different physical memory layout configurations,
configurable through the MMSELR register. The configuration is
typically defined by the bootloader, so Linux generally doesn't care.
Except that depending on the configuration, some PCI MEM areas may or
may not be available. This commit adds a helper function that allows
to retrieve the current physical memory layout configuration. It will
be used in a following patch to exclude unusable PCI MEM areas during
the PCI initialization.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions