Changeset 582e4272 in rtems


Ignore:
Timestamp:
Apr 22, 2016, 11:09:39 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
2c68a47e
Parents:
0ac0632
git-author:
Sebastian Huber <sebastian.huber@…> (04/22/16 11:09:39)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/22/16 12:30:06)
Message:

bsp/qoriq: Move L1 cache invalidate function

Location:
c/src/lib/libbsp/powerpc/qoriq
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/Makefile.am

    r0ac0632 r582e4272  
    7171        ../shared/uboot_getenv.c \
    7272        ../shared/uboot_dump_bdinfo.c \
     73        startup/l1cache.S \
    7374        startup/l2cache.S \
    7475        startup/mmu.c \
  • c/src/lib/libbsp/powerpc/qoriq/start/start.S

    r0ac0632 r582e4272  
    6161#endif /* U_BOOT_USE_FDT */
    6262
    63         /* Invalidate L1 data cache */
    64         mfspr   r3, FSL_EIS_L1CSR0
    65         ori     r3, r3, FSL_EIS_L1CSR0_CFI
    66         mtspr   FSL_EIS_L1CSR0, r3
    67 1:
    68         mfspr   r3, FSL_EIS_L1CSR0
    69         andi.   r3, r3, FSL_EIS_L1CSR0_CFI
    70         bne     1b
    71         isync
    72 
    73         /* Invalidate L1 instruction cache */
    74         mfspr   r3, FSL_EIS_L1CSR1
    75         ori     r3, r3, FSL_EIS_L1CSR1_ICFI
    76         mtspr   FSL_EIS_L1CSR1, r3
    77 1:
    78         mfspr   r3, FSL_EIS_L1CSR1
    79         andi.   r3, r3, FSL_EIS_L1CSR1_ICFI
    80         bne     1b
    81         isync
     63        bl      qoriq_l1cache_invalidate
    8264
    8365#ifdef QORIQ_CLUSTER_1_L2CSR0
Note: See TracChangeset for help on using the changeset viewer.