1. 18 Oct, 2010 9 commits
    • Wolfgang Denk's avatar
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      14d0a02a
    • Wolfgang Denk's avatar
      mkconfig: change CONFIG_MK_ prefix into plain CONFIG_ · d24f2d32
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      d24f2d32
    • Marek Vasut's avatar
      Build: Add "board options" column to boards.cfg · 9329cdfb
      Marek Vasut authored
      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: default avatarMarek Vasut <marek.vasut@gmail.com>
      
      [wd@denx.de: edited commit message; added code to deal with an
      optional board configuration name]
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      9329cdfb
    • Wolfgang Denk's avatar
      Makefile: clean MatrixVision builds · 74c7a95f
      Wolfgang Denk authored
      "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: default avatarWolfgang Denk <wd@denx.de>
      74c7a95f
    • Kim Phillips's avatar
      mpc83xx: fix 837x MDS PCI HOST build · e2229352
      Kim Phillips authored
      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: default avatarKim Phillips <kim.phillips@freescale.com>
      e2229352
    • Wolfgang Denk's avatar
      MPC832XEMDS: fix pci.c build warning · ae188d48
      Wolfgang Denk authored
      Doubled use of DECLARE_GLOBAL_DATA_PTR caused compile warning:
      
      pci.c:71: warning: register used for two global register variables
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      ae188d48
    • Wolfgang Denk's avatar
      logodl: remove code for yet another corpse · 059e7782
      Wolfgang Denk authored
      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: default avatarWolfgang 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
    • Wolfgang Denk's avatar
      schmoogie: fix build error due to removal of forceenv() · b6e7bd97
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      Cc: Sergey Kubushyn <ksi@koi8.net>
      Acked-by: default avatarSergey Kubushyn <ksi@koi8.net>
      b6e7bd97
    • Wolfgang Denk's avatar
      FPGA: fix support for non-Lattice devices · 439f6f7e
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      439f6f7e
  2. 17 Oct, 2010 24 commits
  3. 15 Oct, 2010 2 commits
  4. 14 Oct, 2010 1 commit
  5. 13 Oct, 2010 4 commits