]> git.sur5r.net Git - u-boot/blobdiff - common/env_mgdisk.c
sandbox: config: enable fdt and snprintf() options
[u-boot] / common / env_mgdisk.c
index b95d85e87231f35b871021798c7d3e7282feec69..d00e141d5b7a3c5bef10630cd102718d7e9690e6 100644 (file)
 
 char *env_name_spec = "MG_DISK";
 
-env_t *env_ptr = 0;
+env_t *env_ptr;
 
 DECLARE_GLOBAL_DATA_PTR;
 
-uchar env_get_char_spec(int index)
-{
-       return (*((uchar *)(gd->env_addr + index)));
-}
-
 void env_relocate_spec(void)
 {
        char buf[CONFIG_ENV_SIZE];