From: Wolfgang Denk Date: Tue, 06 May 2008 21:33:08 +0200 Subject: [U-Boot-Users] [PATCH 09/21] AT91SAM9261EK support In-Reply-To: Your message of "Tue, 06 May 2008 17:33:31 +0200." <1210088022-25757-10-git-send-email-stelian@popies.net> Message-ID: <20080506193308.BDBFB247F5@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 In message <1210088022-25757-10-git-send-email-stelian@popies.net> you wrote: > > diff --git a/board/atmel/at91sam9261ek/Makefile b/board/atmel/at91sam9261ek/Makefile > new file mode 100644 > index 0000000..5e4904c > --- /dev/null > +++ b/board/atmel/at91sam9261ek/Makefile > @@ -0,0 +1,53 @@ > +# > +# (C) Copyright 2003-2008 > +# Wolfgang Denk, DENX Software Engineering, wd denx.de. Your (C) missing, mine is mangled again. Please fix. > diff --git a/board/atmel/at91sam9261ek/partition.c b/board/atmel/at91sam9261ek/partition.c > new file mode 100644 > index 0000000..a8a5fe6 > --- /dev/null > +++ b/board/atmel/at91sam9261ek/partition.c > @@ -0,0 +1,38 @@ > +/* > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of > + * the License, or (at your option) any later version. (C) missing. > diff --git a/board/atmel/at91sam9261ek/u-boot.lds b/board/atmel/at91sam9261ek/u-boot.lds > new file mode 100644 > index 0000000..05a6d83 > --- /dev/null > +++ b/board/atmel/at91sam9261ek/u-boot.lds > @@ -0,0 +1,57 @@ > +/* > + * (C) Copyright 2002 > + * Gary Jennejohn, DENX Software Engineering, denx.de> Please add your own (C), and don't meddle with Gary's. > diff --git a/include/asm-arm/arch-at91sam9/at91sam9261.h b/include/asm-arm/arch-at91sam9/at91sam9261.h > new file mode 100644 > index 0000000..c7c4778 > --- /dev/null > +++ b/include/asm-arm/arch-at91sam9/at91sam9261.h > @@ -0,0 +1,105 @@ > +/* > + * include/asm-arm/arch-at91/at91sam9261.h > + * > + * Copyright (C) SAN People Who exactly is "SAN People" ? > diff --git a/include/asm-arm/arch-at91sam9/at91sam9261_matrix.h b/include/asm-arm/arch-at91sam9/at91sam9261_matrix.h > new file mode 100644 > index 0000000..6f07242 > --- /dev/null > +++ b/include/asm-arm/arch-at91sam9/at91sam9261_matrix.h > @@ -0,0 +1,62 @@ > +/* > + * include/asm-arm/arch-at91/at91sam9261_matrix.h > + * > + * Memory Controllers (MATRIX, EBI) - System peripherals registers. > + * Based on AT91SAM9261 datasheet revision D. (C) missing. > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + */ > + > +#ifndef AT91SAM9261_MATRIX_H > +#define AT91SAM9261_MATRIX_H > + > +#define AT91_MATRIX_MCFG (AT91_MATRIX + 0x00) /* Master Configuration Register */ > +#define AT91_MATRIX_RCB0 (1 << 0) /* Remap Command for AHB Master 0 (ARM926EJ-S Instruction Master) */ > +#define AT91_MATRIX_RCB1 (1 << 1) /* Remap Command for AHB Master 1 (ARM926EJ-S Data Master) */ Line length!!! > diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h > new file mode 100644 > index 0000000..cdafed3 > --- /dev/null > +++ b/include/configs/at91sam9261ek.h ... > +#define CONFIG_BOOTARGS "console=ttyS0,115200 " \ > + "root=/dev/mtdblock5 " \ > + "mtdparts=at91_nand:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,2M(linux),-(root) " \ Line length!!! 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 A well-written program is its own heaven; a poorly-written program is its own hell. -- Geoffrey James, "The Tao of Programming"