bsp/altera-cyclone-v: Add device tree support

Update #3290.
This commit is contained in:
Sebastian Huber
2018-02-05 13:54:48 +01:00
parent 0f4a7391bb
commit 3454179dee
2 changed files with 9 additions and 2 deletions

View File

@@ -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
* Dornierstr. 4
@@ -19,6 +19,8 @@
#define BSP_FEATURE_IRQ_EXTENSION
#define BSP_FDT_IS_SUPPORTED
#ifndef ASM
#include <rtems.h>

View File

@@ -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
* Dornierstr. 4
@@ -22,6 +22,11 @@
#include <libfdt.h>
uint32_t bsp_fdt_map_intr(const uint32_t *intr, size_t icells)
{
return intr[1] + 32;
}
static void set_clock(
const void *fdt,
int parent,