summaryrefslogtreecommitdiff
path: root/src/soc/sifive
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-03-24 01:23:31 +0100
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-11-10 15:32:33 +0000
commit1b2c03b9d84c110b4a895a2fcdc26d55888f93e5 (patch)
tree193cd767fdb049ee6afa3acfed39e8e3d30ba92d /src/soc/sifive
parentf3e4cec9195837ae6a6e6c62c2aded5b19f07d08 (diff)
soc/sifive/ux00ddr.h: Remove set but unused variables
It looks like this code was not finished so it's left commented out for now. Change-Id: I442a42e297f2968dd2c824a93a9a1e2bc74ea2f4 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63074 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/sifive')
-rw-r--r--src/soc/sifive/fu540/ux00ddr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/sifive/fu540/ux00ddr.h b/src/soc/sifive/fu540/ux00ddr.h
index cc675080dc..bf856f3621 100644
--- a/src/soc/sifive/fu540/ux00ddr.h
+++ b/src/soc/sifive/fu540/ux00ddr.h
@@ -176,10 +176,10 @@ static inline uint64_t ux00ddr_phy_fixup(size_t ahbregaddr) {
if (failc0 || failc1) {
//if (fails==0) uart_puts((void*) UART0_CTRL_ADDR, "DDR error in fixing up \n");
fails |= (1<<dq);
- char slicelsc = '0';
- char slicemsc = '0';
- slicelsc += (dq % 10);
- slicemsc += (dq / 10);
+ /* char slicelsc = '0'; */
+ /* char slicemsc = '0'; */
+ /* slicelsc += (dq % 10); */
+ /* slicemsc += (dq / 10); */
//uart_puts((void*) UART0_CTRL_ADDR, "S ");
//uart_puts((void*) UART0_CTRL_ADDR, &slicemsc);
//uart_puts((void*) UART0_CTRL_ADDR, &slicelsc);