~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/common/env_nowhere.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (C) Copyright 2000-2010
 
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
 
 
8
 * SPDX-License-Identifier:     GPL-2.0+
 
9
 */
 
10
 
 
11
#include <common.h>
 
12
#include <command.h>
 
13
#include <environment.h>
 
14
#include <linux/stddef.h>
 
15
 
 
16
DECLARE_GLOBAL_DATA_PTR;
 
17
 
 
18
env_t *env_ptr;
 
19
 
 
20
void env_relocate_spec(void)
 
21
{
 
22
}
 
23
 
 
24
/*
 
25
 * Initialize Environment use
 
26
 *
 
27
 * We are still running from ROM, so data use is limited
 
28
 */
 
29
int env_init(void)
 
30
{
 
31
        gd->env_addr    = (ulong)&default_environment[0];
 
32
        gd->env_valid   = 0;
 
33
 
 
34
        return 0;
 
35
}