Skip to content
Snippets Groups Projects
Commit 4c24e828 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen
Browse files

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: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent 66b7bc51
No related branches found
No related tags found
No related merge requests found
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
struct sdram_config { struct sdram_config {
/* Number of data bits. */ /* Number of data bits. */
enum { enum {
SDRAM_DATA_16BIT, SDRAM_DATA_16BIT = 16,
SDRAM_DATA_32BIT, SDRAM_DATA_32BIT = 32,
} data_bits; } data_bits;
/* Number of address bits */ /* Number of address bits */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment