summaryrefslogtreecommitdiff
path: root/board/atc/atc.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /board/atc/atc.c
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
downloadu-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.zip
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.gz
u-boot-imx-8bde7f776c77b343aca29b8c7b58464d915ac245.tar.bz2
* Code cleanup:
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'board/atc/atc.c')
-rw-r--r--board/atc/atc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/board/atc/atc.c b/board/atc/atc.c
index ea7416a..42abcda 100644
--- a/board/atc/atc.c
+++ b/board/atc/atc.c
@@ -207,14 +207,14 @@ const iop_conf_t iop_conf_tab[4][32] = {
* UPMB initialization table
*/
#define _NOT_USED_ 0xFFFFFFFF
-
+
static const uint rtc_table[] =
{
/*
* Single Read. (Offset 0 in UPMA RAM)
*/
- 0xfffec00, 0xfffac00, 0xfff2d00, 0xfef2800,
- 0xfaf2080, 0xfaf2080, 0xfff2400, 0x1fff6c05, /* last */
+ 0xfffec00, 0xfffac00, 0xfff2d00, 0xfef2800,
+ 0xfaf2080, 0xfaf2080, 0xfff2400, 0x1fff6c05, /* last */
/*
* Burst Read. (Offset 8 in UPMA RAM)
*/
@@ -225,7 +225,7 @@ static const uint rtc_table[] =
/*
* Single Write. (Offset 18 in UPMA RAM)
*/
- 0xfffec00, 0xfffac00, 0xfff2d00, 0xfef2800,
+ 0xfffec00, 0xfffac00, 0xfff2d00, 0xfef2800,
0xfaf2080, 0xfaf2080, 0xfaf2400, 0x1fbf6c05, /* last */
/*
* Burst Write. (Offset 20 in UPMA RAM)
@@ -244,8 +244,8 @@ static const uint rtc_table[] =
* Exception. (Offset 3c in UPMA RAM)
*/
_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
-};
-
+};
+
/* ------------------------------------------------------------------------- */
/* Check Board Identity:
@@ -366,13 +366,13 @@ int misc_init_r(void)
{
volatile immap_t *immap = (immap_t *) CFG_IMMR;
volatile memctl8260_t *memctl = &immap->im_memctl;
-
+
upmconfig(UPMA, (uint *)rtc_table, sizeof(rtc_table) / sizeof(uint));
- memctl->memc_mamr = MxMR_RLFx_6X | MxMR_WLFx_6X | MxMR_OP_NORM;
+ memctl->memc_mamr = MxMR_RLFx_6X | MxMR_WLFx_6X | MxMR_OP_NORM;
return (0);
}
-
+
long int initdram (int board_type)
{
volatile immap_t *immap = (immap_t *) CFG_IMMR;