[U-Boot] [PATCH 8/8] PPC: Remove #ifdef DEBUG around step_to_string
Marek Vasut
marek.vasut at gmail.com
Mon Oct 3 02:57:30 CEST 2011
From: Marek Vasut <marex at pollux.denx.de>
This fixes a type-checking issue.
The growth of u-boot.bin isn't measurable here as the resulting
binary is always 512k big. But the u-boot executable is 500 bytes
bigger.
Signed-off-by: Marek Vasut <marex at pollux.denx.de>
---
arch/powerpc/cpu/mpc8xxx/ddr/main.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/main.c b/arch/powerpc/cpu/mpc8xxx/ddr/main.c
index 249fd7d..eb70535 100644
--- a/arch/powerpc/cpu/mpc8xxx/ddr/main.c
+++ b/arch/powerpc/cpu/mpc8xxx/ddr/main.c
@@ -132,7 +132,6 @@ void fsl_ddr_get_spd(generic_spd_eeprom_t *ctrl_dimms_spd,
* | interleaving
*/
-#ifdef DEBUG
const char *step_string_tbl[] = {
"STEP_GET_SPD",
"STEP_COMPUTE_DIMM_PARMS",
@@ -153,7 +152,6 @@ const char * step_to_string(unsigned int step) {
return step_string_tbl[s];
}
-#endif
int step_assign_addresses(fsl_ddr_info_t *pinfo,
unsigned int dbw_cap_adj[],
--
1.7.6.2
More information about the U-Boot
mailing list