X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fenv_callback.h;h=05e9516a0f44d1c4980b27bbd06176b709011500;hb=64cfeda8ae2e95751c5d2dfa4dc4a906478ae2f6;hp=982c07854d07c8893b30a854d2f6a419169605e6;hpb=5939afc9611e8ba4a86b96e67670b765ee27668e;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/env_callback.h b/include/env_callback.h index 982c078..05e9516 100644 --- a/include/env_callback.h +++ b/include/env_callback.h @@ -42,7 +42,7 @@ #define DNS_CALLBACK #endif -#ifdef CONFIG_CMD_NET +#ifdef CONFIG_NET #define NET_CALLBACKS \ "bootfile:bootfile," \ "ipaddr:ipaddr," \ @@ -72,6 +72,12 @@ "serial#:serialno," \ CONFIG_ENV_CALLBACK_LIST_STATIC +#ifndef CONFIG_SPL_BUILD void env_callback_init(struct env_entry *var_entry); +#else +static inline void env_callback_init(struct env_entry *var_entry) +{ +} +#endif #endif /* __ENV_CALLBACK_H__ */