]> git.sur5r.net Git - u-boot/blobdiff - arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c
serial: drop useless ctlr field
[u-boot] / arch / powerpc / cpu / ppc4xx / 44x_spd_ddr2.c
index cf9d66d5349d503affe845f5b7ce61760c4dab27..95df1d94c4713c8878eb3a8f504da665a6dfc2c4 100644 (file)
@@ -50,8 +50,6 @@
 
 #include "ecc.h"
 
-#if defined(CONFIG_SDRAM_PPC4xx_IBM_DDR2)
-
 #define PPC4xx_IBM_DDR2_DUMP_REGISTER(mnemonic)                                \
        do {                                                            \
                u32 data;                                               \
@@ -418,7 +416,6 @@ static void test(void);
 static void    DQS_calibration_process(void);
 #endif
 #endif
-int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
 
 static unsigned char spd_read(uchar chip, uint addr)
 {
@@ -3194,5 +3191,3 @@ inline void ppc4xx_ibm_ddr2_register_dump(void)
        PPC4xx_IBM_DDR2_DUMP_REGISTER(RTSR);
 #endif /* defined(DEBUG) */
 }
-
-#endif /* CONFIG_SDRAM_PPC4xx_IBM_DDR2 */