Skip to content
Snippets Groups Projects
  1. Oct 27, 2010
    • Wolfgang Denk's avatar
      Makefile: fix dependencies for building NAND_SPL · f0fee6a6
      Wolfgang Denk authored
      
      Building of NAND based boards failed sometimes (especially on MP
      systems) because of incorrect / missing dependencies.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Tested-by: default avatarHeiko Schocher <hs@denx.de>
      f0fee6a6
    • Wolfgang Denk's avatar
      make-asm-offsets: fix sed script · e4691f5e
      Wolfgang Denk authored
      
      When copying the "sed" script to generate the asm-offsets.h file from
      the Linux Kbuild script into the make-asm-offsets file I missed the
      fact that the former runs in a "make" context and thus uses double
      "$$" to escape a single "$", while the latter is a shell script, where
      this must not be done.  Unfortunately the problem did not show up
      during the initial tests on Power Architecture systems, but on ARM the
      generated asm-offsets.h was not correct.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Tested-by: default avatarHeiko Schocher <hs@denx.de>
      Tested-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      e4691f5e
    • Wolfgang Denk's avatar
      mcu25: fix out of tree building · f503d52a
      Wolfgang Denk authored
      
      Out of tree building of the Netstal mcu25 board failed like
      that:
      
      Configuring for mcu25 board...
      Assembler messages: Fatal error: can't create /work/wd/tmp-ppc/board/netstal/mcu25/../common/fixed_sdram.o: No such file or directory
      Assembler messages: Fatal error: can't create /work/wd/tmp-ppc/board/netstal/mcu25/../common/nm_bsp.o: No such file or directory
      
      Adapt (and simplify) the Makefile.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      f503d52a
    • Wolfgang Denk's avatar
      Revert "cmd_net: drop spurious comma in U_BOOT_CMD" · ec5c04cd
      Wolfgang Denk authored
      This commit causes build errors like this:
      
      cmd_net.c:301:1: error: macro "U_BOOT_CMD" requires 6 arguments, but only 5 given
      cmd_net.c:298: warning: data definition has no type or storage class
      cmd_net.c:298: warning: type defaults to 'int' in declaration of 'U_BOOT_CMD'
      
      This reverts commit 8f4cb77e.
      ec5c04cd
    • Wolfgang Denk's avatar
      post/drivers/i2c.c: fix compile error · 8343f8a7
      Wolfgang Denk authored
      
      Commit 7e263cea "post/i2c: Clean up detection logic" added a "const"
      qualifier to the declaration of i2c_addr_list[], missing the fact that
      the list gets modified later in the code, which results in build
      errors like these:
      
      i2c.c: In function 'i2c_post_test':
      i2c.c:88: error: assignment of read-only location
      
      Remove the incorrect "const".
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Heiko Schocher <hs@denx.de>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      8343f8a7
  2. Oct 26, 2010
  3. Oct 25, 2010
  4. Oct 24, 2010
    • Wolfgang Denk's avatar
      hcu4, hcu5: fix out of tree building · 1339657a
      Wolfgang Denk authored
      
      Out of tree building of the Netstal hcu4 and hcu5 boards failed like
      that:
      
      Assembler messages:
      Fatal error: can't create /work/wd/tmp-ppc/board/netstal/hcu4/../common/fixed_sdram.o: No such file or directory
      Assembler messages:
      Fatal error: can't create /work/wd/tmp-ppc/board/netstal/hcu4/../common/nm_bsp.o: No such file or directory
      make[1]: *** [/work/wd/tmp-ppc/board/netstal/hcu4/../common/fixed_sdram.o] Error 2
      
      Adapt (and simplify) the respective Makefiles.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      1339657a
    • Wolfgang Denk's avatar
      MPC8315ERD: fix build error · 1db3fca7
      Wolfgang Denk authored
      
      Commit 29c6fbe0 "MPC5121: Add USB EHCI support" renamed
      CONFIG_SYS_MPC8xxx_USB_ADDR into CONFIG_SYS_FSL_USB_ADDR but missed
      to update arch/powerpc/cpu/mpc83xx/cpu_init.c, resulting in:
      
      cpu_init.c: In function 'cpu_init_f':
      cpu_init.c:332: error: 'CONFIG_SYS_MPC8xxx_USB_ADDR' undeclared (first use in this function)
      cpu_init.c:332: error: (Each undeclared identifier is reported only once
      cpu_init.c:332: error: for each function it appears in.)
      make[1]: *** [/work/wd/tmp-ppc/arch/powerpc/cpu/mpc83xx/cpu_init.o] Error 1
      
      Fix this.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      1db3fca7
    • Wolfgang Denk's avatar
      VoVPN-GW_100MHz: drop unsupported board configuration · 26fe3d2b
      Wolfgang Denk authored
      
      The 100MHz configuation of the VoVPN-GW has never been supported, so
      drop it now.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      26fe3d2b
    • Wolfgang Denk's avatar
      lite5200b_PM: fix compile warning · bc5e1701
      Wolfgang Denk authored
      
      Fix warning:
      
      icecube.c: In function 'lite5200b_wakeup':
      icecube.c:83: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'void (*)(void)'
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      bc5e1701
  5. Oct 23, 2010
  6. Oct 22, 2010
    • Wolfgang Denk's avatar
      ehci-hcd.c: fix hanging under higher load · 09c83a45
      Wolfgang Denk authored
      
      This patch solves a problem with USB hanging under higher load on a
      i.MX31 board.  It falls into class of typical USB problems and fixes:
      if you don't understand the real cause, add a delay somewhere.
      
      The problem appeared after introduction of ELF relocation, which
      results in smaller code, which appears to run faster (probably because
      it fits better in the cache); turning off the instruction cache,
      adding debug printf()s and increasing the delay have all been found to
      make the problem go away.
      
      Moving the original "udelay(1)" up in the code to it's new place made
      the problem appear much less frequently. Increasing the delay to 2
      microseconds then made the code run reliably in all (hour-long) tests.
      To be on the safe side, we set it to 5 microseconds here.
      
      Signed-off-by: default avatarHeiko schocher <hs@denx.de>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Remy Bohmer <linux@bohmer.net>
      Cc: Stefano Babic <sbabic@denx.de>
      09c83a45
Loading