From 9d5028c2f7a65d3777867a6cfc966a01a5823132 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 21 Nov 2004 00:06:33 +0000 Subject: * Update for AT91RM9200DK and CMC_PU2 boards: - Enable booting directly from flash - fix CMC_PU2 flash driver * Fix mkimage usage message --- common/cmd_bootm.c | 14 +++++++------- common/soft_i2c.c | 4 ++++ 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'common') diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 43ea5f1..356a2a4 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -449,8 +449,8 @@ U_BOOT_CMD( bootm, CFG_MAXARGS, 1, do_bootm, "bootm - boot application image from memory\n", "[addr [arg ...]]\n - boot application image stored in memory\n" - " passing arguments 'arg ...'; when booting a Linux kernel,\n" - " 'arg' can be the address of an initrd image\n" + "\tpassing arguments 'arg ...'; when booting a Linux kernel,\n" + "\t'arg' can be the address of an initrd image\n" ); #ifdef CONFIG_SILENT_CONSOLE @@ -574,11 +574,11 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag, kbd->bi_intfreq /= 1000000L; kbd->bi_busfreq /= 1000000L; #if defined(CONFIG_MPC8220) - kbd->bi_inpfreq /= 1000000L; - kbd->bi_pcifreq /= 1000000L; - kbd->bi_pevfreq /= 1000000L; - kbd->bi_flbfreq /= 1000000L; - kbd->bi_vcofreq /= 1000000L; + kbd->bi_inpfreq /= 1000000L; + kbd->bi_pcifreq /= 1000000L; + kbd->bi_pevfreq /= 1000000L; + kbd->bi_flbfreq /= 1000000L; + kbd->bi_vcofreq /= 1000000L; #endif #if defined(CONFIG_8260) || defined(CONFIG_MPC8560) kbd->bi_cpmfreq /= 1000000L; diff --git a/common/soft_i2c.c b/common/soft_i2c.c index 9a10b31..f7ca498 100644 --- a/common/soft_i2c.c +++ b/common/soft_i2c.c @@ -29,6 +29,10 @@ #ifdef CONFIG_MPC8260 /* only valid for MPC8260 */ #include #endif +#ifdef CONFIG_AT91RM9200DK /* need this for the at91rm9200dk */ +#include +#include +#endif #include #if defined(CONFIG_SOFT_I2C) -- cgit v1.1