14 Mar, 2017

1 commit


23 Feb, 2017

4 commits


13 Feb, 2017

1 commit

  • We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
    not completed. Finish this work by the tool.

    During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
    Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
    than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
    make the code more readable. Besides, negative meaning symbols do
    not fit in obj-$(CONFIG_...) style Makefiles.

    This commit was created as follows:

    [1] Edit "default n" to "default y" in the config entry in
    common/Kconfig.

    [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"

    [3] Rename the instances in defconfigs by the following:
    find . -path './configs/*_defconfig' | xargs sed -i \
    -e '/CONFIG_SYS_NO_FLASH=y/d' \
    -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'

    [4] Change the conditionals by the following:
    find . -name '*.[ch]' | xargs sed -i \
    -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
    -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
    -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
    -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'

    [5] Modify the following manually
    - Rename the rest of instances
    - Remove the description from README
    - Create the new Kconfig entry in drivers/mtd/Kconfig
    - Remove the old Kconfig entry from common/Kconfig
    - Remove the garbage comments from include/configs/*.h

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

24 Jan, 2017

1 commit


22 Jan, 2017

2 commits

  • We may want to run different firmware before running U-Boot. For
    example, ARM Trusted Firmware runs before U-Boot, making U-Boot
    a non-secure world boot loader. In this case, the SoC might be
    initialized there, which enables us to skip SPL entirely.

    This commit removes "select SPL" to make it configurable. This
    also enables the Multi SoC support for the UniPhier ARMv8 SoCs.
    (CONFIG_ARCH_UNIPHIER_V8_MULTI) Thanks to the driver model and
    Device Tree, the U-Boot proper part is now written in a generic way.
    The board/SoC parameters reside in DT. The Multi SoC support
    increases the memory footprint a bit, but the U-Boot proper does
    not have strict memory constraint. This will mitigate the per-SoC
    (sometimes per-board) defconfig burden.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Cc: Tom Rini
    Signed-off-by: Jagan Teki

    Jagan Teki
     

30 Dec, 2016

2 commits

  • Currently, CONFIG_MMC is not related to any other options by
    "depends on" or "select". One of big advantages of using Kconfig
    is automatic dependency tracking, but the current state is lacking
    it. As the first step, make the existing MMC driver entries depend
    on MMC.

    This commit was created by the following steps:

    [1] Run the following script:

    --------------------8> $d
    echo ${d#./configs/} >> tmp.txt
    fi
    done

    tools/moveconfig.py -y -s -d tmp.txt
    rm tmp.txt
    --------------------8
    Reviewed-by: Tom Rini
    Reviewed-by: Jaehoon Chung

    Masahiro Yamada
     
  • Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
    a Kconfig entry for this option without any actual moves, then
    commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
    instances only for SUNXI.

    We generally do not like such partial moves. This kind of work
    is automated by tools/moveconfig.py, so it is pretty easy to
    complete this move.

    I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
    This shortens the configs and will ease new board porting.

    This commit was created as follows:

    [1] Edit Kconfig (remove the "depends on", add the "default",
    copy the prompt and help message from Linux)

    [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'

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

    Masahiro Yamada
     

10 Dec, 2016

1 commit


18 Oct, 2016

1 commit


22 Sep, 2016

1 commit

  • As I repeated in the ML, I am unhappy with config entries with bare
    defaults. Kick them out of arch/arm/mach-uniphier/Kconfig.

    Currently, CONFIG_SPL_SERIAL_SUPPORT is not user-configurable
    (build fails without it), but it should be fixed later anyway,
    so I am moving CONFIG_SPL_SERIAL_SUPPORT to defconfigs.

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

    Masahiro Yamada
     

20 Sep, 2016

1 commit

  • This reverts commit 90c08d9e08c7a108ab904f3bbdeb558081757892.

    I took a closer look at this after the commit was applied, and found
    CONFIG_SYS_MALLOC_F_LEN=0x2000 was too much. 8KB memory for SPL is
    actually too big for some boards. Perhaps 0x800 is enough, but the
    situation varies board by board.

    Let's postpone our decision until we come up with a better idea.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass

    Masahiro Yamada
     

19 Sep, 2016

1 commit


17 Sep, 2016

1 commit


14 Sep, 2016

1 commit

  • This driver has not been converted to Driver Model, and it is an
    obstacle to migrate other block device drivers. Remove it for now.

    The UniPhier SoCs already use a DM-based EHCI driver, so now
    ARCH_UNIPHIER can select DM_USB.

    These two changes must be done atomically because removing the
    legacy driver causes a build error.

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

    Masahiro Yamada
     

07 Sep, 2016

1 commit


28 Aug, 2016

3 commits


27 Jul, 2016

1 commit


20 Jun, 2016

1 commit


10 Jun, 2016

1 commit


26 Apr, 2016

1 commit


24 Mar, 2016

1 commit


29 Feb, 2016

2 commits


14 Feb, 2016

1 commit

  • The UniPhier EHCI driver (drivers/usb/host/ehci-uniphier.c) does
    nothing special but set the base address and handle reset/clock.

    Since commit 4feefdcfe916 ("usb: add clock support for generic EHCI"),
    the generic one (drivers/usb/host/ehci-generic.c) can do those, too.

    We no longer need to stick to the dedicated driver.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

22 Dec, 2015

1 commit