mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-23 23:33:01 +00:00
ARM: OMAP: Cleanup boot parameters usage
The boot parameters are read from individual variables assigned for each of them. This been corrected and now they are stored as a part of the global data 'gd' structure. So read them from 'gd' instead. Signed-off-by: Sricharan R <r.sricharan@ti.com> [trini: Add igep0033 hunk] Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
fda06812a0
commit
4a0eb75752
12 changed files with 39 additions and 91 deletions
|
@ -25,6 +25,8 @@
|
|||
#ifndef _OMAP_COMMON_H_
|
||||
#define _OMAP_COMMON_H_
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#define NUM_SYS_CLKS 8
|
||||
|
@ -558,6 +560,7 @@ static inline u32 omap_revision(void)
|
|||
extern u32 *const omap_si_rev;
|
||||
return *omap_si_rev;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* silicon revisions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue