From: Jean-Christophe PLAGNIOL-VILLARD Date: Thu, 24 Jul 2008 18:21:06 +0200 Subject: [U-Boot-Users] [PATCH] Add support for the hammerhead (AVR32) board In-Reply-To: <1216909006-20275-1-git-send-email-haavard.skinnemoen@atmel.com> References: <1216909006-20275-1-git-send-email-haavard.skinnemoen@atmel.com> Message-ID: <20080724162106.GA26611@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 16:16 Thu 24 Jul , Haavard Skinnemoen wrote: > From: Julien May > > The Hammerhead platform is built around a AVR32 32-bit microcontroller > from Atmel. It offers versatile peripherals, such as ethernet, usb > device, usb host etc. > > The board also incooperates a power supply and is a Power over Ethernet > (PoE) Powered Device (PD). > > Additonally, a Cyclone III FPGA from Altera is integrated on the board. > The FPGA is mapped into the 32-bit AVR memory bus. The FPGA offers two > DDR2 SDRAM interfaces, which will cover even the most exceptional need > of memory bandwidth. Together with the onboard video decoder the board > is ready for video processing. > > For more information see: http:///www.miromico.com/hammerhead > > Signed-off-by: Julien May > [haavard.skinnemoen at atmel.com: various small fixes and adaptions] > Signed-off-by: Haavard Skinnemoen > --- > MAINTAINERS | 5 + > MAKEALL | 1 + > Makefile | 3 + > board/miromico/hammerhead/Makefile | 40 +++++++ > board/miromico/hammerhead/config.mk | 3 + > board/miromico/hammerhead/hammerhead.c | 114 ++++++++++++++++++++ > board/miromico/hammerhead/u-boot.lds | 73 +++++++++++++ > cpu/at32ap/at32ap700x/sm.h | 2 +- > cpu/at32ap/cpu.c | 3 + > include/asm-avr32/arch-at32ap700x/clk.h | 1 + > include/configs/hammerhead.h | 172 +++++++++++++++++++++++++++++++ > 11 files changed, 416 insertions(+), 1 deletions(-) > create mode 100644 board/miromico/hammerhead/Makefile > create mode 100644 board/miromico/hammerhead/config.mk > create mode 100644 board/miromico/hammerhead/hammerhead.c > create mode 100644 board/miromico/hammerhead/u-boot.lds > create mode 100644 include/configs/hammerhead.h > > diff --git a/MAINTAINERS b/MAINTAINERS > index cbe5c47..bcac300 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -709,6 +709,11 @@ Haavard Skinnemoen > ATSTK1006 AT32AP7000 > ATNGW100 AT32AP7000 > > +Alex Raimondi > +Julien May IMHO, it's supposed to have only one board Maintainer > + > + HAMMERHEAD AT32AP7000 > + > ######################################################################### > # SuperH Systems: # > # # > diff --git a/cpu/at32ap/at32ap700x/sm.h b/cpu/at32ap/at32ap700x/sm.h > index 6492c8e..b6e4409 100644 > --- a/cpu/at32ap/at32ap700x/sm.h > +++ b/cpu/at32ap/at32ap700x/sm.h > @@ -21,7 +21,7 @@ > #define SM_PM_IMR 0x0048 > #define SM_PM_ISR 0x004c > #define SM_PM_ICR 0x0050 > -#define SM_PM_GCCTRL 0x0060 > +#define SM_PM_GCCTRL(x) (0x0060 + 4 * x) why do you modify? As I see it's never used. > #define SM_RTC_CTRL 0x0080 > #define SM_RTC_VAL 0x0084 > #define SM_RTC_TOP 0x0088 Best Regards, J.