From: Haavard Skinnemoen Date: Sat, 30 Aug 2008 15:28:36 +0000 (+0200) Subject: avr32: data_bits should reflect the actual number of data bits X-Git-Tag: v2009.06-rc1~145^2~1^2~4^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c24e8288c601cb773ab02528b48a8577970e867;p=pandora-u-boot.git avr32: data_bits should reflect the actual number of data bits Make the data_bits enum in struct sdram_config reflect the actual number of data bits on the bus, i.e. 16 or 32. Having 0 mean 16 bits and 1 mean 32 bits is just too confusing. Signed-off-by: Haavard Skinnemoen --- diff --git a/include/asm-avr32/sdram.h b/include/asm-avr32/sdram.h index 7bdefc1fd24..762acfa078f 100644 --- a/include/asm-avr32/sdram.h +++ b/include/asm-avr32/sdram.h @@ -25,8 +25,8 @@ struct sdram_config { /* Number of data bits. */ enum { - SDRAM_DATA_16BIT, - SDRAM_DATA_32BIT, + SDRAM_DATA_16BIT = 16, + SDRAM_DATA_32BIT = 32, } data_bits; /* Number of address bits */