projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
board/bsc9131rdb:Add NAND boot support using new SPL format
[oweals/u-boot.git]
/
board
/
pxa255_idp
/
pxa_idp.c
diff --git
a/board/pxa255_idp/pxa_idp.c
b/board/pxa255_idp/pxa_idp.c
index 804d09c22bd72ad18268763b5c6ba21021323c68..9931efdc08465b0c589000244e14dd4ec4512617 100644
(file)
--- a/
board/pxa255_idp/pxa_idp.c
+++ b/
board/pxa255_idp/pxa_idp.c
@@
-34,6
+34,8
@@
#include <netdev.h>
#include <command.h>
#include <asm/io.h>
#include <netdev.h>
#include <command.h>
#include <asm/io.h>
+#include <asm/arch/pxa.h>
+#include <asm/arch/regs-mmc.h>
DECLARE_GLOBAL_DATA_PTR;
DECLARE_GLOBAL_DATA_PTR;
@@
-76,6
+78,14
@@
int board_init (void)
return 0;
}
return 0;
}
+#ifdef CONFIG_CMD_MMC
+int board_mmc_init(bd_t *bis)
+{
+ pxa_mmc_register(0);
+ return 0;
+}
+#endif
+
int board_late_init(void)
{
setenv("stdout", "serial");
int board_late_init(void)
{
setenv("stdout", "serial");
@@
-83,10
+93,9
@@
int board_late_init(void)
return 0;
}
return 0;
}
-extern void pxa_dram_init(void);
int dram_init(void)
{
int dram_init(void)
{
- pxa_dram_init();
+ pxa
2xx
_dram_init();
gd->ram_size = PHYS_SDRAM_1_SIZE;
return 0;
}
gd->ram_size = PHYS_SDRAM_1_SIZE;
return 0;
}