mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2015 Panasonic Corporation
|
* Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
|
||||||
* Copyright (C) 2015 Socionext Inc.
|
|
||||||
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-2.0+
|
* SPDX-License-Identifier: GPL-2.0+
|
||||||
*/
|
*/
|
||||||
@ -23,7 +21,7 @@
|
|||||||
ENTRY(init_page_table)
|
ENTRY(init_page_table)
|
||||||
section = 0
|
section = 0
|
||||||
.rept NR_SECTIONS
|
.rept NR_SECTIONS
|
||||||
.if section == TEXT_SECTION || section == STACK_SECTION
|
.if section == 0 || section == 1 || section == STACK_SECTION
|
||||||
attr = NORMAL
|
attr = NORMAL
|
||||||
.else
|
.else
|
||||||
attr = DEVICE
|
attr = DEVICE
|
||||||
|
Reference in New Issue
Block a user