1. 10 Nov, 2010 1 commit
  2. 29 Oct, 2010 8 commits
  3. 28 Oct, 2010 13 commits
    • Tanmay Upadhyay's avatar
      Kirkwood: bugfix: DRAM size initialization · 28e57108
      Tanmay Upadhyay authored
      If start of any DRAM bank is greater than total DDR size, remaining DDR banks' start address & size were left un-initialized in dram_init function. This could break other functions who uses array 'gd->bd->bi_dram'. Kirkwood network driver is one example. This also stops Linux kernel from booting.
      
      v2 - Set start address also to 0. Without this Linux kernel couldn't
           boot up
      Signed-off-by: default avatarTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
      28e57108
    • Prafulla Wadaskar's avatar
      kirkwood: get rid of config.mk files · 31d80c77
      Prafulla Wadaskar authored
      After moving the definition of CONFIG_SYS_TEXT_BASE to the respective
      board config files, all Marvell kirkwood board have just a single and
      common entry in their config.mk files:
      
      	KWD_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/kwbimage.cfg
      
      Replace the only reference to KWD_CONFIG in the top level Makefile by
      an equivalent setting, and remove all kirkwood config.mk files.
      
      Signed-off-by: Wolfgang Denk <wd at denx.de>
      Cc: Prafulla Wadaskar <prafulla at marvell.com>
      Cc: Siddarth Gore <gores at marvell.com>
      Cc: Simon Kagstrom <simon.kagstrom at netinsight.net>
      Cc: Heiko Schocher <hs at denx.de>
      Cc: Eric Cooper <ecc at cmu.edu>
      Acked-by: Wolfgang Denk <wd at denx.de>
      Signed-off-by: default avatarPrafulla Wadaskar <prafulla@marvell.com>
      31d80c77
    • Gray Remlin's avatar
      kirkwood: guruplug: Relocate NAND environment area · 5842383e
      Gray Remlin authored
      Current default options increase u-boot size to overlap the location of the environment in NAND, move environment higher up
      Signed-off-by: default avatarGray Remlin <g_remlin@rocketmail.com>
      5842383e
    • Shawn Guo's avatar
      mx51evk: support new relocation scheme · 1ab027cb
      Shawn Guo authored
      This patch is to fix build breakage and support new relocation
      scheme for mx51evk.
      
      - Correct IRAM base address and add size definition
      
        The IRAM starts from 0x1FFE0000 on final revsion i.mx51 than
        0x1FFE8000 which is for older revision.
      
      - Include imx-regs.h in mx51evk.h
      
        Definitions like CSD0_BASE_ADDR and IRAM_BASE_ADDR can be
        referred to.
      
      - Define CONFIG_SYS_INIT_RAM_ADDR and CONFIG_SYS_INIT_RAM_SIZE
      
        They are used to define init RAM layout.
      
      - Remove comment for CONFIG_SYS_GBL_DATA_SIZE which has been
        buried by Wolfgang's commit below
      
        25ddd1fb: Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value
      Signed-off-by: default avatarShawn Guo <shawn.gsc@gmail.com>
      1ab027cb
    • Shawn Guo's avatar
      mx51evk: consolidate env for mmcboot and netboot · 06982534
      Shawn Guo authored
      This patch is to consolidate default mx51evk env for two primary
      boot modes, mmcboot and netboot.
      
      It also cleans some unused env like netdev, uboot and redundant
      env like loadaddr since CONFIG_LOADADDR already defines it.
      Signed-off-by: default avatarShawn Guo <shawn.gsc@gmail.com>
      06982534
    • Shawn Guo's avatar
      mx51evk: Fix 2 hours reset issue · 888b4f43
      Shawn Guo authored
      The mx51evk u-boot has an issue that system will get reset
      every 2 hours.
      
      MC13892 has an inside charge timer which expires in 120 minutes.
      If ICHRG and CHGAUTOB are not set properly, this timer expiration
      will get system power recycled.
      
      Since mx51evk has no Li-Ion battery on board, the patch sets
      ICHRG in externally powered mode and sets CHGAUTOB bit to avoid
      automatic charging, so that system will not get reset by this
      timer expiration.
      
      The patch also corrects the bit field definition of register 48
      (Charger 0) per latest MC13892 Reference Manual.
      Signed-off-by: default avatarShawn Guo <shawn.gsc@gmail.com>
      888b4f43
    • Stefano Babic's avatar
      MX51: remove warning in clock.c · 9a004418
      Stefano Babic authored
      The patch removes the warning:
      
      clock.c:291: warning: initialization from incompatible pointer type
      
      after  constification of args[]
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      9a004418
    • Matthias Weisser's avatar
      imx25: Fix reset · 81129d07
      Matthias Weisser authored
      This patch fixes the reset command on imx25. The watchdog registers are 16
      bits in size and not 32. This patch also adds the service register codes as
      constants.
      Signed-off-by: default avatarMatthias Weisser <weisserm@arcor.de>
      81129d07
    • Jason Liu's avatar
      MX5:use common u-boot.lds of cpu layer · 95707aaa
      Jason Liu authored
      Remove u-boot.lds from mx5 and use the common u-boot.lds
      of cpu layer. This patch also fix the building errors:
      
      arch/arm/cpu/armv7/start.o: In function `_rel_dyn_start_ofs':
      arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_start'
      arch/arm/cpu/armv7/start.o: In function `_rel_dyn_end_ofs':
      arch/arm/cpu/armv7/start.S:283: undefined reference to `__rel_dyn_end'
      arch/arm/cpu/armv7/start.o: In function `_dynsym_start_ofs':
      arch/arm/cpu/armv7/start.S:283: undefined reference to `__dynsym_start'
      Signed-off-by: default avatarJason Liu <r64343@freescale.com>
      95707aaa
    • Stefano Babic's avatar
      MX51: add CONFIG_SYS_TEXT_BASE to vision2 board, use general ld script · 51fd9a7e
      Stefano Babic authored
      Recent patch changed TEXT_BASE to CONFIG_SYS_TEXT_BASE and
      vision2 board was not updated.
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      51fd9a7e
    • C Nauman's avatar
      Add generic support for samsung s3c2440 · d9abba82
      C Nauman authored
      This patch adds generic support for the Samsung s3c2440 processor.
      
      Global s3c24x0 changes to struct members converting from upper case to
      lower case.
      Signed-off-by: default avatarCraig Nauman <cnauman@diagraph.com>
      Cc: kevin.morfitt@fearnside-systems.co.uk
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      d9abba82
    • Mike Frysinger's avatar
      Blackfin: config.mk: drop manual stripping of config vars · 73520939
      Mike Frysinger authored
      Now that the common code takes care of stripping away quotes and such
      from numeric options, we no longer need to do so ourselves.  So drop
      the custom code we have in the Blackfin config.mk.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      73520939
    • Mike Frysinger's avatar
      Blackfin: fix building after asm-offsets.h intro · 1fde3eb2
      Mike Frysinger authored
      Since some of the defines in our config.h use the generated defines, we
      need to include the generated header.  This fixes building of the Blackfin
      start.S file (where the stack is setup).
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      1fde3eb2
  4. 27 Oct, 2010 12 commits
  5. 26 Oct, 2010 6 commits