[v4 23/24] sandbox: Add <asm/barrier.h>
Sean Anderson
seanga2 at gmail.com
Sat Oct 21 04:39:26 CEST 2023
On 10/19/23 11:01, Tom Rini wrote:
> Add a mostly empty asm/barrier.h file for sandbox where we define nop() to
> be an empty function.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> arch/sandbox/include/asm/barrier.h | 3 +++
> 1 file changed, 3 insertions(+)
> create mode 100644 arch/sandbox/include/asm/barrier.h
>
> diff --git a/arch/sandbox/include/asm/barrier.h b/arch/sandbox/include/asm/barrier.h
> new file mode 100644
> index 000000000000..0928a78cbf8b
> --- /dev/null
> +++ b/arch/sandbox/include/asm/barrier.h
> @@ -0,0 +1,3 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +
> +#define nop()
Reviewed-by: Sean Anderson <seanga2 at gmail.com>
More information about the U-Boot
mailing list