Re: [PATCH 3/5] x86: cpu: Skip init code when chain loading

2020-02-03 Thread Simon Glass
Hi Bin, On Mon, 3 Feb 2020 at 04:11, Bin Meng wrote: > > Hi Simon, > > On Sun, Dec 22, 2019 at 12:13 AM Simon Glass 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 c

Re: [PATCH 3/5] x86: cpu: Skip init code when chain loading

2020-02-03 Thread Bin Meng
Hi Simon, On Sun, Dec 22, 2019 at 12:13 AM Simon Glass 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 > --- > > arch/x86/cp

[PATCH 3/5] x86: cpu: Skip init code when chain loading

2019-12-21 Thread Simon Glass
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 --- arch/x86/cpu/cpu.c| 4 +++- arch/x86/cpu/i386/interrupt.c | 3 +++ arch/x86/lib