projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[oweals/u-boot.git]
/
board
/
freescale
/
mpc7448hpc2
/
mpc7448hpc2.c
diff --git
a/board/freescale/mpc7448hpc2/mpc7448hpc2.c
b/board/freescale/mpc7448hpc2/mpc7448hpc2.c
index f6cd192a810f1f0112ef02716c78aa2783758bf1..117b951c5dd3523bae744cb7841331b59f3dc207 100644
(file)
--- a/
board/freescale/mpc7448hpc2/mpc7448hpc2.c
+++ b/
board/freescale/mpc7448hpc2/mpc7448hpc2.c
@@
-32,13
+32,12
@@
#include <common.h>
#include <74xx_7xx.h>
#include <fdt_support.h>
#include <common.h>
#include <74xx_7xx.h>
#include <fdt_support.h>
+#include <netdev.h>
#undef DEBUG
DECLARE_GLOBAL_DATA_PTR;
#undef DEBUG
DECLARE_GLOBAL_DATA_PTR;
-extern void flush_data_cache (void);
-extern void invalidate_l1_instruction_cache (void);
extern void tsi108_init_f (void);
int display_mem_map (void);
extern void tsi108_init_f (void);
int display_mem_map (void);
@@
-61,7
+60,7
@@
int checkboard (void)
{
int l_type = 0;
{
int l_type = 0;
- printf ("BOARD: %s\n", C
FG
_BOARD_NAME);
+ printf ("BOARD: %s\n", C
ONFIG_SYS
_BOARD_NAME);
return (l_type);
}
return (l_type);
}
@@
-81,7
+80,7
@@
long int dram_size (int board_type)
return 0x20000000; /* 256M bytes */
}
return 0x20000000; /* 256M bytes */
}
-
long in
t initdram (int board_type)
+
phys_size_
t initdram (int board_type)
{
return dram_size (board_type);
}
{
return dram_size (board_type);
}
@@
-94,3
+93,12
@@
ft_board_setup(void *blob, bd_t *bd)
fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
}
#endif
fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
}
#endif
+
+int board_eth_init(bd_t *bis)
+{
+ int rc = 0;
+#if defined(CONFIG_TSI108_ETH)
+ rc = tsi108_eth_initialize(bis);
+#endif
+ return rc;
+}