1. 19 10月, 2010 11 次提交
    • W
      Makefile: move all Power Architecture boards into boards.cfg · 2ae18241
      Wolfgang Denk 提交于
      Clean up Makefile, and drop a lot of the config.mk files on the way.
      
      We now also automatically pick all boards that are listed in
      boards.cfg (and with all configurations), so we can drop the redundant
      entries from MAKEALL to avoid building these twice.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      2ae18241
    • W
      autoconfig.mk: avoid apostophes around hex values · 2bad5df7
      Wolfgang Denk 提交于
      When generating include/autoconfig.mk, hex numbers would be quoted.
      This caused some false positives during automatic testing of the
      builds, and is known to cause some real issues for some Blackfin
      configurations. Don't use apostophes for decimal and hex numbers (nor
      for octal numbers).
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      2bad5df7
    • W
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk 提交于
      The change is currently needed to be able to remove the board
      configuration scripting from the top level Makefile and replace it by
      a simple, table driven script.
      
      Moving this configuration setting into the "CONFIG_*" name space is
      also desirable because it is needed if we ever should move forward to
      a Kconfig driven configuration system.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      14d0a02a
    • W
      mkconfig: change CONFIG_MK_ prefix into plain CONFIG_ · d24f2d32
      Wolfgang Denk 提交于
      When planning for more generalization and Makefile cleanup it became
      obvious that the introduction of a separate CONFIG_MK_ name space for
      config options that were set through scripting in the Makefile was
      not a good idea.
      
      Originally the idea was to provide a script-free approach to supply
      configuration options - there was no real need for a separate name
      space. But when we now convert the existing Makefile entries to make
      use of this approach, it would mean that we have to touch a large
      number of board config files and add #ifdef / #define sequences to
      "convert" from the CONFIG_MK_ to the CONFIG_ name space.
      
      It seems much cleaner to get rid of this somewhat arbitrary _MK
      string now for the few boards that actually use it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      d24f2d32
    • M
      Build: Add "board options" column to boards.cfg · 9329cdfb
      Marek Vasut 提交于
      There are some boards where it's currently not possible to detect all
      board information at runtime, therefore a new column was added to
      boards.cfg .
      
      This column can contain multiple options: a board configuration name,
      optionally followed by a colon (':') and a list of options, which are
      separated by comma (',').
      
      In case of simple options like '256M_U_BOOT', these expand to
      "#define CONFIG_MK_256M_U_BOOT 1" in config.h . In case of
      assignments like 'RAM=8192', these expand to "#define CONFIG_MK_RAM
      8192" in config.h .
      
      Example:
      
      	FOO:HAS_BAR,BAZ=64
      
      means:
      	- the name of the board config file is include/configs/FOO.h
      	- the generated file include/config.h will contain these
      	  lines:
      
      		#define CONFIG_HAS_BAR  1
      		#define CONFIG_BAZ  64
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      
      [wd@denx.de: edited commit message; added code to deal with an
      optional board configuration name]
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      9329cdfb
    • W
      Makefile: clean MatrixVision builds · 74c7a95f
      Wolfgang Denk 提交于
      "make clean" after builds of MatrixVision boards would leave stale
      files around:
      
      	board/matrix_vision/mvblm7/bootscript.img
      	board/matrix_vision/mvsmr/bootscript.img
      
      Fix this.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      74c7a95f
    • K
      mpc83xx: fix 837x MDS PCI HOST build · e2229352
      Kim Phillips 提交于
      commit 6aa3d3bf
      "83xx: Remove warmboot parameter from PCI init functions" missed
      one mpc83xx_pcie_init callsite, causing this build error:
      
      Configuring for MPC837XEMDS_HOST board...
      pci.c: In function 'pci_init_board':
      pci.c:141: error: too many arguments to function 'mpc83xx_pcie_init'
      
      this patch extends the commit to include that callsite.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      e2229352
    • W
      MPC832XEMDS: fix pci.c build warning · ae188d48
      Wolfgang Denk 提交于
      Doubled use of DECLARE_GLOBAL_DATA_PTR caused compile warning:
      
      pci.c:71: warning: register used for two global register variables
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      ae188d48
    • W
      logodl: remove code for yet another corpse · 059e7782
      Wolfgang Denk 提交于
      The logodl board has long been unmaintained and left broken.
      As obviously nobody is interestedin that code any more, we may as well
      remove it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: August Hoeraendl <august.hoerandl@gmx.at>
      Cc: Robert Schwebel <r.schwebel@pengutronix.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      059e7782
    • W
      schmoogie: fix build error due to removal of forceenv() · b6e7bd97
      Wolfgang Denk 提交于
      commit 6d014adf dropped support for the forceenv() function, but failed
      to remove references to it from board/davinci/schmoogie/schmoogie.c
      
      Replace forceenv() by setenv() and set CONFIG_ENV_OVERWRITE instead in
      the board config file to allow overwriting the serial number.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Sergey Kubushyn <ksi@koi8.net>
      Acked-by: NSergey Kubushyn <ksi@koi8.net>
      b6e7bd97
    • W
      FPGA: fix support for non-Lattice devices · 439f6f7e
      Wolfgang Denk 提交于
      Commit 3b8ac464 "FPGA: add support for downloading Lattice bitstream"
      added support for Lattice devices, but failed to add #ifdef's that are
      needed when building for non-Lattice devices, which results in build
      failures like these:
      
      Configuring for GEN860T board...
      drivers/fpga/libfpga.a(fpga.o): In function `fpga_dev_info':
      /home/wd/git/u-boot/work/drivers/fpga/fpga.c:145: undefined reference to `lattice_info'
      drivers/fpga/libfpga.a(fpga.o): In function `fpga_dump':
      /home/wd/git/u-boot/work/drivers/fpga/fpga.c:269: undefined reference to `lattice_dump'
      drivers/fpga/libfpga.a(fpga.o): In function `fpga_load':
      /home/wd/git/u-boot/work/drivers/fpga/fpga.c:233: undefined reference to `lattice_load'
      make: *** [u-boot] Error 1
      
      Add the missing code.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      439f6f7e
  2. 18 10月, 2010 24 次提交
  3. 15 10月, 2010 2 次提交
  4. 14 10月, 2010 3 次提交
    • L
      mx51evk: add u-boot.imx to ALL target · edad84c2
      Loic Minier 提交于
      Signed-off-by: NLoic Minier <loic.minier@linaro.org>
      CC: stefano babic <sbabic@denx.de>
      edad84c2
    • L
      env_mmc: fix cannot save env issue · e79f4839
      Lei Wen 提交于
      The env change its implementation after this log, while env mmc
      didn't change it immediately, which cause issue. Follow to the
      new style to fix it.
      
      commit ea882baf
      Author: Wolfgang Denk <wd@denx.de>
      Date:   Sun Jun 20 23:33:59 2010 +0200
      
          New implementation for internal handling of environment variables.
      Signed-off-by: NLei Wen <leiwen@marvell.com>
      e79f4839
    • S
      ns16550: Add WATCHDOG_RESET to putc for short watchdog timeout boards · 1a2d9b30
      Stefan Roese 提交于
      Call watchdog_reset() upon newline. This is done here in putc
      since the environment code uses a single puts() to print the complete
      envrironment upon "printenv". So we can't put this watchdog call
      in puts().
      
      This is needed for boards with a very short watchdog timeout, like the
      lwmon5 with a 100ms timeout. Without this patch this board resets in the
      commands with long outputs, like "printenv" or "fdt print".
      
      Note that the image size is not increased with this patch when
      CONFIG_HW_WATCHDOG or CONFIG_WATCHDOG are not defined since the compiler
      optimizes this additional code away.
      Signed-off-by: NStefan Roese <sr@denx.de>
      
      Fix typo in comment.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      1a2d9b30