1. 08 Feb, 2017 1 commit
  2. 20 Jan, 2017 2 commits
  3. 04 Dec, 2016 5 commits
  4. 24 Oct, 2016 1 commit
  5. 22 Jul, 2016 1 commit
    • Michal Simek's avatar
      api: Disable api_net when DM is used · 21181578
      Michal Simek authored
      When CONFIG_API is selected with DM_ETH this
      error is present:
      api/api_net.c: In function 'dev_enum_net':
      api/api_net.c:61:35: warning: initialization from incompatible pointer
        struct eth_device *eth_current = eth_get_dev();
      api/api_net.c:68:39: error: dereferencing pointer to incomplete type
        memcpy(di->di_net.hwaddr, eth_current->enetaddr, 6);
      Disable api_net functions when ETH_DM is selected.
      Signed-off-by: default avatarChris Johns <chrisj@rtems.org>
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
  6. 20 May, 2016 1 commit
  7. 17 May, 2016 1 commit
  8. 14 Mar, 2016 2 commits
  9. 08 Mar, 2016 1 commit
  10. 08 Feb, 2016 1 commit
  11. 14 Jan, 2016 1 commit
  12. 15 Sep, 2015 1 commit
    • Andreas Färber's avatar
      api_storage: Fix non-first storage device enumeration · ce2a07b7
      Andreas Färber authored
      When enabling CONFIG_API and chain-loading GRUB2 on jetson-tk1, only the
      eMMC would show up as (hd0), but not the SD card, leading to GRUB not
      finding its configuration and modules, falling back to a rescue shell.
      This is because enum_ended would get set for !more after returning a
      cookie for the first MMC device in group 3.
      Fix this by properly setting the "more" argument also in the case of the
      first storage device of a group.
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
  13. 18 Apr, 2015 1 commit
  14. 21 Aug, 2014 1 commit
  15. 07 Mar, 2014 1 commit
    • Masahiro Yamada's avatar
      powerpc: mpc8260: consolidate CONFIG_MPC8260 and CONFIG_8260 · 58dac327
      Masahiro Yamada authored
      Before this commit, CONFIG_MPC8260 and CONFIG_8260
      were used mixed-up.
      All boards with mpc8260 cpu defined both of them:
        - CONFIG_MPC8260 was defined in board config headers
            and include/common.h
        - CONFIG_8260 was defined arch/powerpc/cpu/mpc8260/config.mk
      We do not need to have both of them.
      This commit keeps only CONFIG_MPC8260.
      This commit does:
       - Delete CONFIG_8260 and CONFIG_MPC8260 definition
         in config headers and include/common.h
       - Rename CONFIG_8260 to CONFIG_MPC8260
          in arch/powerpc/cpu/mpc8260/config.mk.
       - Rename #ifdef CONFIG_8260 to #ifdef CONFIG_MPC8260
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Wolfgang Denk <wd@denx.de>
  16. 25 Nov, 2013 2 commits
  17. 01 Nov, 2013 1 commit
  18. 24 Jul, 2013 1 commit
  19. 15 May, 2013 1 commit
  20. 21 Mar, 2013 1 commit
  21. 15 Nov, 2011 1 commit
  22. 05 Oct, 2011 1 commit
    • Mike Frysinger's avatar
      net: drop !NET_MULTI code · e2a53458
      Mike Frysinger authored
      This is long over due.  All but two net drivers have been converted, but
      those have now been dropped.
      The only thing left to do is actually delete all references to NET_MULTI
      and code that is compiled when that is not defined.  So here we scrub the
      core code.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
  23. 28 Nov, 2010 1 commit
  24. 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
      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
      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: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
  25. 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':
      				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
      	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: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
  26. 21 Apr, 2010 1 commit
  27. 22 Jul, 2009 1 commit
  28. 12 Jun, 2009 1 commit
  29. 15 May, 2009 1 commit
  30. 18 Oct, 2008 1 commit
  31. 14 Oct, 2008 2 commits
  32. 10 Sep, 2008 1 commit