1. 31 May, 2016 1 commit
  2. 22 Dec, 2015 1 commit
    • Marek Vasut's avatar
      net: designware: Zap CONFIG_DW_AUTONEG · 4c9ae24f
      Marek Vasut authored
      This symbol is not used anywhere, so remove it. For spear600, remove
      it from the board file, since the symbol is not defined for spear600
      either.
      Signed-off-by: 's avatarMarek Vasut <marex@denx.de>
      Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      4c9ae24f
  3. 28 Aug, 2015 1 commit
  4. 18 Apr, 2015 1 commit
  5. 29 Oct, 2014 1 commit
    • Georges Savoundararadj's avatar
      kconfig: arm: introduce symbol for ARM CPUs · 2e07c249
      Georges Savoundararadj authored
      This commit introduces a Kconfig symbol for each ARM CPU:
      CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
      CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
      Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
      for CPU_ARM1176 and CPU_V7.
      
      For each target, the corresponding CPU is selected and the definition of
      SYS_CPU in the corresponding Kconfig file is removed.
      
      Also, it removes redundant "string" type in some Kconfig files.
      Signed-off-by: 's avatarGeorges Savoundararadj <savoundg@gmail.com>
      Acked-by: 's avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      2e07c249
  6. 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
  7. 13 Sep, 2014 1 commit
  8. 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
  9. 13 May, 2014 2 commits
  10. 19 Feb, 2014 1 commit
  11. 07 Feb, 2014 1 commit
    • Alexey Brodkin's avatar
      net/designware - switch driver to phylib usage · 92a190aa
      Alexey Brodkin authored
      With this change driver will benefit from existing phylib and thus
      custom phy functionality implemented in the driver will go away:
       * Instantiation of the driver is now much shorter - 2 parameters
      instead of 4.
       * Simplified phy management/functoinality in driver is replaced with
      rich functionality of phylib.
       * Support of custom phy initialization is now done with existing
      "board_phy_config".
      
      Note that after this change some previously used config options
      (driver-specific PHY configuration) will be obsolete and they are simply
      substituted with similar options of phylib.
      
      For example:
       * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled
      by default.
       * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy
      explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise
      automatically the first discovered on MDIO bus phy will be used
      
      I believe there's no need now in "doc/README.designware_eth" because
      user only needs to instantiate the driver with "designware_initialize"
      whose prototype exists in "include/netdev.h".
      
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Vipin Kumar <vipin.kumar@st.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mischa Jonker <mjonker@synopsys.com>
      Cc: Shiraz Hashim <shiraz.hashim@st.com>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Cc: Amit Virdi <amit.virdi@st.com>
      Cc: Sonic Zhang <sonic.zhang@analog.com>
      Signed-off-by: 's avatarAlexey Brodkin <abrodkin@synopsys.com>
      92a190aa
  12. 01 Nov, 2013 1 commit
  13. 24 Jul, 2013 1 commit
  14. 01 Apr, 2013 1 commit
    • York Sun's avatar
      Consolidate bool type · 472d5460
      York Sun authored
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      Signed-off-by: 's avatarYork Sun <yorksun@freescale.com>
      472d5460
  15. 04 Oct, 2012 1 commit
    • Stefan Roese's avatar
      ARM: Add X600 board support (SPEAr600 based) · 995b72dd
      Stefan Roese authored
      This patch adds support for the X600 SPEAr600 based board. Its also
      the first SPEAr600 board that uses the newly introduced SPEAr600
      SPL support. Xloader is not necessary any more. By using the new
      "u-boot.spr" make target, one image will generated containing both,
      U-Boot SPL (with mkimage header as needed by the SPEAr BootROM, and
      the main U-Boot with mkimage header.
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
      Cc: Amit Virdi <amit.virdi@st.com>
      Cc: Vipin Kumar <vipin.kumar@st.com>
      995b72dd
  16. 07 Jul, 2012 11 commits
  17. 15 Oct, 2011 1 commit
  18. 04 Aug, 2011 1 commit
  19. 26 Jul, 2011 1 commit
  20. 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
  21. 18 Oct, 2010 1 commit
    • 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
  22. 24 Jul, 2010 1 commit
  23. 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
  24. 21 Mar, 2010 1 commit
  25. 07 Mar, 2010 1 commit
  26. 23 Jan, 2010 3 commits