From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kumar Gala Date: Thu, 20 Jan 2011 01:50:25 -0600 Subject: [U-Boot] [PATCH v7] mpq101: initial support for Mercury Computer Systems MPQ101 board In-Reply-To: <25376.26093.qm@web37608.mail.mud.yahoo.com> References: <25376.26093.qm@web37608.mail.mud.yahoo.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Jan 19, 2011, at 11:02 PM, Alex Dubov wrote: > Mpq101 is a RapidIO development board in AMC form factor, featuring MPC8548 > processor, 512MB of hardwired DDR2 RAM, 128MB of hardwired NAND flash > memory, real time clock and additional serial EEPROM on i2c bus (enabled). > USB controller is available, but not presently enabled. > > Additional board information is available at: > http://www.mc.com/products/boards/ensemble_mpq101_rapidio_powerquicc_iii.aspx > > Environment is configured to precede the actual u-boot image so that it's > located at the beginning of flash erase block (made necessary by the recent > changes to the embedded environment handling). This is achieved by means of > custom ld script. > > Signed-off-by: Alex Dubov > --- > Cahnges for v7: > - Add CONFIG_SYS_BOOTM_LEN define > Changes for v6: > - Remove "1"s from feature defines and fix a SRIO ifdef in tlb.c > Changes for v5: > - Use new common SRIO configuration definitions. > - Replace initdram() with platform required fixed_sdram(). > - Don't use get_ram_size() in fixed_sdram() as TLBs are set after it exits > by common platform code. > Changes for v4: > - Replace config.mk supplied linker flags with custom linker script. > - Fix checkpatch errors. > Changes for v3: > - Use io accessor functions for all mmio accesses. > - Add configuration options for RTC and EEPROM on I2C buses. > Changes for v2: > - Remove some stale configuration code from board initialization functions. > > MAINTAINERS | 3 + > board/mercury/mpq101/Makefile | 53 ++++++ > board/mercury/mpq101/law.c | 52 +++++ > board/mercury/mpq101/mpq101.c | 129 +++++++++++++ > board/mercury/mpq101/tlb.c | 82 ++++++++ > board/mercury/mpq101/u-boot.lds | 132 +++++++++++++ > boards.cfg | 1 + > include/configs/mpq101.h | 393 +++++++++++++++++++++++++++++++++++++++ > 8 files changed, 845 insertions(+), 0 deletions(-) > create mode 100644 board/mercury/mpq101/Makefile > create mode 100644 board/mercury/mpq101/law.c > create mode 100644 board/mercury/mpq101/mpq101.c > create mode 100644 board/mercury/mpq101/tlb.c > create mode 100644 board/mercury/mpq101/u-boot.lds > create mode 100644 include/configs/mpq101.h Doesn't build for me: common/libcommon.o:(.sdata.env_ptr+0x0): undefined reference to `environment' make: *** [u-boot] Error 1 [galak at right u-boot-85xx]$ - k