diff options
| author | Moti Buskila <[email protected]> | 2021-02-19 17:11:22 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-02-26 10:22:29 +0100 |
| commit | 2ab7bbf71ef63ffb621312730232d6d1b9b9f92f (patch) | |
| tree | f7495914897288ea92e5777b21d1b4246eb03979 /scripts | |
| parent | b85c6fb065f2eea0d08402bda9394c4b3db6f753 (diff) | |
ddr: marvell: a38x: fix memory cs size function
commit c8b301463d508c807a33f7b7eaea98bbda4aa35e upstream.
The funtion returnd cs size in byte instead of MB, that cause
calculation error since the caller was expected to get u32 and when he
got above 4G it refers it as 0.
The fix was to get the cs memory size from function as in MB and then
multiply it by 1MB.
Signed-off-by: Moti Buskila <[email protected]>
Reviewed-by: Kostya Porotchkin <[email protected]>
Signed-off-by: Marek BehĂșn <[email protected]>
Tested-by: Chris Packham <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
