summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/ofw01/some.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-13 15:15:12 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-01-13 15:15:52 +0100
commit671f126a3a8e6ce5da87aa75c7205fb764e95c78 (patch)
tree9bfdc3799b8f708c8ba6d6d727a0b00d2488ae5c /testsuites/libtests/ofw01/some.c
parentaarch64: always boot into EL1NS (diff)
downloadrtems-671f126a3a8e6ce5da87aa75c7205fb764e95c78.tar.bz2
libtests/ofw01: Fix device tree blob alignment
A device tree blob must be aligned on an 8-byte boundary.
Diffstat (limited to '')
-rw-r--r--testsuites/libtests/ofw01/some.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/libtests/ofw01/some.c b/testsuites/libtests/ofw01/some.c
index 91251e71b0..7ce8760316 100644
--- a/testsuites/libtests/ofw01/some.c
+++ b/testsuites/libtests/ofw01/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, 0x02, 0xcf, 0x00, 0x00, 0x00, 0x38,
0x00, 0x00, 0x02, 0x70, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x11,
0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5f,