- Oct 08, 2019
-
-
Michal Simek authored
It is common for the whole architecture that's why move it there. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Aug 02, 2019
-
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_USE_PREBOOT CONFIG_PREBOOT Both are together in one commit, since otherwise the former causes kconfig to define the latter, which gives duplicate symbol errors. Includes a manual fixup for CONFIG_PREBOOT in ids8313_defconfig since the backslash lands in the wrong place. Similarly with socfpga_vining_fpga. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
In order to use CONFIG_PREBOOT with Kconfig, CONFIG_USE_PREBOOT must be defined for each board. To prepare for conversion to Kconfig, add this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Mar 25, 2019
-
-
Patrick Delaunay authored
This converts the following to Kconfig: CONFIG_ENV_SPI_BUS CONFIG_ENV_SPI_CS CONFIG_ENV_SPI_MAX_HZ CONFIG_ENV_SPI_MODE Most of time these value are not needed, CONFIG_SF_DEFAULT with same value is used, so I introduced CONFIG_USE_ENV_SPI_* to force the associated value for the environment. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
This converts the following to Kconfig: CONFIG_SF_DEFAULT_BUS CONFIG_SF_DEFAULT_CS CONFIG_SF_DEFAULT_MODE CONFIG_SF_DEFAULT_SPEED I use moveconfig script and then manual check on generated u-boot.cfg to solve the remaining issue. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
- Oct 19, 2018
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_FLASH_CFI_DRIVER CONFIG_SYS_FLASH_USE_BUFFER_WRITE CONFIG_FLASH_CFI_MTD CONFIG_SYS_FLASH_PROTECTION CONFIG_SYS_FLASH_CFI Signed-off-by:
Adam Ford <aford173@gmail.com> [trini: Re-migrate] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 17, 2018
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_MII CONFIG_DRIVER_TI_EMAC Signed-off-by:
Adam Ford <aford173@gmail.com> Acked-by:
Jagan Teki <jagan@amarulasolutions.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Jul 22, 2018
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_MTD_PARTITIONS CONFIG_MTD_DEVICE Signed-off-by:
Adam Ford <aford173@gmail.com>
-
- Jul 19, 2018
-
-
Michal Simek authored
XILINX_SPI_FLASH_BASEADDR logic has been converted to DM that's why there is no reason to depend on this address anymore. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Converting GPIO to DM requires to do changes in reset subsystem that's why support for Microblaze soft reset via sysreset and GPIO sysreset support was added. These two patches enables enabling GPIO DM. Microblaze soft reset is bind at last reset method. GPIO reset is handled via sysreset with adding this fragment to DT. gpio-restart { compatible = "gpio-restart"; gpios = <&reset_gpio 0 0 0>; /* 3rd cell ACTIVE_HIGH = 0, ACTIVE_LOW = 1 */ }; hard-reset-gpio property is not documented and also handled. Conversion is required. Unfortunately do_reset is required for SPL that's why use only soft microblaze reset for now. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Shreenidhi Shedi authored
These macros are not required anymore. These will be taken from configuration file. Signed-off-by:
Shreenidhi Shedi <yesshedi@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Shreenidhi Shedi authored
Signed-off-by:
Shreenidhi Shedi <yesshedi@gmail.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- May 07, 2018
-
-
Tom Rini authored
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Apr 27, 2018
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_SPI This partly involves updating code that assumes that CONFIG_SPI implies things that are specific to the MPC8xx SPI driver. For now, just update the CONFIG tests. This also involves reworking the default for CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a reasonable default, as it does not cause any compile failures. Signed-off-by:
Adam Ford <aford173@gmail.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Apr 08, 2018
-
-
Mario Six authored
CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every use is couched by __stringify(...). Hence, convert it to a proper string option. Signed-off-by:
Mario Six <mario.six@gdsys.cc>
-
- Mar 01, 2018
-
-
Vipul Kumar authored
This patch added Kconfig support for CONFIG_XILINX_GPIO and enabled it in respective defconfig. Signed-off-by:
Vipul Kumar <vipulk@xilinx.com> Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 24, 2018
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_BOOTP_BOOTPATH CONFIG_BOOTP_DNS CONFIG_BOOTP_GATEWAY CONFIG_BOOTP_HOSTNAME CONFIG_BOOTP_PXE CONFIG_BOOTP_SUBNETMASK CONFIG_CMDLINE_EDITING CONFIG_AUTO_COMPLETE CONFIG_SYS_LONGHELP CONFIG_SUPPORT_RAW_INITRD CONFIG_ENV_VARS_UBOOT_CONFIG Signed-off-by:
Adam Ford <aford173@gmail.com> [trini: Re-run the migration] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Feb 14, 2018
-
-
Tom Rini authored
Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the current set of options we have in Kconfig. We will need to have some options available for SPL and !SPL_FRAMEWORK so this is important. In a few cases we re-order existing options so that we have less escapes from the SPL_FRAMEWORK guard. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jan 30, 2018
-
-
Vipul Kumar authored
This patch moved ethernet PHY configs of Microblaze board to respective defconfig. Signed-off-by:
Vipul Kumar <vipulk@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Nov 05, 2017
-
-
Tom Rini authored
We move all instances of CONFIG_MTDIDS_DEFAULT and CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files. There's a few cases here where we need to expand upon what was in the header file. Tested-by: Adam Ford <aford173@gmail.com> #omap3_logic Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Sep 03, 2017
-
-
Thomas Petazzoni authored
Now that the fallback value of CONFIG_SYS_PBSIZE in include/config_fallbacks.h has been adjusted, remove its definition from a large number of board configuration files. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Aug 14, 2017
-
-
Sam Protsenko authored
Also introduce CONFIG_USE_BOOTARGS option so we can control if CONFIG_BOOTARGS defined at all. Signed-off-by:
Sam Protsenko <semen.protsenko@linaro.org> [trini: Resync r8a779[56]_ulcb, various ls10xx targets] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 13, 2017
-
-
Philipp Tomsich authored
With the hierarchical defaults set up, we remove these from the header files. To do so, I've run moveconfig on SPL_LDSCRIPT and this commits the changes. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Aug 11, 2017
-
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_CMD_SPL Note that trats does not actually use SPL, so this option can no-longer be set. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_CMD_SAVES Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_CMD_MMC_SPI Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
- Aug 08, 2017
-
-
Tom Rini authored
Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 07, 2017
-
-
Alexandru Gagniuc authored
Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexandru Gagniuc authored
These boards will now use the ksz90x1 driver instead of the mess in ksz8xxx. This change is needed before the two drivers can be fully separated. Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
- Jul 26, 2017
-
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_ENV_IS_IN_SPI_FLASH Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_ENV_IS_IN_FLASH Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
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 <sjg@chromium.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jul 25, 2017
-
-
Tom Rini authored
The above CONFIG options are in Kconfig, and now have correct depends and inter-dependencies. Migrate these to configs/ from include/configs/. In the case of CMD_UBIFS also change it to be a default y if CMD_UBI. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- May 22, 2017
-
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_CMD_IRQ Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
This converts the following to Kconfig: CONFIG_CMD_JFFS2 Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Ley Foon Tan authored
This converts the following to Kconfig: CONFIG_SPL_BOARD_INIT Signed-off-by:
Ley Foon Tan <ley.foon.tan@intel.com> [trini: Update the Kconfig logic] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Mar 19, 2017
-
-
Philipp Tomsich authored
Move this in to Kconfig with a default of 115200. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [trini: Run moveconfig.py, reword commit slightly] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Feb 12, 2017
-
-
Masahiro Yamada authored
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 <yamada.masahiro@socionext.com>
-
- Jan 21, 2017
-
-
Jagan Teki authored
Cc: Tom Rini <trini@konsulko.com> Signed-off-by:
Jagan Teki <jagan@openedev.com>
-
- Jan 14, 2017
-
-
Stefan Agner authored
This converts the following to Kconfig: CONFIG_SPL_RAM_DEVICE Signed-off-by:
Stefan Agner <stefan.agner@toradex.com>
-