diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-02-09 17:52:54 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-02-09 17:52:54 +0000 |
commit | c4ddbff70621449606fa3f0a1ad8277fac0f5aeb (patch) | |
tree | 603222e5e54f62b47219b1477efc4bfccf8a65fa /src/cpu/amd/model_fxx | |
parent | 4505948faec7cc30edb9daebf53ca006d4a1645a (diff) |
Remove some warnings, mainly from format strings which didn't match the
arguments.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3931 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_fxx')
-rw-r--r-- | src/cpu/amd/model_fxx/model_fxx_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c index 7c13d7fe67..3bccfe0d83 100644 --- a/src/cpu/amd/model_fxx/model_fxx_init.c +++ b/src/cpu/amd/model_fxx/model_fxx_init.c @@ -231,7 +231,7 @@ static inline void clear_2M_ram(unsigned long basek, struct mtrr_state *mtrr_sta size = (limitk - basek) << 10; addr = map_2M_page(basek >> 11); if (addr == MAPPING_ERROR) { - printk_err("Cannot map page: %x\n", basek >> 11); + printk_err("Cannot map page: %lx\n", basek >> 11); return; } @@ -312,7 +312,7 @@ static void init_ecc_memory(unsigned node_id) begink = CONFIG_LB_MEM_TOPK; } - printk_debug("Clearing memory %uK - %uK: ", begink, endk); + printk_debug("Clearing memory %luK - %luK: ", begink, endk); /* Save the normal state */ save_mtrr_state(&mtrr_state); @@ -465,7 +465,9 @@ static inline void k8_errata(void) extern void model_fxx_update_microcode(unsigned cpu_deviceid); int init_processor_name(void); +#if CONFIG_USBDEBUG_DIRECT static unsigned ehci_debug_addr; +#endif void model_fxx_init(device_t dev) { |