From: Marek Vasut Date: Mon, 3 Oct 2011 02:57:30 +0200 Subject: [U-Boot] [PATCH 8/8] PPC: Remove #ifdef DEBUG around step_to_string In-Reply-To: <1317603450-7527-1-git-send-email-marek.vasut@gmail.com> References: <1317603450-7527-1-git-send-email-marek.vasut@gmail.com> Message-ID: <1317603450-7527-9-git-send-email-marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Marek Vasut 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 --- 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