summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-11 17:59:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-11 18:01:17 +0100
commit00081b30a8b879d5e0a91d1ce369ec6c9eb9b839 (patch)
tree972264868c97cf013108b5a30950a47b24aa215f /testsuites/libtests
parentbsp/qoriq: Implement Interrupt Manager directives (diff)
downloadrtems-00081b30a8b879d5e0a91d1ce369ec6c9eb9b839.tar.bz2
Fix device tree blob alignment
A device tree blob must be aligned on an 8-byte boundary.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r--testsuites/libtests/libfdt01/some.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/libtests/libfdt01/some.c b/testsuites/libtests/libfdt01/some.c
index 5eed911204..d5d8b7a285 100644
--- a/testsuites/libtests/libfdt01/some.c
+++ b/testsuites/libtests/libfdt01/some.c
@@ -4,9 +4,9 @@
* WARNING: Automatically generated -- do not edit!
*/
-#include <sys/types.h>
+#include <rtems.h>
-const unsigned char some_bin[] = {
+RTEMS_ALIGNED(8) const unsigned char some_bin[] = {
0xd0, 0x0d, 0xfe, 0xed, 0x00, 0x00, 0x01, 0xd8, 0x00, 0x00, 0x00, 0x38,
0x00, 0x00, 0x01, 0x90, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x11,
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48,