diff options
Diffstat (limited to 'bsps/arm/beagle/include/bsp.h')
-rw-r--r-- | bsps/arm/beagle/include/bsp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bsps/arm/beagle/include/bsp.h b/bsps/arm/beagle/include/bsp.h index cb415fda89..80a9cc291d 100644 --- a/bsps/arm/beagle/include/bsp.h +++ b/bsps/arm/beagle/include/bsp.h @@ -49,6 +49,8 @@ #include <libcpu/omap3.h> #include <libcpu/am335x.h> +#include <ofw/ofw.h> + #define BSP_FEATURE_IRQ_EXTENSION /* UART base clock frequency */ @@ -68,6 +70,8 @@ #define udelay(u) rtems_task_wake_after(1 + ((u)/rtems_configuration_get_microseconds_per_tick())) +int beagle_get_node_unit(phandle_t node); + /* Write a uint32_t value to a memory address. */ static inline void write32(uint32_t address, uint32_t value) |