diff options
Diffstat (limited to 'common/startup.c')
-rw-r--r-- | common/startup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/startup.c b/common/startup.c index 2ed16fea0c..84a59c5cae 100644 --- a/common/startup.c +++ b/common/startup.c @@ -79,13 +79,14 @@ void early_init (void) #endif /* CONFIG_HAS_EARLY_INIT */ #ifdef CONFIG_DEFAULT_ENVIRONMENT -#include <barebox_default_env.h> +#include <generated/barebox_default_env.h> static struct memory_platform_data default_env_platform_data = { .name = "defaultenv", }; static struct device_d default_env_dev = { + .id = -1, .name = "mem", .platform_data = &default_env_platform_data, }; |