26 Sep, 2012

8 commits

  • There's no real need to expose this and it can be removed by using a static
    allocation.

    Signed-off-by: Rob Herring

    Rob Herring
     
  • All block device related commands (scsiboot, fatload, ext2ls, etc.) have
    simliar duplicated device and partition parsing and selection code. This
    adds a common function to replace various implementations.

    The new function has an enhancement over current versions. If no device
    or partition is specified on the command line, the bootdevice env variable
    will be used (scsiboot does this).

    Signed-off-by: Rob Herring

    Rob Herring
     
  • Determine which partitions are bootable/active. In the partition listing,
    print "Boot" for partitions with the bootable/active flag set.

    Signed-off-by: Rob Herring

    Rob Herring
     
  • All the raw block load commands duplicate the same code. Starting with
    the ide version as it has progress updates convert ide, usb, and scsi boot
    commands to all use a common version.

    Signed-off-by: Rob Herring

    Rob Herring
     
  • Now that get_device_and_partition() always calls get_partition_info()
    when disk.c is compiled, we must always compile the function, rather
    than ifdef it away.

    The implementation must be conditional based on CONFIG_CMD_* etc., since
    that's what e.g. part_dos.c uses to ifdef out get_partition_info_dos();
    CONFIG_DOS_PARTITION can be enabled even without those commands being
    enabled.

    Technically, this change is required before Rob's "disk/part: introduce
    get_device_and_partition" patch. However, at least when the compiler
    optimizer is turned on, it isn't required before then in practice,
    since get_device_and_partition() calls get_dev(), which is stubbed out
    in disk.c under exactly the same conditions that get_partition_info()
    is not compiled, and hence the compiler never generates code for the
    call to the missing function. However, in my later patch "disk:
    get_device_and_partition() "auto" partition and cleanup", the optimizer
    doesn't succeed at this, and may attempt to reference the undefined
    function.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • The LIST_arm rule included the Atmel boards twice (by virtue of
    including both LIST_at91 and LIST_ARM9) and was missing all the
    arm720t, arm946es, and arm1176 boards. Change this list to use
    boards_by_arch() which is less error prone. After this change
    "./MAKEALL arm" and "./MAKEALL -a arm" build the same boards.

    Also fix up some missing and duplicate boards to arm, mips, and m68k.

    Signed-off-by: Allen Martin
    Acked-by: Tom Rini

    Allen Martin
     
  • Commit 86c6326 "ARM: arm1176: enable instruction cache in
    arch_cpu_init()" defined arch_cpu_init() in a file that is shared across
    all arm1176 SoCs. tnetv107x already implemented this function, which
    caused linking to break. Move the new conflicting arch_cpu_init() into
    arm1176/bcm2835/init.c so that it doesn't conflict; grep indicates this
    function is usually defined at the SoC-level, not the CPU-level, at least
    for ARM.

    Signed-off-by: Stephen Warren
    Acked-by: Marek Vasut

    Stephen Warren
     
  • Tom Rini
     

22 Sep, 2012

8 commits


21 Sep, 2012

7 commits


20 Sep, 2012

11 commits


19 Sep, 2012

6 commits