xref: /openbmc/u-boot/arch/sandbox/include/asm/mbox.h (revision e8f80a5a)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2016, NVIDIA CORPORATION.
4  */
5 
6 #ifndef __SANDBOX_MBOX_H
7 #define __SANDBOX_MBOX_H
8 
9 #include <common.h>
10 
11 #define SANDBOX_MBOX_PING_XOR 0x12345678
12 
13 struct udevice;
14 
15 int sandbox_mbox_test_get(struct udevice *dev);
16 int sandbox_mbox_test_send(struct udevice *dev, uint32_t msg);
17 int sandbox_mbox_test_recv(struct udevice *dev, uint32_t *msg);
18 int sandbox_mbox_test_free(struct udevice *dev);
19 
20 #endif
21