]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/misc/aspeed_scu: Skipping dram_init in u-boot
authorJamin Lin <jamin_lin@aspeedtech.com>
Tue, 4 Mar 2025 06:47:03 +0000 (14:47 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 9 Mar 2025 13:36:53 +0000 (14:36 +0100)
commit2d082fea485ee455a70ed3e963cdf9a70f34858a
tree17dff4c36336fa1ad74bc8cb6e4191087cdc3195
parent8e002a693198865632f6bed072c5473a6bb9cf45
hw/misc/aspeed_scu: Skipping dram_init in u-boot

Setting BIT6 in VGA0 SCRATCH register will indicate that the ddr traning
is done, therefore skipping the u-boot-spl dram_init() process.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Nabih Estefan <nabihestefan@google.com>
Link: https://lore.kernel.org/qemu-devel/20250304064710.2128993-2-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/misc/aspeed_scu.c