Changeset 3454179 in rtems


Ignore:
Timestamp:
Feb 5, 2018, 12:54:48 PM (21 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ea7f4a0c
Parents:
0f4a7391
git-author:
Sebastian Huber <sebastian.huber@…> (02/05/18 12:54:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/05/18 12:55:24)
Message:

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

Update #3290.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/altera-cyclone-v/include/bsp.h

    r0f4a7391 r3454179  
    11/*
    2  * Copyright (c) 2013-2014 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2013, 2018 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    1919
    2020#define BSP_FEATURE_IRQ_EXTENSION
     21
     22#define BSP_FDT_IS_SUPPORTED
    2123
    2224#ifndef ASM
  • c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstart.c

    r0f4a7391 r3454179  
    11/*
    2  * Copyright (c) 2013, 2017 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2013, 2018 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    2222
    2323#include <libfdt.h>
     24
     25uint32_t bsp_fdt_map_intr(const uint32_t *intr, size_t icells)
     26{
     27  return intr[1] + 32;
     28}
    2429
    2530static void set_clock(
Note: See TracChangeset for help on using the changeset viewer.