08 Feb, 2018

1 commit


15 Aug, 2017

1 commit


08 Aug, 2017

1 commit


26 Jul, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

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
     

29 Jan, 2017

1 commit


28 Jan, 2017

1 commit


12 Oct, 2016

1 commit


10 Sep, 2016

1 commit


10 Jun, 2016

1 commit


26 Apr, 2016

2 commits


19 Nov, 2015

1 commit


26 Jun, 2015

1 commit


01 Jun, 2015

2 commits


15 Oct, 2013

1 commit


31 Jul, 2013

1 commit


24 Jul, 2013

2 commits

  • Signed-off-by: Wolfgang Denk
    [trini: Fixup common/cmd_io.c]
    Signed-off-by: Tom Rini

    Wolfgang Denk
     
  • Pull all the duplicate configuration options into configs/mxs.h
    from the board configuration files. This reduces the files greatly
    and makes them somewhat more readable. Besides, we do no longer
    have such a horrible duplication of code.

    Note that the mx23evk grew in size slightly. This is due to the
    CONFIG_SYS_CBSIZE now being set to 1024 as it is on the rest of
    MXS systems.

    This patch also fixes the OCRAM size for i.MX23. The i.MX23 has
    only 32kB of OCRAM, while i.MX28 has 128kB of OCRAM.

    I verified the configuration didn't change for each of the boards,
    but I didn't boot-test it on the boards I do not have. I configured
    U-Boot for each board using the "make ... _config" command
    and then ran "cpp -I include -dM include/config.h" , which dumped
    all the configuration options. I did this both before and after this
    patch and finally compared the results for each MXS board. Actually,
    the results do differ slightly, since the configs/mxs.h file now
    properly includes the correct iomux-mx23.h or iomux-mx28.h , so
    while comparing, I had to ignore these new defines. These have no
    impact on U-Boot configuration though.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Lauri Hintsala
    Cc: Otavio Salvador
    Cc: Stefano Babic

    Marek Vasut
     

08 Mar, 2013

1 commit

  • Rework ehci-mxs so it supports both ports on MX28. It was necessary
    to wrap the per-port configuration into struct ehci_mxs_port and pull
    out the clock configuration function.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Otavio Salvador
    Cc: Stefano Babic

    Marek Vasut
     

12 Feb, 2013

1 commit


04 Feb, 2013

1 commit


28 Jan, 2013

1 commit


28 Nov, 2012

1 commit


04 Sep, 2012

1 commit


01 Sep, 2012

3 commits