[U-Boot] [PATCH v2 17/50] x86: broadwell: Allow SDRAM init from SPL

Bin Meng bmeng.cn at gmail.com
Wed May 1 15:25:39 UTC 2019


On Wed, May 1, 2019 at 9:03 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Fri, Apr 26, 2019 at 12:00 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > At present, for broadwell, SDRAM is always set up in U-Boot proper since
> > the 64-bit mode (which uses SDRAM init in SPL) is not supported.
> >
> > Update the code to allow SDRAM init in SPL instead so that U-Boot proper
> > can be loaded into SDRAM and run from there. This allows U-Boot to be
> > compressed to reduce space, since it is not necessary to run it directly
> > from flash. It could later allow us to support 64-bit U-Boot on broadwell.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v2:
> > - Update commit message to make it clear this patch is just for broadwell
> > - Bring in sdram_console_tx_byte() to allow debugging
> >
> >  arch/x86/cpu/broadwell/Makefile      |   2 +-
> >  arch/x86/cpu/broadwell/northbridge.c | 100 +++++++++++++++++++++++++++
> >  arch/x86/cpu/broadwell/sdram.c       |  93 -------------------------
> >  3 files changed, 101 insertions(+), 94 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list