diff options
author | Masahiro Yamada | 2015-09-22 00:27:42 +0900 |
---|---|---|
committer | Masahiro Yamada | 2015-09-25 00:59:33 +0900 |
commit | d47fe9bb833bc8dae322c8a6fb0d28d4fec88167 (patch) | |
tree | 2b192ee861285c4d6cef6cb92c6e33576a7c4f03 /arch | |
parent | 019df879a93e266ac19f5eb00e4ee605db279b14 (diff) |
ARM: uniphier: fix init page table for ProXstream2/PH1-LD6b USB boot
Currently, the USB boot mode is supported by an 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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-uniphier/init_page_table.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-uniphier/init_page_table.S b/arch/arm/mach-uniphier/init_page_table.S index ac2959a17db..2d3ad15c6e2 100644 --- a/arch/arm/mach-uniphier/init_page_table.S +++ b/arch/arm/mach-uniphier/init_page_table.S @@ -1,7 +1,5 @@ /* - * Copyright (C) 2015 Panasonic Corporation - * Copyright (C) 2015 Socionext Inc. - * Author: Masahiro Yamada <yamada.masahiro@socionext.com> + * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> * * SPDX-License-Identifier: GPL-2.0+ */ @@ -23,7 +21,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 |