[U-Boot] [PATCH v3 030/108] x86: Move CPU init to before spl_init()

Bin Meng bmeng.cn at gmail.com
Sat Nov 2 09:58:37 UTC 2019


On Mon, Oct 28, 2019 at 3:52 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Mon, Oct 21, 2019 at 11:40 AM Simon Glass <sjg at chromium.org> wrote:
> >
> > At present we call spl_init() before identifying the CPU. This is not a
> > good idea - e.g. if bootstage is enabled then it will try to set up the
> > timer which works better if the CPU is identified.
> >
> > Put explicit code at each entry pointer to identify the CPU.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v3: None
> > Changes in v2: None
> >
> >  arch/x86/cpu/start_from_spl.S | 1 +
> >  arch/x86/lib/spl.c            | 4 ++++
> >  arch/x86/lib/tpl.c            | 5 +++++
> >  3 files changed, 10 insertions(+)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list