mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-21 20:14:29 +00:00

Move io driver code to common directory, so that the same code can be re-used by both R-Car Gen3 and RZ/G2 platforms. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Change-Id: Ic661e415c91a1fbfd5eee3bba86466037e51574b
20 lines
492 B
C
20 lines
492 B
C
/*
|
|
* Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef IO_PRIVATE_H
|
|
#define IO_PRIVATE_H
|
|
|
|
/*
|
|
* Return codes reported by 'io_*' APIs
|
|
* The value of fail should not overlap with define of the errno.
|
|
* The errno is in "include/lib/stdlib/sys/errno.h".
|
|
*/
|
|
#define IO_SUCCESS (0)
|
|
#define IO_FAIL (-0x81)
|
|
#define IO_NOT_SUPPORTED (-0x82)
|
|
#define IO_RESOURCES_EXHAUSTED (-0x83)
|
|
|
|
#endif /* IO_PRIVATE_H */
|