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

19 commits


25 Mar, 2013

1 commit