diff options
author | heaterC <airyguy@gmx.de> | 2021-02-19 17:11:24 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-02-26 10:22:29 +0100 |
commit | 420e106ef17b78d3099d488b0c87cd821b93ff3a (patch) | |
tree | 4592b3ce922a7cdd4917a8f59f338bb77e7d82c0 /drivers/ddr/marvell | |
parent | a267943fd95bc5b077e02b3d266ee538a1973946 (diff) | |
download | u-boot-420e106ef17b78d3099d488b0c87cd821b93ff3a.tar.gz u-boot-420e106ef17b78d3099d488b0c87cd821b93ff3a.tar.bz2 u-boot-420e106ef17b78d3099d488b0c87cd821b93ff3a.zip |
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: heaterC <airyguy@gmx.de>
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Diffstat (limited to 'drivers/ddr/marvell')
-rw-r--r-- | drivers/ddr/marvell/a38x/ddr_topology_def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ddr/marvell/a38x/ddr_topology_def.h b/drivers/ddr/marvell/a38x/ddr_topology_def.h index 2cca5676a0..7f2317edfa 100644 --- a/drivers/ddr/marvell/a38x/ddr_topology_def.h +++ b/drivers/ddr/marvell/a38x/ddr_topology_def.h @@ -15,8 +15,8 @@ #define MV_DDR_MAX_IFACE_NUM 1 enum mv_ddr_twin_die { - COMBINED, NOT_COMBINED, + COMBINED, }; struct bus_params { |