From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 14 Jul 2008 14:16:09 +0200 Subject: [U-Boot-Users] [PATCH 1/1] v2: coding style cleaning for sc520_spunk In-Reply-To: <1216036336-4447-1-git-send-email-monstr@seznam.cz> References: <1216036336-4447-1-git-send-email-monstr@seznam.cz> Message-ID: <20080714121609.GA21260@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 13:52 Mon 14 Jul , monstr at seznam.cz wrote: > From: Michal Simek > > there are some long lines in config file > but this patches clean a lot of coding style issues > > There could be small problem with Daniel name. > Please check it in merge > > Signed-off-by: Michal Simek > --- > include/configs/sc520_spunk.h | 138 +++++++++++++++++++---------------------- > 1 files changed, 63 insertions(+), 75 deletions(-) > > diff --git a/include/configs/sc520_spunk.h b/include/configs/sc520_spunk.h > index 051b2e0..179ecdf 100644 > --- a/include/configs/sc520_spunk.h > +++ b/include/configs/sc520_spunk.h > @@ -1,6 +1,6 @@ > /* > * (C) Copyright 2002 > - * Daniel Engstr?m, Omicron Ceti AB, daniel at omicron.se. > + * Daniel Engstr???m, Omicron Ceti AB, daniel at omicron.se. > * > * See file CREDITS for list of people who contributed to this > * project. > @@ -12,7 +12,7 @@ > * > * This program is distributed in the hope that it will be useful, > * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Please do not modify generic licence header > * GNU General Public License for more details. > * > * You should have received a copy of the GNU General Public License > @@ -33,38 +33,36 @@ > * (easy to change) > */ > #define CONFIG_BOOTDELAY 15 > -#define CONFIG_BOOTARGS "root=/dev/mtdblock1 console=ttyS0,9600 " \ > - "mtdparts=phys:7936k(root),256k(uboot) " > -#define CONFIG_BOOTCOMMAND "setenv bootargs root=/dev/nfs ip=autoconf " \ > - "console=ttyS0,9600 " \ > - "mtdparts=phys:7808k(root),128k(env),256k(uboot);" \ > - "bootp;bootm" > +#define CONFIG_BOOTARGS "root=/dev/mtdblock1 console=ttyS0,9600 mtdparts=phys:7936k(root),256k(uboot) " > +#define CONFIG_BOOTCOMMAND "setenv bootargs root=/dev/nfs ip=autoconf console=ttyS0,9600 mtdparts=phys:7808k(root),128k(env),256k(uboot); bootp; bootm" too long, please let the previous way > > #if defined(CONFIG_CMD_KGDB) > #define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */ > #define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */ > #endif Please be carreful about the 80 characters limits Best Regards, J.