diff mbox

[U-Boot,v2,14/14] ARM: uniphier: fix init page table for ProXstream2/PH1-LD6b USB boot

Message ID 1442849262-26591-15-git-send-email-yamada.masahiro@socionext.com
State Accepted
Delegated to: Masahiro Yamada
Headers show

Commit Message

Masahiro Yamada Sept. 21, 2015, 3:27 p.m. UTC
Currently, the USB boot mode is supported by external loader and
U-boot proper image is put on the section 0.  This commit allows
access there.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/mach-uniphier/init_page_table.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/mach-uniphier/init_page_table.S b/arch/arm/mach-uniphier/init_page_table.S
index ac2959a..44a104f 100644
--- a/arch/arm/mach-uniphier/init_page_table.S
+++ b/arch/arm/mach-uniphier/init_page_table.S
@@ -23,7 +23,7 @@ 
 ENTRY(init_page_table)
 	section = 0
 	.rept NR_SECTIONS
-	.if section == TEXT_SECTION || section == STACK_SECTION
+	.if section == 0 || section == 1 || section == STACK_SECTION
 	attr = NORMAL
 	.else
 	attr = DEVICE