projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MACH_TYPE records for several AT91 boards.
[oweals/u-boot.git]
/
board
/
integratorcp
/
integratorcp.c
diff --git
a/board/integratorcp/integratorcp.c
b/board/integratorcp/integratorcp.c
index 216876b469db2bc18dad073f52dd0f160279b182..d6d6e13d5a475f20290bb86277affe17365522b8 100644
(file)
--- a/
board/integratorcp/integratorcp.c
+++ b/
board/integratorcp/integratorcp.c
@@
-35,6
+35,8
@@
#include <common.h>
#include <common.h>
+DECLARE_GLOBAL_DATA_PTR;
+
void flash__init (void);
void ether__init (void);
void peripheral_power_enable (void);
void flash__init (void);
void ether__init (void);
void peripheral_power_enable (void);
@@
-54,8
+56,6
@@
void show_boot_progress(int progress)
int board_init (void)
{
int board_init (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
/* arch number of Integrator Board */
gd->bd->bi_arch_number = MACH_TYPE_CINTEGRATOR;
/* arch number of Integrator Board */
gd->bd->bi_arch_number = MACH_TYPE_CINTEGRATOR;
@@
-105,8
+105,6
@@
void ether__init (void)
******************************/
int dram_init (void)
{
******************************/
int dram_init (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;