Fix Error: chip/lpc54_emc.c:421:12: error: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
27a7ff41b5
commit
d5fe952b17
@ -418,7 +418,6 @@ void lpc54_emc_sdram_initialize(
|
||||
/* Set the right mode setting value. */
|
||||
|
||||
data = *(volatile uint32_t *)addr;
|
||||
data = data;
|
||||
}
|
||||
|
||||
if (config->dyndev)
|
||||
@ -445,7 +444,6 @@ void lpc54_emc_sdram_initialize(
|
||||
/* Set the right mode setting value. */
|
||||
|
||||
data = *(volatile uint32_t *)addr;
|
||||
data = data;
|
||||
}
|
||||
}
|
||||
|
||||
@ -468,6 +466,8 @@ void lpc54_emc_sdram_initialize(
|
||||
regval |= EMC_DYNCONFIG_B;
|
||||
putreg32(regval, regaddr);
|
||||
}
|
||||
|
||||
UNUSED(data);
|
||||
}
|
||||
#endif /* CONFIG_LPC54_EMC_DYNAMIC */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user