Changeset 12ab8d6 in rtems


Ignore:
Timestamp:
Sep 10, 2014, 9:15:44 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
f82752a4
Parents:
4768ae0f
git-author:
Sebastian Huber <sebastian.huber@…> (09/10/14 09:15:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/10/14 09:29:54)
Message:

bsps/arm: Fix get cache size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h

    r4768ae0f r12ab8d6  
    15181518  switch( level )
    15191519  {
     1520    case 1:
     1521      size = arm_cache_l1_get_data_cache_size();
     1522    break;
    15201523    case 0:
    1521       size = arm_cache_l1_get_data_cache_size();
    1522     break;
    1523     case 1:
     1524    case 2:
    15241525      size = cache_l2c_310_get_cache_size();
    15251526    break;
     
    15381539  switch( level )
    15391540  {
    1540     case 0:
     1541    case 1:
    15411542      size = arm_cache_l1_get_instruction_cache_size();
    15421543      break;
    1543     case 1:
     1544    case 0:
     1545    case 2:
    15441546      size = cache_l2c_310_get_cache_size();
    15451547      break;
Note: See TracChangeset for help on using the changeset viewer.