Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • York Sun's avatar
    fef3e25f
    common/board_r: Fix booting issue on T4240QDS · fef3e25f
    York Sun authored
    
    Commit 294b91a5 moved initr_malloc
    earlier than initr_unlock_ram_in_cache. This causes issue on T4240.
    It may be related to locked L1 d-cache and unlocked L2 cache. D-
    cache could and should be unlock earlier for normal operation.
    
    This patch moves initr_unlock_ram_in_cache before initr_malloc. It
    has been verified on the following boards, in which only T4240QDS
    suffered and has been since fixed: T4240QDS, T2080QDS, P5040DS,
    P4080DS, MPC8572DS, MPC8536DS, MPC8641HPCN, B4860QDS.
    
    Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
    CC: Scott Wood <scottwood@freescale.com>
    CC: Simon Glass <sjg@chromium.org>
    Acked-by: default avatarSimon Glass <sjg@chromium.org>
    fef3e25f
    History
    common/board_r: Fix booting issue on T4240QDS
    York Sun authored
    
    Commit 294b91a5 moved initr_malloc
    earlier than initr_unlock_ram_in_cache. This causes issue on T4240.
    It may be related to locked L1 d-cache and unlocked L2 cache. D-
    cache could and should be unlock earlier for normal operation.
    
    This patch moves initr_unlock_ram_in_cache before initr_malloc. It
    has been verified on the following boards, in which only T4240QDS
    suffered and has been since fixed: T4240QDS, T2080QDS, P5040DS,
    P4080DS, MPC8572DS, MPC8536DS, MPC8641HPCN, B4860QDS.
    
    Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
    CC: Scott Wood <scottwood@freescale.com>
    CC: Simon Glass <sjg@chromium.org>
    Acked-by: default avatarSimon Glass <sjg@chromium.org>