summaryrefslogtreecommitdiff
path: root/include/bsp/spi.h
blob: a2fa4752cb776a54ffed73f9208f8b95a3bc036e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if defined(HEADER_WARNING)
#warning "This header should not be included directly."
#endif


#if defined(__rtems_arm_raspberrypi__)
#  include <arm/raspberrypi/bsp/spi.h>
#elif defined(__rtems_arm_raspberrypi2__)
#  include <arm/raspberrypi2/bsp/spi.h>
#elif defined(__rtems_powerpc_pghplus__)
#  include <powerpc/pghplus/bsp/spi.h>
#elif defined(__rtems_powerpc_tqm8xx_stk8xx__)
#  include <powerpc/tqm8xx_stk8xx/bsp/spi.h>
#else
#  error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
#endif