[U-Boot] [PATCH 17/40] x86: broadwell: Allow SDRAM init from SPL
Bin Meng
bmeng.cn at gmail.com
Fri Feb 22 07:19:08 UTC 2019
Hi Simon,
On Wed, Jan 30, 2019 at 12:00 PM Simon Glass <sjg at chromium.org> wrote:
>
> At present SDRAM is always set up in U-Boot proper. Allow this to be done
I don't understand. I thought SDRAM was already set up in the U-Boot
SPL in the 64-bit build. The U-Boot proper needs a MMU table which
resides in RAM, so without RAM being initialized first there is no way
for U-Boot proper to run. Am I missing anything?
> 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.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> arch/x86/cpu/broadwell/Makefile | 2 +-
> arch/x86/cpu/broadwell/northbridge.c | 93 ++++++++++++++++++++++++++++
> arch/x86/cpu/broadwell/sdram.c | 93 ----------------------------
> 3 files changed, 94 insertions(+), 94 deletions(-)
>
Regards,
Bin
More information about the U-Boot
mailing list