1. 16 10月, 2012 35 次提交
    • M
      serial: mips: Implement CONFIG_SERIAL_MULTI into JZ serial driver · 6cb3273d
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: mips: Implement CONFIG_SERIAL_MULTI into asc serial driver · 01911422
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: mips: Implement CONFIG_SERIAL_MULTI into au1x00 serial driver · 7b953c51
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI · 41651cab
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      41651cab
    • M
      serial: zoom2: Remove zoom2 serial prototypes from serial.h · 425101e1
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      425101e1
    • M
      serial: bfin: Adjust serial_register_bfin_uart() · 5ae1de0d
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      5ae1de0d
    • M
      serial: bfin: Remove the bfin_serialN_device exports from serial.h · c513d7e5
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      c513d7e5
    • M
      serial: ns16550: Move serial registration from serial_initialize() · abc0ed8d
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: mpc512x: Move serial registration from serial_initialize() · 918327c8
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: microblaze: Move serial registration from serial_initialize() · 87d69229
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Michal Simek <monstr@monstr.eu>
      87d69229
    • T
      serial: zynq: Move serial registration from serial_initialize() · 51d8102f
      Tom Rini 提交于
      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: NTom Rini <trini@ti.com>
      51d8102f
    • M
      serial: s5p: Move serial registration from serial_initialize() · b4980515
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: pxa: Move serial registration from serial_initialize() · 1fe5c110
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      1fe5c110
    • M
      serial: s3c24xx: Move serial registration from serial_initialize() · 28af6385
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: C Nauman <cnauman@diagraph.com>
      28af6385
    • M
      serial: mpc8xx: Move serial registration from serial_initialize() · f0eb1f61
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: Implement serial_initfunc() macro · 2a333aeb
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: mpc512x: Properly define CONFIG_SYS_PSC3 in config files · bfb31279
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: pxa: Make local functions static · 4808f106
      Marek Vasut 提交于
      Make functions that are local-only static, so no hairy symbols
      stick out of the serial_pxa driver file.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      4808f106
    • M
      serial: pxa: Make use of default_serial_console in serial_pxa · ce6971cd
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      ce6971cd
    • M
      serial: pxa: Implement default_serial_console in serial_pxa.c · 407e6a28
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      407e6a28
    • M
      serial: Properly spell out the structure member names of serial_driver · 90bad891
      Marek Vasut 提交于
      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: NMarek 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
    • M
      serial: Rename .init() and .uninit() in serial_device · 89143fb3
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Signed-off-by: NTom Rini <trini@ti.com>
      89143fb3
    • M
      serial: Coding style cleanup of struct serial_device · 78322d63
      Marek Vasut 提交于
      Do a simple cleanup of the struct serial_device and align it with
      current coding style. Checkpatch now reports no errors.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      78322d63
    • M
      COMMON: Use __stringify() instead of rest of implementations · 51926d5e
      Marek Vasut 提交于
      Fix up the rest of implementations of __stringify().
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      51926d5e
    • M
      COMMON: Use __stringify() instead of MK_STR() · 5368c55d
      Marek Vasut 提交于
      Kill multiple occurances and redeclaration of MK_STR
      in favor of __stringify().
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Signed-off-by: NTom Rini <trini@ti.com>
      5368c55d
    • M
      COMMON: Use __stringify() instead of xstr() · 93ea89f0
      Marek Vasut 提交于
      Kill multiple occurances and redeclaration of xstr in favor of __stringify().
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      93ea89f0
    • M
      COMMON: Add __stringify() function · 9aed5080
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      9aed5080
    • T
      SPL: Remove setting GD_FLG_RELOC in preloader_console_init() · 868444fa
      Tom Rini 提交于
      We have not strictly speaking relocated at this point, do not claim that
      we have.  This is not required for output.
      Signed-off-by: NTom Rini <trini@ti.com>
      868444fa
    • T
      MAINTAINERS: Move dbau1x00 to orphaned. · c26420bb
      Tom Rini 提交于
      The former maintainer is no longer interested, move to orphaned.  Patch
      is from the former maintainer.
      Signed-off-by: NTom Rini <trini@ti.com>
      c26420bb
    • T
      gth2: Remove this platform · 61c0d6ae
      Tom Rini 提交于
      After taking with the former maintainer, delete this platform.  The
      patch is from the former maintainer.
      Signed-off-by: NTom Rini <trini@ti.com>
      61c0d6ae
    • D
      common: cmd_elf.c: use uintptr_t for casts from u32 to void* · b0d60a98
      Daniel Schwierzeck 提交于
      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: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      b0d60a98
    • D
      common: cmd_elf.c: fix checkpath.pl warnings · 62e03d33
      Daniel Schwierzeck 提交于
      [Tom: Move valid_elf_image around and don't mark it as static as another
      board makes use of this function]
      Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Signed-off-by: NTom Rini <trini@ti.com>
      62e03d33
    • D
      lib: vsprintf.c: replace NUM_TYPE with s64/u64 types · 7b64f66c
      Daniel Schwierzeck 提交于
      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: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      7b64f66c
    • D
    • A
      ARM: prevent misaligned array inits · b823fd9b
      Albert ARIBAUD 提交于
      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: NAlbert 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: NTom Rini <trini@ti.com>
      b823fd9b
  2. 15 10月, 2012 1 次提交
  3. 13 10月, 2012 1 次提交
  4. 09 10月, 2012 3 次提交
    • T
      Prepare v2012.10-rc3 · c7c63221
      Tom Rini 提交于
      Signed-off-by: NTom Rini <trini@ti.com>
      c7c63221
    • A
      arm: armv7: omap3: Fix restore sequence in lowlevel_init · dec96689
      Albert ARIBAUD 提交于
      The restore sequence in lowlevel_init was in the wrong order,
      causing lr to lose its original value and be set equal to ip
      instead. Also, its use of the stack clashes with that of
      s_init, so move the s_init call after the restore and turn
      it  into a tail-optimized branch.
      Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      Tested-by: NJeroen Hofstee <jeroen@myspectrum.nl>
      dec96689
    • A
      yaffs2: Fix GCC 4.6 compile warnings · 8cc64baf
      Anatolij Gustschin 提交于
      Fix:
      yaffs_guts.c: In function 'yaffs_check_chunk_erased':
      yaffs_guts.c:324:6: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      yaffs_guts.c: In function 'yaffs_verify_chunk_written':
      yaffs_guts.c:352:6: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      yaffs_guts.c: In function 'yaffs_grab_chunk_cache':
      yaffs_guts.c:1488:6: warning: variable 'pushout' set but not used
      [-Wunused-but-set-variable]
      yaffs_guts.c: In function 'yaffs_check_obj_details_loaded':
      yaffs_guts.c:3180:6: warning: variable 'alloc_failed' set but not used
      [-Wunused-but-set-variable]
      yaffs_guts.c:3179:6: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      yaffs_guts.c: In function 'yaffs_update_oh':
      yaffs_guts.c:3288:6: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      yaffs_guts.c: In function 'yaffs_get_obj_name':
      yaffs_guts.c:4447:7: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      yaffs_summary.c: In function 'yaffs_summary_read':
      yaffs_summary.c:194:6: warning: variable 'sum_tags_bytes' set but not
      used [-Wunused-but-set-variable]
      yaffs_verify.c: In function 'yaffs_verify_file':
      yaffs_verify.c:227:6: warning: variable 'actual_depth' set but not used
      [-Wunused-but-set-variable]
      yaffs_yaffs1.c: In function 'yaffs1_scan':
      yaffs_yaffs1.c:26:6: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      yaffs_yaffs2.c: In function 'yaffs2_scan_chunk':
      yaffs_yaffs2.c:949:6: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      yaffs_yaffs2.c: In function 'yaffs2_scan_backwards':
      yaffs_yaffs2.c:1352:6: warning: variable 'deleted' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: Charles Manning <cdhmanning@gmail.com>
      Tested-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      8cc64baf