]> git.ipfire.org Git - people/ms/u-boot.git/blame - common/env_nowhere.c
board: ti: beagle_x15: added USB initializtion code
[people/ms/u-boot.git] / common / env_nowhere.c
CommitLineData
0bc4a1ac 1/*
ea882baf 2 * (C) Copyright 2000-2010
0bc4a1ac
WD
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com>
6 * Andreas Heppel <aheppel@sysgo.de>
7
3765b3e7 8 * SPDX-License-Identifier: GPL-2.0+
0bc4a1ac
WD
9 */
10
11#include <common.h>
0bc4a1ac
WD
12#include <command.h>
13#include <environment.h>
14#include <linux/stddef.h>
0bc4a1ac 15
d87080b7
WD
16DECLARE_GLOBAL_DATA_PTR;
17
dcfe6e6f 18env_t *env_ptr;
0bc4a1ac 19
ea882baf 20void env_relocate_spec(void)
0bc4a1ac
WD
21{
22}
23
ea882baf 24/*
0bc4a1ac
WD
25 * Initialize Environment use
26 *
27 * We are still running from ROM, so data use is limited
28 */
ea882baf 29int env_init(void)
0bc4a1ac 30{
dcfe6e6f
IG
31 gd->env_addr = (ulong)&default_environment[0];
32 gd->env_valid = 0;
0bc4a1ac 33
dcfe6e6f 34 return 0;
0bc4a1ac 35}