* Add support for USB Mass Storage Devices (BBB)

(tested with USB memory sticks only)

* Avoid flicker on TRAB's VFD
This commit is contained in:
wdenk
2003-09-10 18:20:28 +00:00
parent 7152b1d0b3
commit 149dded2b1
35 changed files with 2532 additions and 57 deletions

View File

@@ -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;

View File

@@ -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 */