1. 24 6月, 2010 4 次提交
  2. 23 6月, 2010 10 次提交
  3. 21 6月, 2010 2 次提交
  4. 20 6月, 2010 2 次提交
    • W
      net/eth.c: eth_mac_skip() is only needed when CONFIG_NET_MULTI is set · 9c00b2f0
      Wolfgang Denk 提交于
      Move it inside the #ifdef CONFIG_NET_MULTI to avoid
      
      	eth.c:64: warning: 'eth_mac_skip' defined but not used
      
      messages from anumber of old, non-CONFIG_NET_MULTI boards.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      9c00b2f0
    • W
      include/compiler.h: remove redundant declaration of errno · 9312bba0
      Wolfgang Denk 提交于
      Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
      a "#include <errno.h>" and a "extern int errno;" to include/compiler.h
      which is causing build warnings for some systems, for example for the
      "netstar" board:
      
      	In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
      	include/compiler.h:28: warning: function declaration isn't a prototype
      
      The declaration of "errno" should be redundant, as <errno.h> is
      supposed to provide a correct declaration, so drop it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      9312bba0
  5. 18 6月, 2010 9 次提交
  6. 17 6月, 2010 3 次提交
  7. 15 6月, 2010 3 次提交
  8. 14 6月, 2010 7 次提交
    • A
      video: sm501.c: add weak default functions · f0a92151
      Anatolij Gustschin 提交于
      For boards using sm501/sm502 on PCI bus some driver
      functions normaly defined in the board code are not
      needed and empty. Provide weak default functions for
      them and do not enforce board code to define empty
      functions.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      f0a92151
    • A
      e2bee9e3
    • A
      video: cfb_console: add weak default video_set_lut() · 10543820
      Anatolij Gustschin 提交于
      Do not enforce drivers to provide empty video_set_lut()
      if they do not implement indexed color (8 bpp) frame
      buffer support. Add default function to the cfb_console
      driver and remove empty video_set_lut() functions.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      10543820
    • W
      Makefile/mkconfig: read simple board configurations from boards.cfg · a6862bc1
      Wolfgang Denk 提交于
      Instead of adding explicit build rules for each and every board to the
      top level Makefile (which makes it grow and grow), we now provide a
      simple default rule and extend the "mkconfig" script to read board
      configurations from a plain text file (table), "boards.cfg".
      
      For simple boards it is now sufficient to add a single line of text to
      the "boards.cfg" file, no changes to the top level Makefile are needed
      any more.
      
      To make the table better readable, change the notation for unused
      fields from "NULL" into "-".
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      a6862bc1
    • W
      Makefile: simplify handling of common board configurations · 8c994630
      Wolfgang Denk 提交于
      Many boards don't need any special handling in the Makefile. Try and
      provide as generic make rules for these as possible.  There are still
      many areas where this does not work out really well, but the changes
      show the direction we should take, and point out which boards or
      architectures need further cleanup.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      8c994630
    • W
      Makefile: simplify handling of build target names · ed7a196c
      Wolfgang Denk 提交于
      Instead of stripping the "_config" part from the make target names in
      each call of the "mkconfig" script let this script strip the string.
      
      This prepares the ground for forther simplification of the top level
      Makefile.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      ed7a196c
    • W
      Fix printing of make targets, simplify Makefile · 0e42ada3
      Wolfgang Denk 提交于
      Make printing the "board names" more useful. So far, we would get
      output like this;
      
      $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Configuring for P1_P2_RDB board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      
      For all build targets the same board name would be printed, which
      makes is often pretty difficult to find out which exact build target
      caused problems. With this commit, the real make target name gets
      printed instead, which is way more useful:
      
      $ ./MAKEALL P2020RDB P2020RDB_NAND P2020RDB_SDCARD P2020RDB_SPIFLASH
      Configuring for P2020RDB board...
         text    data     bss     dec     hex filename
       342612   32656  265212  640480   9c5e0 /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_NAND board...
         text    data     bss     dec     hex filename
       343160   32704  265212  641076   9c834 /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_SDCARD board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Configuring for P2020RDB_SPIFLASH board...
         text    data     bss     dec     hex filename
       341908   32620  265212  639740   9c2fc /work/wd/tmp-ppc/u-boot
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NDetlev Zundel <dzu@denx.de>
      Tested-by: NThomas Chou <thomas@wytron.com.tw>
      0e42ada3