10 Jan, 2018

1 commit

  • Given gcc-6.1 and later we can now safely have strings discarded when
    the functions are unused. This lets us drop certain cases of not
    building something so that we don't have the strings brought in when the
    code was discarded. Simplify the code now by dropping guards we don't
    need now.

    Cc: Stefano Babic
    Cc: Fabio Estevam
    Cc: Chander Kashyap
    Cc: Thomas Abraham
    Cc: Vipin Kumar
    Cc: Wenyou Yang
    Signed-off-by: Tom Rini

    Tom Rini
     

05 Dec, 2017

1 commit

  • Odroid HC1 board is based on Odroid XU4 board, but it has no HDMI,
    no eMMC, no build-in USB3.0 hub, no extension port pins, and no GPIO
    button. USB3.0 ports are used for build-in JMicron USB to SATA bridge
    and Gigabit R8152 ethernet chips. HC1 uses only passive cooling.

    This patch also updates Odroid's ADCmax array and reduces ADC tolerance
    to 1% to ensure that XU4 and HC1 revisions are properly detected.

    I've tested this with XU3, XU3-lite, XU4 and HC1 boards. In case of my test
    boards I got following values from ADC register: 372, 370, 1281 and 1313.

    Signed-off-by: Marek Szyprowski
    Reviewed-by: Lukasz Majewski
    Tested-by: Krzysztof Kozlowski
    Signed-off-by: Minkyu Kang

    Marek Szyprowski
     

06 Nov, 2017

1 commit

  • As part of my usual round of build testing, output about missing
    MAINTAINERS information was not logged, and thus often overlooked.
    Correct that mistake by ensuring that I log the output of
    genboardscfg.py every time. As part of that, address a number of
    missing MAINTAINERS entires. In the case of a missing file, I have put
    the original submitter down. In the rest of the cases I have added the
    config (and sometimes relevant header file) to the existing set of file
    globs.

    Signed-off-by: Tom Rini

    Tom Rini
     

05 Oct, 2017

1 commit


04 Oct, 2017

2 commits

  • U-Boot widely uses error() as a bit noisier variant of printf().

    This macro causes name conflict with the following line in
    include/linux/compiler-gcc.h:

    # define __compiletime_error(message) __attribute__((error(message)))

    This prevents us from using __compiletime_error(), and makes it
    difficult to fully sync BUILD_BUG macros with Linux. (Notice
    Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

    Let's convert error() into now treewide-available pr_err().

    Done with the help of Coccinelle, excluing tools/ directory.

    The semantic patch I used is as follows:

    //
    @@@@
    -error
    +pr_err
    (...)
    //

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass
    [trini: Re-run Coccinelle]
    Signed-off-by: Tom Rini

    Masahiro Yamada
     
  • The g_dnl USB settings for the vendor ID, product ID and manufacturer are
    actually common settings that can and should be shared by all the gadgets.

    Make them common by renaming them, and convert all the users.

    Reviewed-by: Simon Glass
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

16 Aug, 2017

2 commits

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     
  • We are now using an env_ prefix for environment functions. Rename setenv()
    for consistency. Also add function comments in common.h.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

05 Jun, 2017

1 commit


01 Jun, 2017

2 commits


15 May, 2017

1 commit


08 Apr, 2017

1 commit


07 Apr, 2017

3 commits


06 Apr, 2017

2 commits

  • By making dram_init_banksize() return an error code we can drop the
    wrapper. Adjust this and clean up all implementations.

    Signed-off-by: Simon Glass
    Reviewed-by: Stefan Roese

    Simon Glass
     
  • This is not used by any board. Drop it.

    Signed-off-by: Simon Glass
    Clean up board_f sequence a little
    This series tries to remove #ifdefs from the board_f init sequence. It
    gets as far as I2C and then we need to discuss whether we can start to
    remove the old I2C framework.

    I think that ideally each entry in the init sequence should be enabled by
    at most one CONFIG, which is in Kconfig and is not arch-specific.
    END
    Acked-by: Lukasz Majewski
    Acked-by: Jaehoon Chung

    Simon Glass
     

03 Apr, 2017

3 commits


10 Feb, 2017

1 commit


18 Jan, 2017

5 commits


11 Jan, 2017

1 commit

  • This commit was created as follows:

    [1] Rename the option with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e 's/CONFIG_DWMMC/CONFIG_MMC_DW/g'

    [2] create the entry for MMC_DW in drivers/mmc/Kconfig
    (the prompt and help were copied from Linux)

    [3] run "tools/moveconfig.py -y MMC_DW"

    [4] add "depends on MMC_DW" to the MMC_DW_ROCKCHIP entry

    [5] Clean-up doc/README.socfpga by hand

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     

05 Jan, 2017

1 commit


30 Dec, 2016

1 commit

  • Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI.
    My motivation for the rename is, ultimately, to make all the MMC
    options prefixed with MMC_ and SDHCI options with MMC_SDHCI_,
    like Linux.

    This commit was created as follows:

    [1] Rename the config option with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g'

    [2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig

    [3] run "tools/moveconfig.py -y MMC_SDHCI"

    [4] add "depends on MMC_SDHCI" to existing SDHCI driver entries

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini
    Reviewed-by: Jaehoon Chung

    Masahiro Yamada
     

28 Dec, 2016

1 commit


05 Dec, 2016

3 commits


24 Sep, 2016

1 commit


23 Jul, 2016

1 commit


25 May, 2016

4 commits