提交 3469424c 编写于 作者: P Peter Tyser 提交者: Wolfgang Denk

ppc: Remove reloc_off field from global_data structure

Now that proper relocation is supported, the reloc_off field is no longer
necessary.

Note that the location of the standalone application jump table pointer
in the global data structure is affected by this change, breaking
execution of standalone applications compiled for previous versions of
U-Boot.

We therefore increment XF_VERSION to 6
Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
Signed-off-by: NWolfgang Denk <wd@denx.de>
上级 0630535e
......@@ -24,6 +24,7 @@
#ifndef __ASM_GBL_DATA_H
#define __ASM_GBL_DATA_H
#include "config.h"
#include "asm/types.h"
/*
......@@ -124,7 +125,6 @@ typedef struct global_data {
unsigned long flb_clk;
#endif
phys_size_t ram_size; /* RAM size */
unsigned long reloc_off; /* Relocation Offset */
unsigned long reset_status; /* reset status register at boot */
#if defined(CONFIG_MPC83xx)
unsigned long arbiter_event_attributes;
......
......@@ -47,7 +47,7 @@ enum {
XF_MAX
};
#define XF_VERSION 5
#define XF_VERSION 6
#if defined(CONFIG_I386)
extern gd_t *global_data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册