Skip to content
Snippets Groups Projects
Commit 420e106e authored by heaterC's avatar heaterC Committed by Stefan Roese
Browse files

ddr: marvell: a38x: enum mv_ddr_twin_die: change order


commit 56db5d1464b44df10a02b99e615ebd6f6a35c428 upstream.

@pali suggested this change
In commit 6285efb ("mv_ddr: add support for twin-die combined memory
device") was added support for twin-die combined memory device and
default value for explicitly uninitialized structure members is zero, s
also twin_die_combined is initialized to zero. Which means COMBINED
value.
As prior this commit there was no support for twin-die combined memory
device, default value for twin_die_combined should be NOT_COMBINED. This
change change order of enum mv_ddr_twin_die to ensure that NOT_COMBINED
has value zero.

Signed-off-by: default avatarheaterC <airyguy@gmx.de>
Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
Tested-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
parent a267943f
No related branches found
No related tags found
Loading
Loading
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