1. 02 Nov, 2012 9 commits
  2. 29 Oct, 2012 9 commits
  3. 28 Oct, 2012 3 commits
  4. 26 Oct, 2012 14 commits
  5. 25 Oct, 2012 5 commits
    • Stephen Warren's avatar
      FAT: implement fat_set_blk_dev(), convert cmd_fat.c · 5e8f9831
      Stephen Warren authored
      
      
      This makes the FAT filesystem API more consistent with other block-based
      filesystems. If in the future standard multi-filesystem commands such as
      "ls" or "load" are implemented, having FAT work the same way as other
      filesystems will be necessary.
      
      Convert cmd_fat.c to the new API, so the code looks more like other files
      implementing the same commands for other filesystems.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
      5e8f9831
    • Stephen Warren's avatar
      FAT: initialize all fields in cur_part_info, simplify init · a1687b85
      Stephen Warren authored
      
      
      cur_part_info.{name,type} are strings. So, we don't need to memset()
      the entire thing, just put the NULL-termination in the first byte.
      
      Add missing initialization of the bootable and uuid fields.
      
      None of these fields are actually used by fat.c. However, since it
      stores the entire disk_partition_t, we should make sure that all fields
      are valid.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
      a1687b85
    • Stephen Warren's avatar
      FAT: remove cur_part_nr · 461f86e6
      Stephen Warren authored
      
      
      A future patch will implement the more standard filesystem API
      fat_set_blk_dev(). This API has no way to know which partition number
      the partition represents. Equally, future DM rework will make the
      concept of partition number harder to pass around.
      
      So, simply remove cur_part_nr from fat.c; its only use is in a
      diagnostic printf, and the context where it's printed should make it
      obvious which partition is referred to anyway (since the partition ID
      would come from the user command-line that caused it).
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
      461f86e6
    • 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
    • Kim Phillips's avatar
      drivers/i2c/fsl_i2c.c: sparse fix · 62f730ff
      Kim Phillips authored
      
      
      fsl_i2c.c:217:14: warning: symbol 'get_i2c_clock' was not declared. Should it be static?
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      62f730ff