coreboot/src/soc/rockchip
Moritz Fischer d4f81bc21d soc/rockchip/rk3399/sdram: Use rank_mask in WDQL training
Add rank_mask based on the rank number and iterate based on that rather
than iterating all values.

Note: LPDDR4 uses a different rank mask.

Ported from u-boot.

Signed-off-by: Moritz Fischer <moritzf@google.com>
Change-Id: I1bff9d20d3d66984c49073aa21212708039d578f
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50888
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-02-20 00:55:00 +00:00
..
common soc/rockchip: Drop unneeded empty lines 2020-09-21 16:18:49 +00:00
rk3288 memlayout: Store region sizes as separate symbols 2021-02-19 08:39:26 +00:00
rk3399 soc/rockchip/rk3399/sdram: Use rank_mask in WDQL training 2021-02-20 00:55:00 +00:00
Kconfig soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00