[U-Boot] [PATCH v4 1/5] riscv: Introduce CONFIG_XIP to support booting from flash

Bin Meng bmeng.cn at gmail.com
Tue Apr 30 07:59:39 UTC 2019


On Tue, Apr 30, 2019 at 1:54 PM Andes <uboot at andestech.com> wrote:
>
> From: Rick Chen <rick at andestech.com>
>
> When U-Boot boots from flash, during the boot process,
> hart_lottery and available_harts_lock variable addresses
> point to flash which is not writable. This causes boot
> failures on AE350. Introduce a config option CONFIG_XIP
> to support such configuration.
>
> Signed-off-by: Rick Chen <rick at andestech.com>
> Cc: Greentime Hu <greentime at andestech.com>
> Reviewed-by: Lukas Auer <lukas.auer at aisec.fraunhofer.de>
> ---
>  arch/riscv/Kconfig                   | 7 +++++++
>  arch/riscv/cpu/cpu.c                 | 2 ++
>  arch/riscv/cpu/start.S               | 6 ++++++
>  arch/riscv/include/asm/global_data.h | 2 ++
>  arch/riscv/lib/asm-offsets.c         | 2 ++
>  arch/riscv/lib/smp.c                 | 2 ++
>  6 files changed, 21 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list