1. 05 11月, 2010 6 次提交
  2. 30 10月, 2010 3 次提交
  3. 28 10月, 2010 6 次提交
    • P
      kirkwood: get rid of config.mk files · 31d80c77
      Prafulla Wadaskar 提交于
      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: NPrafulla Wadaskar <prafulla@marvell.com>
      31d80c77
    • G
      kirkwood: guruplug: Relocate NAND environment area · 5842383e
      Gray Remlin 提交于
      Current default options increase u-boot size to overlap the location of the environment in NAND, move environment higher up
      Signed-off-by: NGray Remlin <g_remlin@rocketmail.com>
      5842383e
    • S
      mx51evk: support new relocation scheme · 1ab027cb
      Shawn Guo 提交于
      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: NShawn Guo <shawn.gsc@gmail.com>
      1ab027cb
    • S
      mx51evk: consolidate env for mmcboot and netboot · 06982534
      Shawn Guo 提交于
      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: NShawn Guo <shawn.gsc@gmail.com>
      06982534
    • S
      mx51evk: Fix 2 hours reset issue · 888b4f43
      Shawn Guo 提交于
      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: NShawn Guo <shawn.gsc@gmail.com>
      888b4f43
    • W
      Coding Style cleanup · 071bc923
      Wolfgang Denk 提交于
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      071bc923
  4. 27 10月, 2010 4 次提交
    • S
      Remove config.mk for da8xxevm based boards. · f760d14a
      Sughosh Ganu 提交于
      Move CONFIG_SYS_TEXT_BASE to the board's config file, and remove the
      now unnecessary config.mk file.
      Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com>
      Tested-by: NBen Gardiner <bengardiner@nanometrics.ca>
      f760d14a
    • W
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk 提交于
      CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
      being able to use "sizeof(struct global_data)" in assembler files.
      Recent experience has shown that manual synchronization is not
      reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
      GENERATED_GBL_DATA_SIZE which gets automatically generated by the
      asm-offsets tool.  In the result, all definitions of this value can be
      deleted from the board config files.  We have to make sure that all
      files that reference such data include the new <asm-offsets.h> file.
      
      No other changes have been done yet, but it is obvious that similar
      changes / simplifications can be done for other, related macro
      definitions as well.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
    • W
      include/asm-offsets.h: automatically generate assembler constants · 16a354f9
      Wolfgang Denk 提交于
      A recurrent issue is that certain C level constructs like sizeof() or
      offsetof() cannot be used in assembler files, which is inconvenient
      when such constructs are used in the definition of macro names etc.
      
      To avoid duplication of such definitions (and thus another cause of
      problems), we adapt the Linux way to automatically generate the
      respective definitions from the respective C header files.
      
      In Linux, this is implemented in include/linux/kbuild.h, Kbuild, and
      arch/*/kernel/asm-offsets.c; we adapt the code from the Linux v2.6.36
      kernel tree.
      
      We also copy the concept of the include/generated/ directory which can
      be used to hold other automatically generated files as well.
      
      We start with an architecture-independent lib/asm-offsets.c which
      generates include/generated/generic-asm-offsets.h (included by
      include/asm-offsets.h, which is what will be referred to in the actual
      source code).  Later this may be extended by architecture-specific
      arch/*/lib/asm-offsets.c files that will generate a
      include/generated/asm-offsets.h.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      16a354f9
    • W
      Rename CONFIG_SYS_INIT_RAM_END into CONFIG_SYS_INIT_RAM_SIZE · 553f0982
      Wolfgang Denk 提交于
      CONFIG_SYS_INIT_RAM_END was a misnomer as it suggests this might be
      some end address; to make the meaning more clear we rename it into
      CONFIG_SYS_INIT_RAM_SIZE
      
      No other code changes are performed in this patch, only minor editing
      of white space (due to the changed length) and the comments was done,
      where noticed.
      
      Note that the code for the PATI and cmi_mpc5xx board configurations
      looks seriously broken.  Last known maintainers on Cc:
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Martin Winistoerfer <martinwinistoerfer@gmx.ch>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      553f0982
  5. 26 10月, 2010 1 次提交
  6. 25 10月, 2010 1 次提交
  7. 24 10月, 2010 2 次提交
  8. 22 10月, 2010 17 次提交