mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user