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

1 commit


10 Jan, 2017

1 commit


30 Dec, 2016

1 commit

  • 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
     

15 Nov, 2016

1 commit


15 Oct, 2016

1 commit


12 Oct, 2016

1 commit


17 Sep, 2016

1 commit


02 Aug, 2016

1 commit


22 Jul, 2016

3 commits


10 Jun, 2016

1 commit


24 May, 2016

1 commit

  • Extending Kconfig for adding new platform is a lot of work
    for nothing. Setting SYS_CONFIG_NAME directly in Kconfig and
    remove all dependencies on TARGET_ZYNQ_* options including SPL.
    As a side-effect it also remove custom init folder for ps7_init_gpl.*
    files. Folder is chosen based on device-tree file.

    Signed-off-by: Michal Simek

    Michal Simek
     

26 Apr, 2016

3 commits


27 Jan, 2016

1 commit


13 Jan, 2016

1 commit


18 Dec, 2015

1 commit


07 Dec, 2015

2 commits


19 Nov, 2015

1 commit


04 Nov, 2015

1 commit

  • Production boards should not use CONFIG_OF_EMBED. Fix this for the Zybo
    boards.

    The image to use now becomes u-boot-dtb.bin.

    For example, the .bif file should contain a line like:

    [load = 0x04000000,startup=0x04000000]/path/to/u-boot-dtb.bin

    instead of:

    [load = 0x04000000,startup=0x04000000]/path/to/u-boot.bin

    When device tree is enabled we need to load u-boot-dtb.img. Change the
    settings so that SPL does the right thing.

    Signed-off-by: Simon Glass
    Signed-off-by: Michal Simek

    Simon Glass
     

25 Oct, 2015

1 commit


28 Sep, 2015

1 commit


19 Aug, 2015

2 commits

  • We have to set a MAC address to use network.
    Otherwise, the tftpboot command fails with the following message:

    Gem.e000b000 Waiting for PHY auto negotiation to complete........ done
    *** ERROR: `ethaddr' not set

    Since commit 92ac52082140 ("net: Remove all references to
    CONFIG_ETHADDR and friends"), we can not use CONFIG_ETHADDR.

    The easiest way to set a MAC address is to enable
    CONFIG_NET_RANDOM_ETHADDR.

    Signed-off-by: Masahiro Yamada
    Acked-by: Joe Hershberger
    Signed-off-by: Michal Simek

    Masahiro Yamada
     
  • Use embedded DTB to let users use u-boot instead of u-boot-dtb.bin.
    And fix SPL to use this target.

    Signed-off-by: Michal Simek

    Michal Simek
     

28 Jul, 2015

1 commit