On Sun, Apr 26, 2020 at 11:13 PM Simon Glass <[email protected]> wrote: > > When U-Boot is not the first-stage bootloader the interrupt and cache init > must be skipped, as well as init for various peripherals. Update the code > to add checks for this. > > Signed-off-by: Simon Glass <[email protected]> > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: > - Drop the other check in interrupt_init() which is not needed now > > arch/x86/cpu/cpu.c | 4 +++- > arch/x86/cpu/i386/interrupt.c | 6 ++++-- > arch/x86/lib/init_helpers.c | 3 +++ > 3 files changed, 10 insertions(+), 3 deletions(-) >
Reviewed-by: Bin Meng <[email protected]>

