diff options
author | Jorge Ramirez-Ortiz <jramirez@baylibre.com> | 2018-09-23 09:40:45 +0200 |
---|---|---|
committer | ldts <jorge.ramirez.ortiz@gmail.com> | 2018-10-17 18:41:49 +0200 |
commit | c2f286820471ed276c57e603762bd831873e5a17 (patch) | |
tree | 2886a446a809d0619cbf529826f41ce674334810 /drivers/renesas/rcar/io/io_private.h | |
parent | da963e316446eeff0e2932946b98ea50b99f5b78 (diff) | |
download | trusted-firmware-a-c2f286820471ed276c57e603762bd831873e5a17.tar.gz |
rcar_gen3: drivers: io [emmc/mem]
Signed-off-by: ldts <jramirez@baylibre.com>
Diffstat (limited to 'drivers/renesas/rcar/io/io_private.h')
-rw-r--r-- | drivers/renesas/rcar/io/io_private.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/renesas/rcar/io/io_private.h b/drivers/renesas/rcar/io/io_private.h new file mode 100644 index 0000000000..d0e66c01b4 --- /dev/null +++ b/drivers/renesas/rcar/io/io_private.h @@ -0,0 +1,20 @@ +/* + * 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 |