]> git.sur5r.net Git - u-boot/blobdiff - include/environment.h
efi_loader: use __always_inline for pixel conversion
[u-boot] / include / environment.h
index 6044b9e1b463e84c9bc20e7f1e8eac59fbc46168..7986a242778d1cc3cf37ea29953b4e74e01308f0 100644 (file)
@@ -188,6 +188,7 @@ enum env_valid {
 };
 
 enum env_location {
+       ENVL_UNKNOWN,
        ENVL_EEPROM,
        ENVL_EXT4,
        ENVL_FAT,
@@ -202,7 +203,6 @@ enum env_location {
        ENVL_NOWHERE,
 
        ENVL_COUNT,
-       ENVL_UNKNOWN,
 };
 
 /* value for the various operations we want to perform on the env */
@@ -217,17 +217,6 @@ struct env_driver {
        const char *name;
        enum env_location location;
 
-       /**
-        * get_char() - Read a character from the environment
-        *
-        * This method is optional. If not provided, a default implementation
-        * will read from gd->env_addr.
-        *
-        * @index: Index of character to read (0=first)
-        * @return character read, or -ve on error
-        */
-       int (*get_char)(int index);
-
        /**
         * load() - Load the environment from storage
         *