]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Add <asm/barrier.h>
authorTom Rini <trini@konsulko.com>
Thu, 26 Oct 2023 18:31:35 +0000 (14:31 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:49:40 +0000 (14:49 -0500)
Add a mostly empty asm/barrier.h file for sandbox where we define nop() to
be an empty function.

Reviewed-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/include/asm/barrier.h [new file with mode: 0644]

diff --git a/arch/sandbox/include/asm/barrier.h b/arch/sandbox/include/asm/barrier.h
new file mode 100644 (file)
index 0000000..0928a78
--- /dev/null
@@ -0,0 +1,3 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#define nop()