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 | |
Stephen Warren | 62f2c90 | 2016-05-16 17:41:37 -0600 | [diff] [blame] | 9 | #define SANDBOX_MBOX_PING_XOR 0x12345678 |
| 10 | |
| 11 | struct udevice; |
| 12 | |
| 13 | int sandbox_mbox_test_get(struct udevice *dev); |
| 14 | int sandbox_mbox_test_send(struct udevice *dev, uint32_t msg); |
| 15 | int sandbox_mbox_test_recv(struct udevice *dev, uint32_t *msg); |
| 16 | int sandbox_mbox_test_free(struct udevice *dev); |
| 17 | |
| 18 | #endif |