Skip to content
Snippets Groups Projects
  1. Aug 15, 2013
  2. Jul 24, 2013
  3. Jun 26, 2013
  4. Jun 24, 2013
  5. Jun 10, 2013
    • Tom Rini's avatar
      arm: Remove OMAP2420H4 and all omap24xx support · 7f5eef93
      Tom Rini authored
      
      The omap2420H4 was the only mainline omap24xx board.  Prior to being
      fixed by Jon Hunter in time for v2013.04 it had been functionally broken
      for a very long time.  Remove this board as there's not been interest in
      it in U-Boot for quite a long time.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      7f5eef93
  6. Jun 03, 2013
  7. May 21, 2013
  8. May 15, 2013
  9. May 13, 2013
  10. Apr 12, 2013
  11. Apr 08, 2013
  12. Apr 01, 2013
    • 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: default avatarYork Sun <yorksun@freescale.com>
      472d5460
  13. Mar 24, 2013
  14. Mar 16, 2013
  15. Mar 15, 2013
  16. Mar 01, 2013
  17. Feb 28, 2013
  18. Feb 19, 2013
  19. Feb 04, 2013
  20. Jan 10, 2013
    • Javier Martinez Canillas's avatar
      serial/ns16550: add an option to avoid hanging on broken platforms · 7de0fe1a
      Javier Martinez Canillas authored
      
      Some platforms (e.g. IGEPv2 board) has a broken ns16550 UART that
      does not set the TEMT bit when the transmitter is empty in SPL.
      This makes U-Boot to hang while waiting for TEMT to be set.
      
      Add a new option to avoid this:
      
      CONFIG_SYS_NS16550_BROKEN_TEMT
      
      16550 UART set the Transmitter Empty (TEMT) Bit when all output
      has finished and the transmitter is totally empty. U-Boot waits
      for this bit to be set to initialize the serial console. On some
      broken platforms this bit is not set in SPL making U-Boot to
      hang while waiting for TEMT. Define this option to avoid it.
      
      Signed-off-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      7de0fe1a
  21. Dec 20, 2012
  22. Dec 13, 2012
  23. Dec 07, 2012
  24. Nov 30, 2012
  25. Nov 26, 2012
    • Scott Wood's avatar
      serial/ns16550: wait for TEMT before initializing · cb55b332
      Scott Wood authored
      
      TEMT is set when the transmitter is totally empty and all output has
      finished.
      
      This prevents output problems (including a loss of synchronization
      observed on p2020 that persisted for quite a while) if SPL has output
      still on its way out.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      --
      v2: fixed typo in subject, and explained what the bit does in the changelog
      cb55b332
    • Scott Wood's avatar
      serial/ns16550: don't build serial_ns16550 with MIN_FUNCTIONS · 48cbc3a8
      Scott Wood authored
      
      CONFIG_NS16550_MIN_FUNCTIONS is used by small SPLs to gain access to basic
      ns16550 output code without pulling in things not needed by the SPL.
      
      This previously only worked with non-MULTI configs.  Recently MULTI was
      made mandatory, and MIN_FUNCTIONS fails like this:
      
      drivers/serial/libserial.o: In function `calc_divisor.clone.0':
      serial_ns16550.c:(.text.calc_divisor.clone.0+0x24): undefined reference to `get_bus_freq'
      drivers/serial/libserial.o: In function `_serial_getc':
      (.text._serial_getc+0x30): undefined reference to `NS16550_getc'
      drivers/serial/libserial.o: In function `_serial_tstc':
      (.text._serial_tstc+0x30): undefined reference to `NS16550_tstc'
      drivers/serial/libserial.o: In function `_serial_setbrg':
      (.text._serial_setbrg+0x3c): undefined reference to `NS16550_reinit'
      make[1]: *** [/tmp/u-boot/spl/u-boot-spl] Error 1
      make: *** [/tmp/u-boot/spl/u-boot-spl.bin] Error 2
      
      With MIN_FUNCTIONS we don't need anything from this file, so don't build
      it.  The conditional needs to be in the file itself rather than the
      makefile, because the config symbols are only imported to the makefiles
      once, not separately for the SPL phase of the build.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      48cbc3a8
  26. Nov 15, 2012
    • Minkyu Kang's avatar
      s3c64xx: fix the compiler error and warning · a6f17307
      Minkyu Kang authored
      
      This patch is fixing the following errors
      
      s3c64xx.c:175: error: variable 's3c64xx_serial_drv' has initializer but incomplete type
      s3c64xx.c:176: error: unknown field 'name' specified in initializer
      s3c64xx.c:176: warning: excess elements in struct initializer
      s3c64xx.c:176: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:177: error: unknown field 'start' specified in initializer
      s3c64xx.c:177: warning: excess elements in struct initializer
      s3c64xx.c:177: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:178: error: unknown field 'stop' specified in initializer
      s3c64xx.c:178: warning: excess elements in struct initializer
      s3c64xx.c:178: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:179: error: unknown field 'setbrg' specified in initializer
      s3c64xx.c:179: warning: excess elements in struct initializer
      s3c64xx.c:179: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:180: error: unknown field 'putc' specified in initializer
      s3c64xx.c:180: warning: excess elements in struct initializer
      s3c64xx.c:180: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:181: error: unknown field 'puts' specified in initializer
      s3c64xx.c:181: warning: excess elements in struct initializer
      s3c64xx.c:181: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:182: error: unknown field 'getc' specified in initializer
      s3c64xx.c:182: warning: excess elements in struct initializer
      s3c64xx.c:182: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c:183: error: unknown field 'tstc' specified in initializer
      s3c64xx.c:183: warning: excess elements in struct initializer
      s3c64xx.c:183: warning: (near initialization for 's3c64xx_serial_drv')
      s3c64xx.c: In function 's3c64xx_serial_initialize':
      s3c64xx.c:188: warning: implicit declaration of function 'serial_register'
      s3c64xx.c: At top level:
      s3c64xx.c:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
      
      Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
      Acked-by: default avatarMarek Vasut <marex@denx.de>
      a6f17307
  27. Nov 04, 2012
    • Kim Phillips's avatar
      ac63f2a2
    • Kim Phillips's avatar
      include/linux/byteorder: import latest endian definitions from linux · eef1cf2d
      Kim Phillips authored
      
      u-boot's byteorder headers did not contain endianness attributions
      for use with sparse, causing a lot of false positives.  Import the
      kernel's latest definitions, and enable them by including compiler.h
      and types.h.  They come with 'const' added for some swab functions, so
      fix those up, too:
      
      include/linux/byteorder/big_endian.h:46:2: warning: passing argument 1 of '__swab64p' discards 'const' qualifier from pointer target type [enabled by default]
      
      Also, note: u-boot's historic __BYTE_ORDER definition has been
      preserved (for the time being at least).
      
      We also remove ad-hoc barrier() definitions, since we're including
      compiler.h in files that hadn't in the past:
      
      macb.c:54:0: warning: "barrier" redefined [enabled by default]
      
      In addition, including compiler.h in byteorder changes the 'noinline'
      definition to expand to __attribute__((noinline)).  This fixes
      arch/powerpc/lib/bootm.c:
      
      bootm.c:329:16: error: attribute '__attribute__': unknown attribute
      bootm.c:329:16: error: expected ')' before '__attribute__'
      bootm.c:329:25: error: expected identifier or '(' before ')' token
      
      powerpc sparse builds yield:
      
      include/common.h:356:22: error: marked inline, but without a definition
      
      the unknown-reason inlining without a definition is considered obsolete
      given it was part of the 2002 initial commit, and no arm version was
      'fixed.'
      
      also fixed:
      ydirectenv.h:60:0: warning: "inline" redefined [enabled by default]
      
      and:
      
      Configuring for devconcenter - Board: intip, Options: DEVCONCENTER
      make[1]: *** [4xx_ibm_ddr2_autocalib.o] Error 1
      make: *** [arch/powerpc/cpu/ppc4xx/libppc4xx.o] Error 2
      powerpc-fsl-linux-size: './u-boot': No such file
      4xx_ibm_ddr2_autocalib.c: In function 'DQS_autocalibration':
      include/asm/ppc4xx-sdram.h:1407:13: sorry, unimplemented: inlining failed in call to 'ppc4xx_ibm_ddr2_register_dump': function body not available
      4xx_ibm_ddr2_autocalib.c:1243:32: sorry, unimplemented: called from here
      
      and:
      
      In file included from crc32.c:50:0:
      crc32table.h:4:1: warning: implicit declaration of function '___constant_swab32' [-Wimplicit-function-declaration]
      crc32table.h:4:1: error: initializer element is not constant
      crc32table.h:4:1: error: (near initialization for 'crc32table_le[0]')
      
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      [trini: Remove '#endif' in include/common.h around setenv portion]
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      eef1cf2d
  28. Oct 26, 2012
  29. Oct 25, 2012
    • Andrew Bradford's avatar
      serial: ns16550: Enable COM5 and COM6 · 96708a06
      Andrew Bradford authored
      
      Increase the possible number of ns16550 serial devices from 4 to 6.
      
      Signed-off-by: default avatarAndrew Bradford <andrew@bradfordembedded.com>
      96708a06
    • Kim Phillips's avatar
      drivers/serial/serial_ns16550.c: sparse fixes · d07e7f9b
      Kim Phillips authored
      
      serial_ns16550.c:222:1: warning: symbol 'eserial1_init' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_setbrg' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_getc' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_tstc' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_putc' was not declared. Should it be static?
      serial_ns16550.c:222:1: warning: symbol 'eserial1_puts' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_init' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_setbrg' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_getc' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_tstc' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_putc' was not declared. Should it be static?
      serial_ns16550.c:225:1: warning: symbol 'eserial2_puts' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_init' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_setbrg' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_getc' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_tstc' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_putc' was not declared. Should it be static?
      serial_ns16550.c:228:1: warning: symbol 'eserial3_puts' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_init' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_setbrg' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_getc' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_tstc' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_putc' was not declared. Should it be static?
      serial_ns16550.c:231:1: warning: symbol 'eserial4_puts' was not declared. Should it be static?
      
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      d07e7f9b
  30. Oct 19, 2012
  31. Oct 17, 2012
Loading