04 Apr, 2013

1 commit


03 Apr, 2013

9 commits

  • This makes sure we have inline functions such as inb/outb that
    are used in these two files by including the arch-specific
    header. However the ARM version does not provide the
    accessors unless the config symbol __io is also defined so add
    that in front of the include.

    After this the bios emulator will compile on ARM systems.

    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • The "mmc rescan" command takes no arguments. However, executing
    "mmc rescan 1" succeeds, leading the user to believe that MMC device 1
    has been rescanned. In fact, the "current" MMC device has been
    rescanned, and the current device may well not be 1. Add error-checking
    to the "mmc" command to explicitly reject any extra command-line
    arguments so that it's more obvious when U-Boot isn't doing what the
    user thought they asked it to.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • Simon Glass' commit 3929fb0a141530551b3fce15ee08629f80d5ef2a,
    which changed all occurrences of __bss__end__ into __bss_end,
    left behind some untouched __bss_end__ occurrences in all 33
    u-boot.lds.debug files, in board/mousse/u-boot.lds.ram and
    in board/mousse/u-boot.lds.rom. These are replaced here.

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     
  • start_sect is not aligned to a 4 byte boundary thus causing exceptions
    on ARM platforms. Access this field via the get_unaligned_le32 macro.

    Signed-off-by: Marc Dietrich

    Marc Dietrich
     
  • CONFIG_SYS_HZ must be 1000, and get_timer() must therefore return ms.
    Document this.

    README text provided by Tom Rini.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • It was noticed that when `make distclean' is run, the make process
    terminates with error reporting something like:

    rm: cannot remove '/tmp/foobar/': Is a directory
    make: *** [clobber] Error 1

    The problem is that the list of files targeted for removal includes a
    directory in case CONFIG_SPL_TARGET is not set.

    The fix has been tested as follows:

    Ran several times the following sequence of commands:

    CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar smdk5250_config
    CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make O=/tmp/foobar distclean

    it did not cause an error, it used to before this change.

    Signed-off-by: Vadim Bendebury
    Acked-by: Simon Glass

    Vadim Bendebury
     
  • Most of the various environment functions create CONFIG_ENV_SIZE buffers on
    the stack. At least on ARM and PPC which have 4KB stacks, this can overflow
    the stack if we have large environment sizes. So move all the buffers off
    the stack to static buffers.

    Signed-off-by: Rob Herring

    Rob Herring
     
  • Bash ver 3.x doesn't support the parameter expansion with case
    substitution. Use tr instead.

    Signed-off-by: York Sun
    Acked-by: Allen Martin

    York Sun
     
  • This patch provides a support to build the user specified dts.

    Signed-off-by: Jagannadha Sutradharudu Teki
    Acked-by: Simon Glass

    Jagannadha Sutradharudu Teki
     

02 Apr, 2013

1 commit

  • '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: York Sun

    York Sun
     

31 Mar, 2013

1 commit


29 Mar, 2013

7 commits

  • After merging LCD patches for v2013.04 the bcm2835 video
    driver building is broken due to removal of many global
    variables. Fix the driver.

    Signed-off-by: Anatolij Gustschin
    Cc: Stephen Warren

    Anatolij Gustschin
     
  • Conflicts:
    drivers/video/Makefile

    Signed-off-by: Anatolij Gustschin

    Anatolij Gustschin
     
  • * default bootmenu entries:
    attached kernel, internal eMMC memory, external SD card,
    u-boot boot order

    * in CONFIG_PREBOOT try load bootmenu.scr from first partition
    of internal eMMC memory (also known as MyDocs) which (should)
    overwrite default bootmenu entries

    * when keyboard slide is closed boot first menu entry

    * when keyborad slide is open show bootmenu

    Signed-off-by: Pali Rohár
    Signed-off-by: Anatolij Gustschin

    Pali Rohár
     
  • The "bootmenu" command uses U-Boot menu interfaces and provides
    a simple mechanism for creating menus with several boot items.
    When running this command the menu will be assembled as defined
    by a set of environment variables which contain a title and
    command key-value pairs. The "Up" and "Down" keys are used for
    navigation through the items. Current active menu item is
    highlighted and can be selected using the "Enter" key.

    The command interprets and generates various ANSI escape
    sequencies, so for proper menu rendering and item selection
    the used terminal should support them.

    Signed-off-by: Pali Rohár
    [agust: various fixes and documentation updates]
    Signed-off-by: Anatolij Gustschin

    Pali Rohár
     
  • Checking the default menu item and obtaining its data can
    be useful in custom menu code. Export menu_default_choice()
    function which serves this purpose.

    Signed-off-by: Anatolij Gustschin

    Anatolij Gustschin
     
  • Selecting menu items is currently done in menu_interactive_choice()
    by reading the user input strings from standard input.

    Extend menu_interactive_choice() to support user defined function
    for selecting menu items. This function and its argument can be
    specified when creating the menu.

    Signed-off-by: Pali Rohár
    Signed-off-by: Anatolij Gustschin

    Pali Rohár
     
  • Conflicts:
    drivers/spi/tegra20_sflash.c
    include/fdtdec.h
    lib/fdtdec.c

    Albert ARIBAUD
     

28 Mar, 2013

11 commits


26 Mar, 2013

10 commits