summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx/44x_spd_ddr2.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-11 13:10:56 +0200
committerStefan Roese <sr@denx.de>2008-07-11 13:18:14 +0200
commit69e2c6d0d13d7c8cf1612ac090bdc4c59ba6858e (patch)
treec253487f73bda6c6c8fea0982b72c12d58c445cd /cpu/ppc4xx/44x_spd_ddr2.c
parent6bd9138498c2e4f4f09190108b99157d1b2140b5 (diff)
downloadu-boot-imx-69e2c6d0d13d7c8cf1612ac090bdc4c59ba6858e.zip
u-boot-imx-69e2c6d0d13d7c8cf1612ac090bdc4c59ba6858e.tar.gz
u-boot-imx-69e2c6d0d13d7c8cf1612ac090bdc4c59ba6858e.tar.bz2
ppc4xx: Fix compile warning in 44x_spd_ddr2.c
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/44x_spd_ddr2.c')
-rw-r--r--cpu/ppc4xx/44x_spd_ddr2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/44x_spd_ddr2.c b/cpu/ppc4xx/44x_spd_ddr2.c
index 65dd5d9..ec1765e 100644
--- a/cpu/ppc4xx/44x_spd_ddr2.c
+++ b/cpu/ppc4xx/44x_spd_ddr2.c
@@ -60,7 +60,7 @@
"SDRAM_" #mnemonic, SDRAM_##mnemonic, data); \
} while (0)
-static void ppc4xx_ibm_ddr2_register_dump(void);
+static inline void ppc4xx_ibm_ddr2_register_dump(void);
#if defined(CONFIG_SPD_EEPROM)
@@ -3078,7 +3078,7 @@ phys_size_t initdram(int board_type)
}
#endif /* CONFIG_SPD_EEPROM */
-static void ppc4xx_ibm_ddr2_register_dump(void)
+static inline void ppc4xx_ibm_ddr2_register_dump(void)
{
#if defined(DEBUG)
printf("\nPPC4xx IBM DDR2 Register Dump:\n");