Changeset b1ef3674 in rtems


Ignore:
Timestamp:
Jul 27, 2016, 9:30:09 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
6446773
Parents:
d79df38
git-author:
Sebastian Huber <sebastian.huber@…> (07/27/16 09:30:09)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/27/16 09:30:48)
Message:

bsp/qoriq: Add QORIQ_HAS_WRITE_BACK_L1_CACHE

Fixes start via U-Boot on P1020.

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/configure.ac

    rd79df38 rb1ef3674  
    173173RTEMS_BSPOPTS_HELP([QORIQ_HAS_HYPERVISOR_MODE],[defined if the processor core has a hypervisor mode])
    174174
     175RTEMS_BSPOPTS_SET([QORIQ_HAS_WRITE_BACK_L1_CACHE],[qoriq_t*],[])
     176RTEMS_BSPOPTS_SET([QORIQ_HAS_WRITE_BACK_L1_CACHE],[*],[1])
     177RTEMS_BSPOPTS_HELP([QORIQ_HAS_WRITE_BACK_L1_CACHE],[defined if the L1 cache supports write-back])
     178
    175179RTEMS_BSPOPTS_SET([QORIQ_CLUSTER_1_L2CSR0],[qoriq_t*],[0xfec20000])
    176180RTEMS_BSPOPTS_SET([QORIQ_CLUSTER_1_L2CSR0],[*],[])
  • c/src/lib/libbsp/powerpc/qoriq/start/start.S

    rd79df38 rb1ef3674  
    6161#endif /* U_BOOT_USE_FDT */
    6262
     63#ifdef QORIQ_HAS_WRITE_BACK_L1_CACHE
     64        LWI     r3, bsp_section_start_begin
     65        LWI     r4, bsp_section_data_load_end
     66        sub     r4, r4, r3
     67        bl      rtems_cache_flush_multiple_data_lines
     68#else
    6369        bl      qoriq_l1cache_invalidate
     70#endif
    6471
    6572#ifdef QORIQ_CLUSTER_1_L2CSR0
Note: See TracChangeset for help on using the changeset viewer.