bsps/or1k: Avoid <libcpu/cache.h>

Update #3254.
This commit is contained in:
Sebastian Huber
2017-12-07 09:07:14 +01:00
parent 2fe368787e
commit 7704f1a6e3
2 changed files with 3 additions and 5 deletions

View File

@@ -16,10 +16,9 @@
#include <bsp.h> #include <bsp.h>
#include <bsp/bootcard.h> #include <bsp/bootcard.h>
#include <libcpu/cache.h>
void bsp_start( void ) void bsp_start( void )
{ {
_CPU_cache_enable_instruction(); rtems_cache_enable_instruction();
_CPU_cache_enable_data(); rtems_cache_enable_data();
} }

View File

@@ -18,8 +18,7 @@
#include <rtems/score/interr.h> #include <rtems/score/interr.h>
#include <rtems/score/or1k-utility.h> #include <rtems/score/or1k-utility.h>
#include <rtems/score/percpu.h> #include <rtems/score/percpu.h>
#include <libcpu/cache.h> #include "cache_.h"
#include <cache_.h>
static inline void _CPU_OR1K_Cache_data_block_prefetch(const void *d_addr) static inline void _CPU_OR1K_Cache_data_block_prefetch(const void *d_addr)
{ {