2 * (C) Copyright 2000-2010
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
6 * Andreas Heppel <aheppel@sysgo.de>
8 * SPDX-License-Identifier: GPL-2.0+
13 #include <environment.h>
14 #include <linux/stddef.h>
16 DECLARE_GLOBAL_DATA_PTR;
20 static void env_nowhere_load(void)
25 * Initialize Environment use
27 * We are still running from ROM, so data use is limited
29 static int env_nowhere_init(void)
31 gd->env_addr = (ulong)&default_environment[0];
37 U_BOOT_ENV_LOCATION(nowhere) = {
38 .location = ENVL_NOWHERE,
39 .load = env_nowhere_load,
40 .init = env_nowhere_init,