[U-Boot] [PATCH 3/9] ARM: HYP/non-sec switch in bootm.c

TigerLiu at viatech.com.cn TigerLiu at viatech.com.cn
Mon Dec 30 04:10:55 CET 2013


Hi, Dall:
I have a few questions about switching cpu's state from secure to
non-sec in uboot.
1. I found do_nonsec_virt_switch() function had been integrated in
uboot_2014_01_RC2.
    This function would switch cpu from secure state to non-sec, even
into hyp-state.
    So, my question is:
    If a SOC is based on ARMv7 architecture:
    Virt-v7.c / nonsec_virt.S are common files to all kinds of SOCs
which are produced by different Vendors?

2. Does uboot need to switch its state to non-sec?
    Based on ARM company released doc:
    U-boot should run at non-sec state, so no need to swith to non-sec
again.

Best wishes,


More information about the U-Boot mailing list