Skip to content
Snippets Groups Projects
  1. Oct 15, 2012
    • Marek Vasut's avatar
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8260 serial drivers · d68f4da2
      Marek Vasut authored
      
      Implement support for CONFIG_SERIAL_MULTI into both SCC and SMC mpc8260
      serial drivers. These drivers were so far only usable directly, but this
      patch also adds support for the multi method. This allows using more than
      one serial driver alongside the mpc8260 drivers. Also, add a weak
      implementation of default_serial_console() returning this driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      d68f4da2
    • Marek Vasut's avatar
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc8220 serial driver · 2063a54e
      Marek Vasut authored
      
      Implement support for CONFIG_SERIAL_MULTI into mpc8220 serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the mpc8220 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      2063a54e
    • Marek Vasut's avatar
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into mpc5xx serial driver · b57c6528
      Marek Vasut authored
      
      Implement support for CONFIG_SERIAL_MULTI into mpc5xx serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the mpc5xx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      b57c6528
    • Marek Vasut's avatar
      serial: mips: Implement CONFIG_SERIAL_MULTI into JZ serial driver · 6cb3273d
      Marek Vasut authored
      
      Implement support for CONFIG_SERIAL_MULTI into JZ serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the JZ driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      6cb3273d
    • Marek Vasut's avatar
      serial: mips: Implement CONFIG_SERIAL_MULTI into asc serial driver · 01911422
      Marek Vasut authored
      
      Implement support for CONFIG_SERIAL_MULTI into asc serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the asc driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      01911422
    • Marek Vasut's avatar
      serial: mips: Implement CONFIG_SERIAL_MULTI into au1x00 serial driver · 7b953c51
      Marek Vasut authored
      
      Implement support for CONFIG_SERIAL_MULTI into au1x00 serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the au1x00 driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      7b953c51
    • Marek Vasut's avatar
      serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI · 41651cab
      Marek Vasut authored
      
      Rework the emulation of serial console via JTAG from simple ad-hoc
      implementation of serial port routines to CONFIG_SERIAL_MULTI and
      enable CONFIG_SERIAL_MULTI unconditionally for blackfin.
      
      In order for the JTAG serial console to take precedence over all
      other serial ports available in system, implement override for
      default_serial_console call returning this JTAG serial console.
      
      This brings in a bit of a growth of size, but eventually will allow
      us to unconditionally enable CONFIG_SERIAL_MULTI throughout the whole
      U-Boot and maintain only one serial subsystem.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      41651cab
    • Marek Vasut's avatar
      serial: zoom2: Remove zoom2 serial prototypes from serial.h · 425101e1
      Marek Vasut authored
      
      Remove the prototypes for zoom2_serial_deviceN from serial.h . This
      can't be done right away, as they are referenced from the zoom2
      config file. Therefore, adjust the code so the config file only
      specifies number of the port. Then, replace the simple return in
      default_serial_console() with a switch across possible values, which
      returns the zoom2_serial_deviceN . With such adjustment in place,
      the exported prototypes in serial.h can be safely removed.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      425101e1
    • Marek Vasut's avatar
      serial: bfin: Adjust serial_register_bfin_uart() · 5ae1de0d
      Marek Vasut authored
      
      Rename the serial_register_bfin_uart() to bfin_initialize_serial()
      to be consistent with the rest of the naming. Next, remove it's
      prototype from serial.h and properly insert it into serial.c as
      the rest of the serial initialization functions.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      5ae1de0d
    • Marek Vasut's avatar
      serial: bfin: Remove the bfin_serialN_device exports from serial.h · c513d7e5
      Marek Vasut authored
      
      Remove the exports from serial.h as they are only used in the blackfin
      serial driver. Furthermore, they are only used for registration, which
      is handled already inside that driver and default_serial_port() call,
      which is also handled in that driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      c513d7e5
    • Marek Vasut's avatar
      serial: ns16550: Move serial registration from serial_initialize() · abc0ed8d
      Marek Vasut authored
      
      Move the registration of eserialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented ns16550_serial_initialize() function, which is
      implemented inside of the ns16550 serial driver allows encapsulation
      of eserialN_device within the ns16550 serial driver itself.
      
      Also, remove the exports of eserialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the ns16550 serial driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Michal Simek <monstr@monstr.eu>
      abc0ed8d
    • Marek Vasut's avatar
      serial: mpc512x: Move serial registration from serial_initialize() · 918327c8
      Marek Vasut authored
      
      Move the registration of serialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented mpc512x_serial_initialize() function, which is
      implemented inside of the mpc512x serial driver allows encapsulation
      of serialN_device within the mpc512x serial driver itself.
      
      Also, remove the exports of serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the mpx512x serial driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      918327c8
    • Marek Vasut's avatar
      serial: microblaze: Move serial registration from serial_initialize() · 87d69229
      Marek Vasut authored
      
      Move the registration of xuartlite_serialN_device ports from
      default serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented xuartlite_serial_initialize() function, which is
      implemented inside of the serial_xuartlite driver allows encapsulation
      of xuartlite_serialN_device within the serial_xuartlite driver itself.
      
      Also, remove the exports of xuartlite_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_xuartlite driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Michal Simek <monstr@monstr.eu>
      87d69229
    • Tom Rini's avatar
      serial: zynq: Move serial registration from serial_initialize() · 51d8102f
      Tom Rini authored
      
      Move the registration of zynq_serialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented zynq_serial_initialize() function, which is
      implemented inside of the serial_zynq driver allows encapsulation
      of zynq_serialN_device within the serial_zynq driver itself.
      
      Also, remove the exports of zynq_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_zynq driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      51d8102f
    • Marek Vasut's avatar
      serial: s5p: Move serial registration from serial_initialize() · b4980515
      Marek Vasut authored
      
      Move the registration of s5p_serialN_device ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented s5p_serial_initialize() function, which is
      implemented inside of the serial_s5p driver allows encapsulation
      of s5p_serialN_device within the serial_s5p driver itself.
      
      Also, remove the exports of s5p_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_s5p driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      b4980515
    • Marek Vasut's avatar
      serial: pxa: Move serial registration from serial_initialize() · 1fe5c110
      Marek Vasut authored
      
      Move the registration of serial_XXuart ports from default
      serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented pxa_serial_initialize() function, which is
      implemented inside of the serial_pxa driver allows encapsulation
      of serial_XXuart within the serial_pxa driver itself.
      
      Also, remove the exports of serial_XXuart from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_pxa driver and
      the default console is picked by CONFIG_CONS_IDX macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      1fe5c110
    • Marek Vasut's avatar
      serial: s3c24xx: Move serial registration from serial_initialize() · 28af6385
      Marek Vasut authored
      
      Move the registration of s3c24xx_serialN_device ports from
      default serial_initialize() into driver specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The newly implemented s3c24xx_serial_initialize() function, which is
      implemented inside of the serial_s3c24xx driver allows encapsulation
      of s3c24xx_serialN_device within the serial_s3c24xx driver itself.
      
      Also, remove the exports of s3c24xx_serialN_device from include/serial.h
      as they are no longer needed. This is simply because the implementation of
      default_serial_console() is wrapped into the serial_s3c24xx driver and
      the default console is picked by CONFIG_SERIAL<N> macro in config file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: C Nauman <cnauman@diagraph.com>
      28af6385
    • Marek Vasut's avatar
      serial: mpc8xx: Move serial registration from serial_initialize() · f0eb1f61
      Marek Vasut authored
      
      Move the registration of serial_smc and serial_scc ports from
      default serial_initialize() into CPU specific function called from
      serial_initialize(). This slims down the serial_initialize() call
      to a bare tracker of all possible serial port registration routines
      in U-Boot.
      
      The exports of both serial_scc_device and serial_smc_device can
      not yet be removed as they are still used in default_serial_console()
      calls.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      f0eb1f61
    • Marek Vasut's avatar
      serial: Implement serial_initfunc() macro · 2a333aeb
      Marek Vasut authored
      
      This macro simplifies declaration of weak aliases for per-driver
      functions, which register these drivers with the serial subsystem.
      The idea here is to push serial_register() calls from serial.c into
      the drivers. To avoid pile of ifdef construct as it is now, create
      weak aliases to these functions, which in case the driver is not
      present alias onto an empty function, which is in turn optimized out
      altogether.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      2a333aeb
    • Marek Vasut's avatar
      serial: mpc512x: Properly define CONFIG_SYS_PSC3 in config files · bfb31279
      Marek Vasut authored
      
      Some of the boards using the mpc512x serial driver didn't properly
      define which PSC console to use. This caused breakage when building
      with CONFIG_SERIAL_MULTI enabled. Fix this by defining the default
      PSC console.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      bfb31279
    • Marek Vasut's avatar
      serial: pxa: Make local functions static · 4808f106
      Marek Vasut authored
      
      Make functions that are local-only static, so no hairy symbols
      stick out of the serial_pxa driver file.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      4808f106
    • Marek Vasut's avatar
      serial: pxa: Make use of default_serial_console in serial_pxa · ce6971cd
      Marek Vasut authored
      
      Make use of the newly implemented weak default_serial_console in
      the serial_pxa driver. This removes all reimplementations of this
      function from board files.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      ce6971cd
    • Marek Vasut's avatar
      serial: pxa: Implement default_serial_console in serial_pxa.c · 407e6a28
      Marek Vasut authored
      
      Implement weak default_serial_console() function in serial_pxa
      driver, which gets available in case CONFIG_SERIAL_MULTI is
      enabled. This will get helpful in subsequent patches, which will
      encapsulate PXA's struct serial_device instances in serial_pxa
      driver.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      407e6a28
    • Marek Vasut's avatar
      serial: Properly spell out the structure member names of serial_driver · 90bad891
      Marek Vasut authored
      
      Properly spell out the whole structure member names when an initialized
      varible is instantiated from the struct serial_driver. In case the
      structure definition for struct serial_driver undergoes reordering,
      there will be no impact on variables defined based on this structure.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: C Nauman <cnauman@diagraph.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Michal Simek <monstr@monstr.eu>
      90bad891
    • Marek Vasut's avatar
      serial: Rename .init() and .uninit() in serial_device · 89143fb3
      Marek Vasut authored
      
      Rename .init() to .start() and .uninit() to .stop() in struct
      serial_device. This allows aligning struct serial_device with
      closer to struct stdio_dev. The real goal here is to allow
      these two structures to converge together and eventually make
      one to be a superset of the other.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      89143fb3
    • Marek Vasut's avatar
      serial: Coding style cleanup of struct serial_device · 78322d63
      Marek Vasut authored
      
      Do a simple cleanup of the struct serial_device and align it with
      current coding style. Checkpatch now reports no errors.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      78322d63
    • Marek Vasut's avatar
      COMMON: Use __stringify() instead of rest of implementations · 51926d5e
      Marek Vasut authored
      
      Fix up the rest of implementations of __stringify().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      51926d5e
    • Marek Vasut's avatar
      COMMON: Use __stringify() instead of MK_STR() · 5368c55d
      Marek Vasut authored
      
      Kill multiple occurances and redeclaration of MK_STR
      in favor of __stringify().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      5368c55d
    • Marek Vasut's avatar
      COMMON: Use __stringify() instead of xstr() · 93ea89f0
      Marek Vasut authored
      
      Kill multiple occurances and redeclaration of xstr in favor of __stringify().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      93ea89f0
    • Marek Vasut's avatar
      COMMON: Add __stringify() function · 9aed5080
      Marek Vasut authored
      
      Copied from Linux kernel:
      commit 8f7c2c37319a81ef4c2bfdec67b1ccd5744d97e4
      Date:   Wed Apr 8 16:58:57 2009 +0800
      
      Pull in the __stringify() macro from Linux kernel. This macro is usually used to
      convert numbers to strings at preprocessor level, yet it is not limited only to
      that. This is useful as it allows higher usage of puts() in favour of printf().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      9aed5080
    • Tom Rini's avatar
      SPL: Remove setting GD_FLG_RELOC in preloader_console_init() · 868444fa
      Tom Rini authored
      
      We have not strictly speaking relocated at this point, do not claim that
      we have.  This is not required for output.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      868444fa
    • Tom Rini's avatar
      MAINTAINERS: Move dbau1x00 to orphaned. · c26420bb
      Tom Rini authored
      
      The former maintainer is no longer interested, move to orphaned.  Patch
      is from the former maintainer.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      c26420bb
    • Tom Rini's avatar
      gth2: Remove this platform · 61c0d6ae
      Tom Rini authored
      
      After taking with the former maintainer, delete this platform.  The
      patch is from the former maintainer.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      61c0d6ae
    • Daniel Schwierzeck's avatar
      common: cmd_elf.c: use uintptr_t for casts from u32 to void* · b0d60a98
      Daniel Schwierzeck authored
      
      This fixes warnings when compiling with ELDK-5.2.1 for MIPS64:
      
      cmd_elf.c: In function 'load_elf_image_phdr':
      cmd_elf.c:289:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      cmd_elf.c: In function 'load_elf_image_shdr':
      cmd_elf.c:343:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      cmd_elf.c:346:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      b0d60a98
    • Daniel Schwierzeck's avatar
      common: cmd_elf.c: fix checkpath.pl warnings · 62e03d33
      Daniel Schwierzeck authored
      
      [Tom: Move valid_elf_image around and don't mark it as static as another
      board makes use of this function]
      
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      62e03d33
    • Daniel Schwierzeck's avatar
      lib: vsprintf.c: replace NUM_TYPE with s64/u64 types · 7b64f66c
      Daniel Schwierzeck authored
      
      This fixes warnings when compiling with ELDK-5.2.1 for MIPS64:
      
      vsprintf.c: In function 'put_dec':
      vsprintf.c:258:9: warning: comparison of distinct pointer types lacks a cast [enabled by default]
      vsprintf.c:258:3: warning: passing argument 1 of '__div64_32' from incompatible pointer type [enabled by default]
      include/div64.h:22:17: note: expected 'uint64_t *' but argument is of type 'long long unsigned int *'
      
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      7b64f66c
    • Daniel Schwierzeck's avatar
    • Albert ARIBAUD's avatar
      ARM: prevent misaligned array inits · b823fd9b
      Albert ARIBAUD authored
      
      Under option -munaligned-access, gcc can perform local char
      or 16-bit array initializations using misaligned native
      accesses which will throw a data abort exception. Fix files
      where these array initializations were unneeded, and for
      files known to contain such initializations, enforce gcc
      option -mno-unaligned-access.
      
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      [trini: Switch to usign call cc-option for -mno-unaligned-access as
      Albert had done previously as that's really correct]
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      b823fd9b
    • Tom Rini's avatar
      Prepare v2012.10 · 6528ff01
      Tom Rini authored
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
  2. Oct 12, 2012
Loading