From: Reinhard Meyer Date: Tue, 02 Nov 2010 17:34:36 +0100 Subject: [U-Boot] [PATCH] common/cmd_bdinfo.c: fix do_bdinfo() for AVR32 In-Reply-To: <1288695003-5427-1-git-send-email-biessmann@corscience.de> References: <1288695003-5427-1-git-send-email-biessmann@corscience.de> Message-ID: <4CD03D9C.6070703@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Andreas Bie?mann, Your e-Mail is: Content-Transfer-Encoding: quoted-printable That means ' ' comes as =20, '=' comes as =3D > There was a prototype change from do_bdinfo(.. char *) to do_bdinfo(.. char * > const). This patch respect this change for AVR32 architecture. > > Signed-off-by: Andreas Bie?mann > --- > common/cmd_bdinfo.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c > index bba7374..1d76ffa 100644 > --- a/common/cmd_bdinfo.c > +++ b/common/cmd_bdinfo.c > @@ -304,7 +304,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > > #elif defined(CONFIG_AVR32) > > -int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) > +int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > { > bd_t *bd = gd->bd; > I see that cmd_bdinfo.c has lots of coding style violations, but some architectures have them fixed. Could we at least fix them in the AVR32 part, if we touch it anyway? See the BLACKFIN example ;) Or is it OK to leave it as is? Wolfgang? Best Regards, Reinhard