forked from Imagelibrary/rtems
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013-2014 embedded brains GmbH. All rights reserved.
|
* Copyright (c) 2013, 2018 embedded brains GmbH. All rights reserved.
|
||||||
*
|
*
|
||||||
* embedded brains GmbH
|
* embedded brains GmbH
|
||||||
* Dornierstr. 4
|
* Dornierstr. 4
|
||||||
@@ -19,6 +19,8 @@
|
|||||||
|
|
||||||
#define BSP_FEATURE_IRQ_EXTENSION
|
#define BSP_FEATURE_IRQ_EXTENSION
|
||||||
|
|
||||||
|
#define BSP_FDT_IS_SUPPORTED
|
||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2013, 2017 embedded brains GmbH. All rights reserved.
|
* Copyright (c) 2013, 2018 embedded brains GmbH. All rights reserved.
|
||||||
*
|
*
|
||||||
* embedded brains GmbH
|
* embedded brains GmbH
|
||||||
* Dornierstr. 4
|
* Dornierstr. 4
|
||||||
@@ -22,6 +22,11 @@
|
|||||||
|
|
||||||
#include <libfdt.h>
|
#include <libfdt.h>
|
||||||
|
|
||||||
|
uint32_t bsp_fdt_map_intr(const uint32_t *intr, size_t icells)
|
||||||
|
{
|
||||||
|
return intr[1] + 32;
|
||||||
|
}
|
||||||
|
|
||||||
static void set_clock(
|
static void set_clock(
|
||||||
const void *fdt,
|
const void *fdt,
|
||||||
int parent,
|
int parent,
|
||||||
|
|||||||
Reference in New Issue
Block a user