Use standard errno definitions in load_auth_image()

This patch replaces custom definitions used as return values for
the load_auth_image() function with standard error codes defined
in errno.h. The custom definitions have been removed.

It also replaces the usage of IO framework error custom definitions,
which have been deprecated. Standard errno definitions are used
instead.

Change-Id: I1228477346d3876151c05b470d9669c37fd231be
This commit is contained in:
Juan Castillo 2015-10-01 18:37:40 +01:00 committed by Juan Castillo
parent 7e26fe1f05
commit 78460a05e4
3 changed files with 12 additions and 20 deletions

View file

@ -202,15 +202,6 @@ typedef struct bl31_params {
image_info_t *bl33_image_info;
} bl31_params_t;
/*
* load_auth_image() return values
*/
enum {
LOAD_SUCCESS, /* Load + authentication success */
LOAD_ERR, /* Load error */
LOAD_AUTH_ERR /* Authentication error */
};
/*
* Compile time assertions related to the 'entry_point_info' structure to