Ignore:
Timestamp:
Jul 3, 2016, 3:26:50 PM (3 years ago)
Author:
Pavel Pisa <pisa@…>
Branches:
master
Children:
2b885d6
Parents:
abea02a8
git-author:
Pavel Pisa <pisa@…> (07/03/16 15:26:50)
git-committer:
Pavel Pisa <pisa@…> (07/04/16 13:55:57)
Message:

bsps/arm: Change code to explicit selection of cache implementation for ARM BSPs.

The original ARM architecture wide cache_.h is changed to dummy version
for targets not implementing/enablig cache at all.

The ARM targets equipped by cache should include
appropriate implementation.

Next options are available for now

c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h

basic ARM cache integrated on the CPU core directly
which requires only CP15 oparations

c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h

support for case where ARM L2C-310 cache controller
is used. It is accessible as mmaped peripheral.

c/src/lib/libbsp/arm/shared/armv7m/include/cache_.h

Cortex-M specific cache support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am

    rabea02a8 rd4316537  
    123123# Cache
    124124libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
    125 libbsp_a_SOURCES += ../../../libcpu/arm/shared/include/cache_.h
    126 libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
     125libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
     126libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
     127libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
    127128
    128129# Start hooks
Note: See TracChangeset for help on using the changeset viewer.