Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

board_r.c

Blame
    • 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>