diff options
author | Pavel Pisa <ppisa@pikron.com> | 2016-05-21 23:50:31 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2016-10-02 10:40:35 +0200 |
commit | b5501ba492535a9868d182d77dd7c62529fc1c19 (patch) | |
tree | 5a952a88f37bb1a886a3ca4d7433583f07ec1246 /c/src/lib/libbsp/arm/raspberrypi/misc | |
parent | arm/raspberrypi: reorder and update MMU config table to nor force RW section ... (diff) | |
download | rtems-b5501ba492535a9868d182d77dd7c62529fc1c19.tar.bz2 |
arm/raspberrypi: ensure that correct RPI_PERIPHERAL_BASE is provided by raspberrypi.h
If the raspberrypi.h has been included without preceding inclussion
of bsp.h then BSP_IS_RPI2 has not been set for Raspberry Pi 2
BSP variant and bad things happen later.
The patch includes bspopts.h by raspberrypi.h and even includes
bsp.h in critical peripherals support.
Updates #2783
Diffstat (limited to 'c/src/lib/libbsp/arm/raspberrypi/misc')
-rw-r--r-- | c/src/lib/libbsp/arm/raspberrypi/misc/timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c b/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c index e90af08290..1047b3e417 100644 --- a/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c +++ b/c/src/lib/libbsp/arm/raspberrypi/misc/timer.c @@ -16,6 +16,7 @@ * */ +#include <bsp.h> #include <rtems.h> #include <rtems/btimer.h> #include <bsp/raspberrypi.h> |