soc/cavium/cn81xx: Enable RNG for DRAM init
commit6220f8d8338a17b0af5dde5d99d890fba7660cfe
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Fri, 22 Feb 2019 11:06:41 +0000 (22 12:06 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 26 Feb 2019 11:18:18 +0000 (26 11:18 +0000)
tree1793ba28fc0b0211b676b327799dcb4a7ddaf105
parentd569845964cb9769b8b6b423511c781a376be7e5
soc/cavium/cn81xx: Enable RNG for DRAM init

The Cavium DRAM init might use the RNG for pattern generation.
Initialize it before running DRAM init.

Tested on OpenCellular Elgon.
The RNG generates non identical numbers.

Change-Id: I886f920e9941793fb76b56cc5a24a42e23b082e0
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/31567
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
src/soc/cavium/cn81xx/sdram.c