Changeset d2a45a58 in rtems


Ignore:
Timestamp:
Mar 23, 2017, 9:07:52 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
258bda3
Parents:
f6e793a2
git-author:
Sebastian Huber <sebastian.huber@…> (03/23/17 09:07:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/03/17 12:07:58)
Message:

bsp/qoriq: Fix L1 cache flush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/start/start.S

    rf6e793a2 rd2a45a58  
    5555
    5656#ifdef QORIQ_HAS_WRITE_BACK_L1_CACHE
    57         LWI     r3, bsp_section_start_begin
    58         LWI     r4, bsp_section_data_load_end
    59         sub     r4, r4, r3
    60         bl      rtems_cache_flush_multiple_data_lines
    61 #else
     57        /*
     58         * See PowerPC e500 Core Family Reference Manual, 11.5, L1 Data Cache
     59         * Flushing.
     60         */
     61        LWI     r3, 12 * 128
     62        mtctr   r3
     63        LWI     r4, bsp_section_bss_begin
     641:
     65        dcbz    r0, r4
     66        addi    r4, r4, 32
     67        bdnz    1b
     68#endif
     69
    6270        bl      qoriq_l1cache_invalidate
    63 #endif
    6471
    6572#ifdef QORIQ_CLUSTER_1_L2CSR0
Note: See TracChangeset for help on using the changeset viewer.