]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: dram_sun4i/5i: use DRAM_MEMORY_TYPE_DDR3 instead of magic number 3
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 2 Dec 2021 23:57:54 +0000 (00:57 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 30 Jan 2022 01:03:37 +0000 (01:03 +0000)
commitd0ffd15cffa1467bcc5537d255e0d57d5a1c0128
tree77b0139b0ebf610a136bc6b31cb6c042902ac848
parenteb31a4a141bf401f92426bd053a965022e47290d
sunxi: dram_sun4i/5i: use DRAM_MEMORY_TYPE_DDR3 instead of magic number 3

Since DRAM_MEMORY_TYPE_DDR3 is defined let's use it instead of magic
number 3.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/dram_sun4i_auto.c
board/sunxi/dram_sun5i_auto.c