]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: uniphier: fix ROM boot mode for PH1-sLD3
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Aug 2016 07:08:40 +0000 (16:08 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 11 Aug 2016 08:49:14 +0000 (17:49 +0900)
commit82d075e79fa509ffb8ecd8dd2dc216929d6e8289
tree0c503edf511c583c91d3fd2acacc6bd85ee76187
parent0efbbc5c613b28614eb3323145b5d3eda4a33188
ARM: uniphier: fix ROM boot mode for PH1-sLD3

Commit 4b50369fb535 ("ARM: uniphier: create early page table at
run-time") broke the ROM boot mode for PH1-sLD3 SoC, because the
run-time page table creation requires the outer cache register
access but the page table in the sLD3 Boot ROM does not straight-map
virtual/physical addresses.

The idea here is to check the current page table to determine if
it is a straight map table.  If not, adjust the outer cache register
base.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/arm32/lowlevel_init.S