summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-05-05 18:23:11 +0200
committerWolfgang Denk <wd@denx.de>2007-05-05 18:23:11 +0200
commit2f15278c2eb911c668b4fe562130b78cf554d139 (patch)
treead2e9e57fc940d86a9d219812736fea77585cdf9 /board
parentf51697316ad53e99bf1be354964dacd9fed72a04 (diff)
downloadu-boot-imx-2f15278c2eb911c668b4fe562130b78cf554d139.zip
u-boot-imx-2f15278c2eb911c668b4fe562130b78cf554d139.tar.gz
u-boot-imx-2f15278c2eb911c668b4fe562130b78cf554d139.tar.bz2
Coding stylke cleanup; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mpc8544ds/mpc8544ds.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c
index 9059934..4ff1da9 100644
--- a/board/freescale/mpc8544ds/mpc8544ds.c
+++ b/board/freescale/mpc8544ds/mpc8544ds.c
@@ -52,7 +52,7 @@ int checkboard (void)
volatile immap_t *immap = (immap_t *) CFG_CCSRBAR;
volatile ccsr_gur_t *gur = &immap->im_gur;
- if ((uint)&gur->porpllsr != 0xe00e0000) {
+ if ((uint)&gur->porpllsr != 0xe00e0000) {
printf("immap size error %x\n",&gur->porpllsr);
}
printf ("Board: MPC8544DS\n");
@@ -79,7 +79,6 @@ initdram(int board_type)
return dram_size;
}
-
#if defined(CFG_DRAM_TEST)
int
testdram(void)
@@ -119,8 +118,6 @@ testdram(void)
}
#endif
-
-
int last_stage_init(void)
{
return 0;
@@ -190,16 +187,15 @@ get_board_sys_clk(ulong dummy)
void
ft_board_setup(void *blob, bd_t *bd)
{
- u32 *p;
- int len;
+ u32 *p;
+ int len;
- ft_cpu_setup(blob, bd);
+ ft_cpu_setup(blob, bd);
- p = ft_get_prop(blob, "/memory/reg", &len);
- if (p != NULL) {
- *p++ = cpu_to_be32(bd->bi_memstart);
- *p = cpu_to_be32(bd->bi_memsize);
- }
+ p = ft_get_prop(blob, "/memory/reg", &len);
+ if (p != NULL) {
+ *p++ = cpu_to_be32(bd->bi_memstart);
+ *p = cpu_to_be32(bd->bi_memsize);
+ }
}
#endif
-