Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Stephen Warren | 62f2c90 | 2016-05-16 17:41:37 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2016, NVIDIA CORPORATION. |
Stephen Warren | 62f2c90 | 2016-05-16 17:41:37 -0600 | [diff] [blame] | 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 |