diff options
| author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-30 17:28:36 +0200 | 
|---|---|---|
| committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-09-01 13:41:58 +0200 | 
| commit | 4c24e8288c601cb773ab02528b48a8577970e867 (patch) | |
| tree | 7efa82caa351fe68a6e7be401e8a0e37e735836b | |
| parent | 66b7bc5175325809718d8d49ef073bc1036ad71b (diff) | |
| download | olio-uboot-2014.01-4c24e8288c601cb773ab02528b48a8577970e867.tar.xz olio-uboot-2014.01-4c24e8288c601cb773ab02528b48a8577970e867.zip | |
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 <haavard.skinnemoen@atmel.com>
| -rw-r--r-- | include/asm-avr32/sdram.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/asm-avr32/sdram.h b/include/asm-avr32/sdram.h index 7bdefc1fd..762acfa07 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 */ |