[U-Boot-Users] [PATCH 1/1] Added preliminary support for the AT91SAM9263-EK. The following has been tested:

Wolfgang Denk wd at denx.de
Wed Apr 30 22:18:10 CEST 2008


In message <12095450983375-git-send-email-j.holzman at genesysdesign.com.au> you wrote:

Commit message missing.

Signed-off-by line missing.

> diff --git a/board/atmel/at91sam9263ek/Makefile b/board/atmel/at91sam9263ek/Makefile
> new file mode 100644
> index 0000000..ca87a4c
> --- /dev/null
> +++ b/board/atmel/at91sam9263ek/Makefile
> @@ -0,0 +1,53 @@
> +#
> +# (C) Copyright 2003-2008
> +# Wolfgang Denk, DENX Software Engineering, wd <at> denx.de.
> +#
> +# See file CREDITS for list of people who contributed to this
> +# project.

Please add your own Copyright message!

> diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c
> new file mode 100644
> index 0000000..b047209
> --- /dev/null
> +++ b/board/atmel/at91sam9263ek/at91sam9263ek.c
> @@ -0,0 +1,230 @@
> +/*
> + * (C) Copyright 2007-2008
> + * Stelian Pop <stelian.pop <at> leadtechdesign.com>
> + * Lead Tech Design <www.leadtechdesign.com>
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.

Ditto.

> diff --git a/board/atmel/at91sam9263ek/led.c b/board/atmel/at91sam9263ek/led.c
> new file mode 100644
> index 0000000..2a71d61
> --- /dev/null
> +++ b/board/atmel/at91sam9263ek/led.c
> @@ -0,0 +1,78 @@
> +/*
> + * (C) Copyright 2007-2008
> + * Stelian Pop <stelian.pop <at> leadtechdesign.com>
> + * Lead Tech Design <www.leadtechdesign.com>
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.

Ditto.

...
> +void power_LED_on(void)
> +{
> +	at91_set_gpio_value(POWER_LED, 1);
> +}
> +
> +void power_LED_off(void)
> +{
> +	at91_set_gpio_value(POWER_LED, 0);
> +}
> +
> +void user1_LED_on(void)
> +{
> +	at91_set_gpio_value(USER1_LED, 0);
> +}
..


This whole board/atmel/*/led.c stuff is a terrible mess and needs a
major cleanup one day.

Anybody volunteering? 

> diff --git a/board/atmel/at91sam9263ek/nand.c b/board/atmel/at91sam9263ek/nand.c
> new file mode 100644
> index 0000000..8c5b4b1
> --- /dev/null
> +++ b/board/atmel/at91sam9263ek/nand.c
> @@ -0,0 +1,76 @@
> +/*
> + * (C) Copyright 2007-2008
> + * Stelian Pop <stelian.pop <at> leadtechdesign.com>
> + * Lead Tech Design <www.leadtechdesign.com>
> + *
> + * (C) Copyright 2006 ATMEL Rousset, Lacressonniere Nicolas

Copyright entry...

> diff --git a/board/atmel/at91sam9263ek/partition.c b/board/atmel/at91sam9263ek/partition.c
> new file mode 100644
> index 0000000..389fb2c
> --- /dev/null
> +++ b/board/atmel/at91sam9263ek/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.

Ditto.

> diff --git a/board/atmel/at91sam9263ek/u-boot.lds b/board/atmel/at91sam9263ek/u-boot.lds
> new file mode 100644
> index 0000000..05a6d83
> --- /dev/null
> +++ b/board/atmel/at91sam9263ek/u-boot.lds
> @@ -0,0 +1,57 @@
> +/*
> + * (C) Copyright 2002
> + * Gary Jennejohn, DENX Software Engineering, <gj <at> denx.de>
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.

Ditto.

> diff --git a/include/asm-arm/arch-at91sam9/at91sam9263.h b/include/asm-arm/arch-at91sam9/at91sam9263.h
> new file mode 100644
> index 0000000..f91a357
> --- /dev/null
> +++ b/include/asm-arm/arch-at91sam9/at91sam9263.h
> @@ -0,0 +1,120 @@
> +/*
> + * include/asm-arm/arch-at91/at91sam9263.h
> + *
> + * (C) 2006 Andrew Victor

Hm. The Linux kernel has a file that's looking suspiciously similar,
but it reads:

	(C) 2007 Atmel Corporation.

Which one is correct?

> diff --git a/include/asm-arm/arch-at91sam9/at91sam9263_matrix.h b/include/asm-arm/arch-at91sam9/at91sam9263_matrix.h
> new file mode 100644
> index 0000000..c90f01a
> --- /dev/null
> +++ b/include/asm-arm/arch-at91sam9/at91sam9263_matrix.h
> @@ -0,0 +1,88 @@
> +/*
> + * include/asm-arm/arch-at91/at91sam9260_matrix.h
> + *
> + * Memory Controllers (MATRIX, EBI) - System peripherals registers.
> + * Based on AT91SAM9260 datasheet revision B.

Here the Linux file has

	Copyright (C) 2006 Atmel Corporation.

> diff --git a/include/asm-arm/arch-at91sam9/at91sam9263_mc.h b/include/asm-arm/arch-at91sam9/at91sam9263_mc.h
> new file mode 100644
> index 0000000..041138f
> --- /dev/null
> +++ b/include/asm-arm/arch-at91sam9/at91sam9263_mc.h
> @@ -0,0 +1,140 @@
> +/*
> + * include/asm-arm/arch-at91/at91sam926x_mc.h
> + *
> + * Memory Controllers (SMC, SDRAMC) - System peripherals registers.
> + * Based on AT91SAM9261 datasheet revision D.

Copyright ?

> diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h
> new file mode 100644
> index 0000000..3ae9846
> --- /dev/null
> +++ b/include/configs/at91sam9263ek.h
> @@ -0,0 +1,205 @@
> +/*
> + * (C) Copyright 2007-2008
> + * Stelian Pop <stelian.pop <at> leadtechdesign.com>
> + * Lead Tech Design <www.leadtechdesign.com>

Ditto ?


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
Change is the essential process of all existence.
	-- Spock, "Let That Be Your Last Battlefield",
	   stardate 5730.2




More information about the U-Boot mailing list