05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

01 Jun, 2017

1 commit

  • Add support for requesting GPIOs with a live device tree.

    This involves adjusting the function signature for the legacy function
    gpio_request_by_name_nodev(), so fix up all callers.

    Signed-off-by: Simon Glass
    Fixes to stm32f746-disco.c:
    Signed-off-by: Tom Rini

    Simon Glass
     

19 Aug, 2015

1 commit

  • We have flipped CONFIG_SPL_DISABLE_OF_CONTROL. We have cleansing
    devices, $(SPL_) and CONFIG_IS_ENABLED(), so we are ready to clear
    away the ugly logic in include/fdtdec.h:

    #ifdef CONFIG_OF_CONTROL
    # if defined(CONFIG_SPL_BUILD) && !defined(SPL_OF_CONTROL)
    # define OF_CONTROL 0
    # else
    # define OF_CONTROL 1
    # endif
    #else
    # define OF_CONTROL 0
    #endif

    Now CONFIG_IS_ENABLED(OF_CONTROL) is the substitute. It refers to
    CONFIG_OF_CONTROL for U-boot proper and CONFIG_SPL_OF_CONTROL for
    SPL.

    Also, we no longer have to cancel CONFIG_OF_CONTROL in
    include/config_uncmd_spl.h and scripts/Makefile.spl.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini
    Reviewed-by: Simon Glass
    Acked-by: Linus Walleij

    Masahiro Yamada
     

13 Aug, 2015

1 commit

  • The menuconfig for drivers are getting more and more cluttered
    and unreadable because too many entries are displayed in a single
    flat menu. Use hierarchic menu for each category.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass
    [trini: Update to apply again in a few places, drop USB hunk]
    Signed-off-by: Tom Rini

    Masahiro Yamada
     

19 Apr, 2015

6 commits


25 Sep, 2014

1 commit


08 Jul, 2014

1 commit

  • The directory arch/${ARCH}/cpu/${CPU} does not exist
    in avr32, blackfin, microblaze, nios2, openrisc, sandbox, x86.

    These architectures have only one CPU type.
    Defining CPU should not be required for such architectures.

    This commit allows cpu field (= the 3rd field of boards.cfg)
    to be kept blank.

    Signed-off-by: Masahiro Yamada
    Cc: Andreas Bießmann
    Cc: Simon Glass
    Cc: Sonic Zhang
    Cc: Michal Simek
    Cc: Thomas Chou
    Cc: Stefan Kristiansson

    Masahiro Yamada
     

18 Mar, 2014

2 commits


01 Nov, 2013

1 commit


24 Sep, 2013

4 commits


24 Jul, 2013

1 commit


08 Mar, 2013

2 commits


08 Jan, 2013

2 commits


15 Nov, 2012

2 commits