diff options
| author | Wolfgang Denk <wd@denx.de> | 2009-10-09 00:03:18 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2009-10-09 00:03:18 +0200 | 
| commit | cd77dd109c4a439519a78c32eddc42bdebc7a61f (patch) | |
| tree | c5534647cb1786044ef0f7e4ad4067725eddf11d /post/board/lwmon/sysmon.c | |
| parent | 95c44ec485b46ffb43dbdaa299f1491a500fdadf (diff) | |
| parent | afc3ba0fc4195624e79e21244380ed7cc2fd6969 (diff) | |
| download | olio-uboot-2014.01-cd77dd109c4a439519a78c32eddc42bdebc7a61f.tar.xz olio-uboot-2014.01-cd77dd109c4a439519a78c32eddc42bdebc7a61f.zip | |
Merge branch 'reloc'
Diffstat (limited to 'post/board/lwmon/sysmon.c')
| -rw-r--r-- | post/board/lwmon/sysmon.c | 17 | 
1 files changed, 1 insertions, 16 deletions
| diff --git a/post/board/lwmon/sysmon.c b/post/board/lwmon/sysmon.c index 79a5151c0..fc828b2e5 100644 --- a/post/board/lwmon/sysmon.c +++ b/post/board/lwmon/sysmon.c @@ -56,8 +56,6 @@ static int sysmon_temp_invalid = 0;  /* #define DEBUG */ -#define	RELOC(x) if (x != NULL) x = (void *) ((ulong) (x) + gd->reloc_off) -  typedef struct sysmon_s sysmon_t;  typedef struct sysmon_table_s sysmon_table_t; @@ -159,20 +157,7 @@ int sysmon_init_f (void)  void sysmon_reloc (void)  { -	sysmon_t ** l; -	sysmon_table_t * t; - -	for (l = sysmon_list; *l; l++) { -		RELOC(*l); -		RELOC((*l)->init); -		RELOC((*l)->read); -	} - -	for (t = sysmon_table; t < sysmon_table + sysmon_table_size; t ++) { -		RELOC(t->exec_before); -		RELOC(t->exec_after); -		RELOC(t->sysmon); -	} +	/* Do nothing for now, sysmon_reloc() is required by the sysmon post */  }  static char *sysmon_unit_value (sysmon_table_t *s, uint val) |