[U-Boot-Users] [PATCH] Blackfin: unify common ADI board settings
    Wolfgang Denk 
    wd at denx.de
       
    Sun Jun  1 22:22:07 CEST 2008
    
    
  
In message <1212325908-7969-2-git-send-email-vapier at gentoo.org> you wrote:
> Rather than duplicate the same ADI settings in every ADI board, create a
> common ADI config header and have all ADI boards start using that.  This
> will also make merging the ~10 boards I have to forward port a lot easier.
...
> +#define SMC91111_EEPROM_INIT()	{ *pFIO_DIR = 0x01; *pFIO_FLAG_S = 0x01; SSYNC(); }
...
> +#define I2C_ACTIVE     do { *pFIO_DIR |= PF_SDA; *pFIO_INEN &= ~PF_SDA; SSYNC(); } while (0)
> +#define I2C_TRISTATE   do { *pFIO_DIR &= ~PF_SDA; *pFIO_INEN |= PF_SDA; SSYNC(); } while (0)
...
> +#define CFG_MONITOR_LEN		(256 * 1024)	/* Reserve 256 kB for monitor */
> +#define CFG_MALLOC_LEN		(384 * 1024)	/* Reserve 384 kB for malloc() (video/spi are big) */
etc. Many lines are much too long...
Best regards,
Wolfgang Denk
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Peace was the way.
	-- Kirk, "The City on the Edge of Forever", stardate unknown
    
    
More information about the U-Boot
mailing list