summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-09-10 18:20:28 +0000
committerwdenk <wdenk>2003-09-10 18:20:28 +0000
commit149dded2b178bc0fb62cb6f61b87968d914b580a (patch)
tree6322023840b11a7210e3030262dc5e6ee42953f0 /board
parent7152b1d0b3f8beec8c297d64664e41b4c4ef610a (diff)
downloadu-boot-imx-149dded2b178bc0fb62cb6f61b87968d914b580a.zip
u-boot-imx-149dded2b178bc0fb62cb6f61b87968d914b580a.tar.gz
u-boot-imx-149dded2b178bc0fb62cb6f61b87968d914b580a.tar.bz2
* Add support for USB Mass Storage Devices (BBB)
(tested with USB memory sticks only) * Avoid flicker on TRAB's VFD
Diffstat (limited to 'board')
-rw-r--r--board/mpc8260ads/mpc8260ads.c2
-rw-r--r--board/trab/trab.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/board/mpc8260ads/mpc8260ads.c b/board/mpc8260ads/mpc8260ads.c
index 98ae660..14a93be 100644
--- a/board/mpc8260ads/mpc8260ads.c
+++ b/board/mpc8260ads/mpc8260ads.c
@@ -238,7 +238,9 @@ int board_pre_init (void)
long int initdram (int board_type)
{
+#if CONFIG_ADSTYPE == CFG_PQ2FADS
vu_long *bcsr = (vu_long *)CFG_BCSR;
+#endif
volatile immap_t *immap = (immap_t *) CFG_IMMR;
volatile memctl8260_t *memctl = &immap->im_memctl;
volatile uchar *ramaddr, c = 0xff;
diff --git a/board/trab/trab.c b/board/trab/trab.c
index 029fbde..71b3cbe 100644
--- a/board/trab/trab.c
+++ b/board/trab/trab.c
@@ -105,6 +105,10 @@ int board_init ()
gpio->PGUP = 0x0;
gpio->OPENCR= 0x0;
+ /* suppress flicker of the VFDs */
+ gpio->MISCCR = 0x40;
+ gpio->PFCON |= (2<<12);
+
/* arch number of SAMSUNG-Board */
/* MACH_TYPE_SMDK2400 */
/* XXX this isn't really correct, but keep it for now */