From: Wolfgang Denk Date: Mon, 24 Aug 2009 12:08:11 +0200 Subject: [U-Boot] [PATCH 15/17] Move eNET low-level initialisation into asm In-Reply-To: <1250996401-13642-16-git-send-email-graeme.russ@gmail.com> References: <1250996401-13642-1-git-send-email-graeme.russ@gmail.com> <1250996401-13642-2-git-send-email-graeme.russ@gmail.com> <1250996401-13642-3-git-send-email-graeme.russ@gmail.com> <1250996401-13642-4-git-send-email-graeme.russ@gmail.com> <1250996401-13642-5-git-send-email-graeme.russ@gmail.com> <1250996401-13642-6-git-send-email-graeme.russ@gmail.com> <1250996401-13642-7-git-send-email-graeme.russ@gmail.com> <1250996401-13642-8-git-send-email-graeme.russ@gmail.com> <1250996401-13642-9-git-send-email-graeme.russ@gmail.com> <1250996401-13642-10-git-send-email-graeme.russ@gmail.com> <1250996401-13642-11-git-send-email-graeme.russ@gmail.com> <1250996401-13642-12-git-send-email-graeme.russ@gmail.com> <1250996401-13642-13-git-send-email-graeme.russ@gmail.com> <1250996401-13642-14-git-send-email-graeme.russ@gmail.com> <1250996401-13642-15-git-send-email-graeme.russ@gmail.com> <1250996401-13642-16-git-send-email-graeme.russ@gmail.com> Message-ID: <20090824100811.874A9833DBD2@gemini.denx.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 Graeme Russ, In message <1250996401-13642-16-git-send-email-graeme.russ@gmail.com> you wrote: > > --- a/board/eNET/hardware.h > +++ b/board/eNET/hardware.h > @@ -32,4 +32,20 @@ > #define LED_TX_BITMASK 0x10 > #define LED_ERR_BITMASK 0x20 > > +/* Serial Port Definitions */ > +#define UART0_BASE 0x3f8 > + > +#define UART_RBR 0x00 > +#define UART_THR 0x00 > +#define UART_IER 0x01 > +#define UART_IIR 0x02 > +#define UART_FCR 0x02 > +#define UART_LCR 0x03 > +#define UART_MCR 0x04 > +#define UART_LSR 0x05 > +#define UART_MSR 0x06 > +#define UART_SCR 0x07 > +#define UART_DLL 0x00 > +#define UART_DLM 0x01 Please remove all SPACE characters that preceed TAB characters (s/ *\t/\t/g) > --- a/include/asm-i386/ic/sc520.h > +++ b/include/asm-i386/ic/sc520.h > @@ -1,6 +1,6 @@ > /* > * (C) Copyright 2002 > - * Daniel Engstr?m, Omicron Ceti AB . > + * Daniel Engstr???m, Omicron Ceti AB . Please do not mess umlauts. > * See file CREDITS for list of people who contributed to this > * project. > @@ -134,7 +134,8 @@ typedef struct sc520_mmcr { > u16 gptmr0cnt; /* GP timer 0 count */ > u16 gptmr0maxcmpa; /* GP timer 0 maxcount compare A */ > u16 gptmr0maxcmpb; /* GP timer 0 maxcount compare B */ > - u16 gptmr1ctl; /* GP timer 1 mode/control */ > + u16 gptmr1ctl; /*#define SC520_SWTMRMILLI 0x > + GP timer 1 mode/control */ Your patch is line wrapped or otherwise corrupted. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de One friend in a lifetime is much; two are many; three are hardly possible. Friendship needs a certain parallelism of life, a community of thought, a rivalry of aim. - Henry Brook Adams