summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k/generic_or1k/startup/bspstart.c
blob: 35a536ef0bd9075a55be4f5049120957ba234eff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * @file
 *
 * @ingroup generic_or1k
 *
 * @brief Benchmark timer support.
 */

/*
 * Copyright (c) 2014-2015 by Hesham ALMatary
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE
 */

#include <bsp.h>
#include <bsp/bootcard.h>

void bsp_start( void )
{
  rtems_cache_enable_instruction();
  rtems_cache_enable_data();
}