Skip to content
  • Simon Glass's avatar
    x86: broadwell: Allow SDRAM init from SPL · c11828a2
    Simon Glass authored
    
    
    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.
    
    Series-changes: 2
    - Update commit message to make it clear this patch is just for broadwell
    - Bring in sdram_console_tx_byte() to allow debugging
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    c11828a2