diff options
author | Simon Horman <horms@verge.net.au> | 2011-09-15 20:06:34 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-10-05 07:12:47 +0900 |
commit | 8f47bcfa2b0150a8b8b995a5f10b9fffb320bc6d (patch) | |
tree | bb995cfff7d90a4b9376418c27a918eda16d791b /purgatory/arch | |
parent | 6b8a0f7285fa3eb3f67dfa0d8d5b61ade69e953d (diff) |
sh: Take into account the base of System RAM in virt_to_phys()
Previously virt_to_phys() assumed that physical memory always started
at address 0. This is not always the case.
Tested on an sh7757lcr (32bit system) whose only System RAM region is
40000000-4effffff and an ecovec24 (29bit system).
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory/arch')
0 files changed, 0 insertions, 0 deletions