1. 20 Sep, 2016 2 commits
  2. 20 Nov, 2015 1 commit
  3. 05 Nov, 2015 1 commit
  4. 10 Oct, 2014 1 commit
  5. 24 Sep, 2014 1 commit
    • Masahiro Yamada's avatar
      MAINTAINERS: comment out blank M: field · 535aad29
      Masahiro Yamada authored
      Since commit ddaf5c8f
      (patman: RunPipe() should not pipe stdout/stderr unless asked),
      Patman spits lots of "Invalid MAINTAINERS address: '-'"
      error messages for patches with global changes.
      It takes too long for Patman to process them.
      
      Anyway, "M:    -" does not carry any important information.
      Rather, it is just like a place holder in case of assigning
      a new board maintainer.  Let's comment out.
      
      This commit can be reproduced by the following command:
      
      find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      535aad29
  6. 13 Sep, 2014 1 commit
  7. 30 Jul, 2014 2 commits
    • Masahiro Yamada's avatar
      Add board MAINTAINERS files · 93d4334f
      Masahiro Yamada authored
      We have switched to Kconfig and the boards.cfg file is going to
      be removed. We have to retrieve the board status and maintainers
      information from it.
      
      The MAINTAINERS format as in Linux Kernel would be nice
      because we can crib the scripts/get_maintainer.pl script.
      
      After some discussion, we chose to put a MAINTAINERS file under each
      board directory, not the top-level one because we want to collect
      relevant information for a board into a single place.
      
      TODO:
      Modify get_maintainer.pl to scan multiple MAINTAINERS files.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: 's avatarTom Rini <trini@ti.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      93d4334f
    • Masahiro Yamada's avatar
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada authored
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      dd84058d
  8. 23 Jul, 2014 1 commit
    • Simon Glass's avatar
      stdio: Pass device pointer to stdio methods · 709ea543
      Simon Glass authored
      At present stdio device functions do not get any clue as to which stdio
      device is being acted on. Some implementations go to great lengths to work
      around this, such as defining a whole separate set of functions for each
      possible device.
      
      For driver model we need to associate a stdio_dev with a device. It doesn't
      seem possible to continue with this work-around approach.
      
      Instead, add a stdio_dev pointer to each of the stdio member functions.
      
      Note: The serial drivers have the same problem, but it is not strictly
      necessary to fix that to get driver model running. Also, if we convert
      serial over to driver model the problem will go away.
      
      Code size increases by 244 bytes for Thumb2 and 428 for PowerPC.
      
      22: stdio: Pass device pointer to stdio methods
             arm: (for 2/2 boards)  all +244.0  bss -4.0  text +248.0
         powerpc: (for 1/1 boards)  all +428.0  text +428.0
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
      Acked-by: 's avatarMarek Vasut <marex@denx.de>
      Reviewed-by: 's avatarMarek Vasut <marex@denx.de>
      709ea543
  9. 17 Nov, 2013 1 commit
  10. 08 Nov, 2013 1 commit
  11. 01 Nov, 2013 1 commit
  12. 24 Jul, 2013 1 commit
  13. 09 Jan, 2012 1 commit
  14. 15 Oct, 2011 1 commit
  15. 09 Dec, 2010 1 commit
    • Wolfgang Denk's avatar
      Remove redundant config.mk files · 263d5c2f
      Wolfgang Denk authored
      Recent cleanup actions resulted in a number of config.mk files that
      contained only redundant entries like
      
      	PLATFORM_CPPFLAGS += -I$(TOPDIR)
      
      or settings of variables that were not used anywhere in the code, like
      
      	TEXT_END  = 0xfe080000
      
      Remove these unnecessary files.
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      Cc: Scott McNutt <smcnutt@psyent.com>
      Cc: Wolfgang Wegner <w.wegner@astro-kom.de>
      Cc: Josef Wagner <Wagner@Microsys.de>
      Cc: Tolunay Orkun <torkun@nextio.com>
      Cc: Frank Panno <fpanno@delphintech.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Brad Kemp <Brad.Kemp@seranoa.com>
      Acked-by: Heiko Schocher<hs@denx.de>
      263d5c2f
  16. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: 's avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  17. 18 Oct, 2010 2 commits
    • Wolfgang Denk's avatar
      Makefile: move all Power Architecture boards into boards.cfg · 2ae18241
      Wolfgang Denk authored
      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: 's avatarWolfgang Denk <wd@denx.de>
      2ae18241
    • 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: 's avatarWolfgang Denk <wd@denx.de>
      14d0a02a
  18. 06 Oct, 2010 1 commit
  19. 03 Aug, 2010 1 commit
    • Wolfgang Denk's avatar
      Rename getenv_r() into getenv_f() · cdb74977
      Wolfgang Denk authored
      While running from flash, i. e. before relocation, we have only a
      limited C runtime environment without writable data segment. In this
      phase, some configurations (for example with environment in EEPROM)
      must not use the normal getenv(), but a special function.  This
      function had been called getenv_r(), with the idea that the "_r"
      suffix would mean the same as in the _r_eentrant versions of some of
      the C library functions (for example getdate vs. getdate_r, getgrent
      vs. getgrent_r, etc.).
      
      Unfortunately this was a misleading name, as in U-Boot the "_r"
      generally means "running from RAM", i. e. _after_ relocation.
      
      To avoid confusion, rename into getenv_f() [as "running from flash"]
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      Acked-by: 's avatarDetlev Zundel <dzu@denx.de>
      cdb74977
  20. 04 Jul, 2010 1 commit
    • Wolfgang Denk's avatar
      Make sure that argv[] argument pointers are not modified. · 54841ab5
      Wolfgang Denk authored
      The hush shell dynamically allocates (and re-allocates) memory for the
      argument strings in the "char *argv[]" argument vector passed to
      commands.  Any code that modifies these pointers will cause serious
      corruption of the malloc data structures and crash U-Boot, so make
      sure the compiler can check that no such modifications are being done
      by changing the code into "char * const argv[]".
      
      This modification is the result of debugging a strange crash caused
      after adding a new command, which used the following argument
      processing code which has been working perfectly fine in all Unix
      systems since version 6 - but not so in U-Boot:
      
      int main (int argc, char **argv)
      {
      	while (--argc > 0 && **++argv == '-') {
      /* ====> */	while (*++*argv) {
      			switch (**argv) {
      			case 'd':
      				debug++;
      				break;
      			...
      			default:
      				usage ();
      			}
      		}
      	}
      	...
      }
      
      The line marked "====>" will corrupt the malloc data structures and
      usually cause U-Boot to crash when the next command gets executed by
      the shell.  With the modification, the compiler will prevent this with
      an
      	error: increment of read-only location '*argv'
      
      N.B.: The code above can be trivially rewritten like this:
      
      	while (--argc > 0 && **++argv == '-') {
      		char *arg = *argv;
      		while (*++arg) {
      			switch (*arg) {
      			...
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      Acked-by: 's avatarMike Frysinger <vapier@gentoo.org>
      54841ab5
  21. 03 Oct, 2009 1 commit
  22. 18 Jul, 2009 1 commit
    • Wolfgang Denk's avatar
      PATI board: fix compiler warnings · d39041fc
      Wolfgang Denk authored
      Fix these:
      pati.c: In function 'checkboard':
      pati.c:358: warning: pointer targets in passing argument 2 of 'getenv_r' differ in signedness
      ../common/flash.c: In function 'write_word':
      ../common/flash.c:824: warning: dereferencing type-punned pointer will break strict-aliasing rules
      cmd_pati.c: In function 'do_pati':
      cmd_pati.c:279: warning: 'value' may be used uninitialized in this function
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      d39041fc
  23. 17 Jul, 2009 1 commit
    • Jean-Christophe PLAGNIOL-VILLARD's avatar
      stdio/device: rework function naming convention · 52cb4d4f
      Jean-Christophe PLAGNIOL-VILLARD authored
      So far the console API uses the following naming convention:
      
      	======Extract======
      	typedef struct device_t;
      
      	int	device_register (device_t * dev);
      	int	devices_init (void);
      	int	device_deregister(char *devname);
      	struct list_head* device_get_list(void);
      	device_t* device_get_by_name(char* name);
      	device_t* device_clone(device_t *dev);
      	=======
      
      which is too generic and confusing.
      
      Instead of using device_XX and device_t we change this
      into stdio_XX and stdio_dev
      
      This will also allow to add later a generic device mechanism in order
      to have support for multiple devices and driver instances.
      Signed-off-by: 's avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      
      Edited commit message.
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      52cb4d4f
  24. 12 Jun, 2009 1 commit
    • Wolfgang Denk's avatar
      General help message cleanup · a89c33db
      Wolfgang Denk authored
      Many of the help messages were not really helpful; for example, many
      commands that take no arguments would not print a correct synopsis
      line, but "No additional help available." which is not exactly wrong,
      but not helpful either.
      
      Commit ``Make "usage" messages more helpful.'' changed this
      partially. But it also became clear that lots of "Usage" and "Help"
      messages (fields "usage" and "help" in struct cmd_tbl_s respective)
      were actually redundant.
      
      This patch cleans this up - for example:
      
      Before:
      	=> help dtt
      	dtt - Digital Thermometer and Thermostat
      
      	Usage:
      	dtt         - Read temperature from digital thermometer and thermostat.
      
      After:
      	=> help dtt
      	dtt - Read temperature from Digital Thermometer and Thermostat
      
      	Usage:
      	dtt
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      a89c33db
  25. 28 Jan, 2009 1 commit
    • Peter Tyser's avatar
      Command usage cleanup · 2fb2604d
      Peter Tyser authored
      Remove command name from all command "usage" fields and update
      common/command.c to display "name - usage" instead of
      just "usage". Also remove newlines from command usage fields.
      Signed-off-by: 's avatarPeter Tyser <ptyser@xes-inc.com>
      2fb2604d
  26. 18 Oct, 2008 1 commit
  27. 10 Sep, 2008 1 commit
  28. 02 Jul, 2008 1 commit
  29. 12 Jun, 2008 1 commit
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      MPC8641HPCN.
      Signed-off-by: 's avatarBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
  30. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      53677ef1
  31. 03 Jul, 2007 1 commit
  32. 08 Oct, 2006 1 commit
  33. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  34. 12 Dec, 2005 1 commit
  35. 31 Aug, 2005 1 commit
  36. 03 Jan, 2004 2 commits
    • wdenk's avatar
      Patches by Stephan Linz, 11 Dec 2003: · c935d3bd
      wdenk authored
      - more documentation for NIOS port
      - new struct nios_pio_t, struct nios_spi_t
      - Reconfiguration for NIOS Development Kit DK1C20:
        o move board related code from board/dk1c20
          to board/altera/dk1c20
        o create a new common source path board/altera/common
          and move generic flash access stuff into it
        o change/expand configuration file DK1C20.h
      - Add support for NIOS Development Kit DK1S10
      - Add status LED support for NIOS systems
      - Add dual 7-segment LED support for Altera NIOS DevKits
      c935d3bd
    • wdenk's avatar
      * Patch by Ronen Shitrit, 10 Dec 2003: · 3a473b2a
      wdenk authored
        Add support for the Marvell DB64360 / DB64460 development boards
      
      * Patch by Detlev Zundel, 10 Dec 2003:
        fix dependency problem in examples/Makefile
      3a473b2a