- Oct 06, 2021
-
-
Tom Rini authored
This converts the following to Kconfig: CONFIG_SYS_NAND_5_ADDR_CYCLE Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
This converts the following to Kconfig: CONFIG_SYS_NAND_PAGE_COUNT Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Sep 30, 2021
-
-
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Signed-off-by:
Wolfgang Denk <wd@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Sep 28, 2021
-
-
When mdio_register fails, mdio_free should be called on the mdiodev that was previously allocated with mdio_alloc. Signed-off-by:
Vladimir Oltean <vladimir.oltean@nxp.com>
-
strncpy() simply bails out when copying a source string whose size exceeds the destination string size, potentially leaving the destination string unterminated. One possible way to address is to pass MDIO_NAME_LEN - 1 and a previously zero-initialized destination string, but this is more difficult to maintain. The chosen alternative is to use strlcpy(), which properly limits the copy len in the (srclen >= size) case to "size - 1", and which is also more efficient than the strncpy() byte-by-byte implementation by using memcpy. The destination string returned by strlcpy() is always NULL terminated. Signed-off-by:
Vladimir Oltean <vladimir.oltean@nxp.com>
-
Remove the driver st_smic.c used in SPEAr products and the associated config CONFIG_ST_SMI; this driver is no more used in U-Boot after the commit 570c3dcf ("arm: Remove spear600 boards and the rest of SPEAr support"). Fixes: 570c3dcf ("arm: Remove spear600 boards and the rest of SPEAr support") Signed-off-by:
Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Our mailmapper script required Python 2 which is no longer maintained. A main difference when converting to Python 3 is that byte strings are not character strings. So add conversion and skip over conversion errors. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
- Sep 25, 2021
-
-
Simon Glass authored
Simplify some of the Makefile rules using this Kconfig. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Sep 24, 2021
-
-
Signed-off-by:
Kristian Amlie <kristian.amlie@northern.tech> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Remove the driver st_smic.c used in SPEAr products and the associated config CONFIG_ST_SMI; this driver is no more used in U-Boot after the commit 570c3dcf ("arm: Remove spear600 boards and the rest of SPEAr support"). Fixes: 570c3dcf ("arm: Remove spear600 boards and the rest of SPEAr support") Signed-off-by:
Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Our mailmapper script required Python 2 which is no longer maintained. A main difference when converting to Python 3 is that byte strings are not character strings. So add conversion and skip over conversion errors. Signed-off-by:
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-
- Sep 21, 2021
-
-
Eugen Hristev authored
AT91EMAC driver is unused, thus removing. Signed-off-by:
Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Eugen Hristev authored
CONFIG_SYS_AT91_CPU_NAME looks to be unused. Remove it and remove it from config_whitelist.txt Signed-off-by:
Eugen Hristev <eugen.hristev@microchip.com>
-
- Sep 16, 2021
-
-
Tom Rini authored
CONFIG_SPIFLASH is manually re-added as it is not a new symbol, but now only exists in CONFIG_SYS_EXTRA_OPTIONS. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Sep 14, 2021
-
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Sep 13, 2021
-
-
This does not work with driver model so can be removed. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This board has not been converted to CONFIG_DM_PCI by the deadline. Remove it. Note that we have to add CONFIG_SPIFLASH to scripts/config_whitelist.txt because it's not really migrated at this point. Acked-by:
Michael Durrant <mdurrant@arcturusnetworks.com> Acked-by:
Oleksandr Zhadan <oleks@arcturusnetworks.com> Acked-by:
Oleksandr Zhadan and Michael Durrant <arcsupport@arcturusnetworks.com> Signed-off-by:
Simon Glass <sjg@chromium.org> [trini: Handle CONFIG_SPIFLASH differently and delete Kconfig file] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Sep 04, 2021
-
-
Rename this option so that CONFIG_IS_ENABLED can be used with it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This converts the following to Kconfig: CONFIG_POWER_I2C CONFIG_POWER_LEGACY They are handled at the same time due to a dependency between them. Update the Makefile rule to use legacy power only in U-Boot proper. Unfortunately a separate rule is needed in SPL to be able to build legacy power. Add SPL related symbols for both, to allow for SPL-only usage. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com> [trini: More SPL related cleanups, reword commit message] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
This option is used in pre-driver model code and much of it has never been converted to driver model. We want to add a new option to enable power support, so we can use a simple rule in the Makefile. Rename this one, which is really about a particular implementation of power. Also update the pmic.h header file so it either includes the legacy API or the driver model one. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
This converts the following to Kconfig: CONFIG_DMA_LPC32XX Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Sep 01, 2021
-
-
Tom Rini authored
This resyncs us with the version found in v5.13 of the Linux kernel with the following exceptions: - Keep our u-boot specific tests / code area. - Change the location of checkpatch.rst (which we now import) - Drop the "use strscpy" test as we don't have that, but do have strlcpy and want that used now. - Keep debug/printf in the list for $logFunctions And note that we now also include the spdxcheck.py tool that checkpatch.pl supports calling out to, and include upstream's checkpatch.rst in our develop section of the documentation. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 31, 2021
-
-
Tom Rini authored
This converts the following to Kconfig: CONFIG_SKIP_LOWLEVEL_INIT CONFIG_SKIP_LOWLEVEL_INIT_ONLY In order to do this, we need to introduce SPL and TPL variants of these options so that we can clearly disable these options only in SPL in some cases, and both instances in other cases. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
This converts the following to Kconfig: CONFIG_RAMBOOT_PBL CONFIG_SYS_FSL_PBL_PBI CONFIG_SYS_FSL_PBL_RCW Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 30, 2021
-
-
Tom Rini authored
First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
This converts the following to Kconfig: CONFIG_ID_EEPROM Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
There are a number of DWC2 configuration options that are set in dwc2.h and referenced in dwc2.c only. Move these out of the CONFIG_DWC2 namespace and in to the DWC2 namespace. Note that hikey was defining an option that was already always enabled, so we can remove that hunk. Cc: Marek Vasut <marex@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 18, 2021
-
-
Use moveconfig.py script to convert below defines to Kconfig and move these entries to defconfigs. CONFIG_CORTINA_FW_ADDR CONFIG_CORTINA_FW_LENGTH Signed-off-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
- Aug 10, 2021
-
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 06, 2021
-
-
This is not used in U-Boot at present. Drop it and related config options. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Aug 05, 2021
-
-
This is not used. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Aug 04, 2021
-
-
Symbol CONFIG_SYS_ID_EEPROM is defined in include/configs/MPC8548CDS.h but never used. Remove it here and from the whitelist. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- Jul 31, 2021
-
-
Macro CONFIG_SYS_U_BOOT_OFFS is set but not used anymore. Remove it. Signed-off-by:
Pali Rohár <pali@kernel.org> Reviewed-by:
Marek Behún <marek.behun@nic.cz> Reviewed-by:
Chris Packham <judge.packham@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-
- Jul 29, 2021
-
-
With LTO activated, the buildman tools failed with an error on my configuration (Ubuntu 20.04, stm32mp15_trusted_defconfig) with the error: ../arm-linux-gnueabi/bin/nm: scripts/gen_ll_addressable_symbols.sh: file format not recognized It seems the shell variable initialization NM=$(NM) is not correctly interpreted when shell is started in the Makefile, but I have not this issue when I compile the same target without buildman. I don't found the root reason of the problem but I solve it by providing $(NM) as script parameter instead using a shell variable. The command executed is identical: cmd_keep-syms-lto.c := NM=arm-none-linux-gnueabihf-gcc-nm \ u-boot/scripts/gen_ll_addressable_symbols.sh arch/arm/cpu/built-in.o \ .... net/built-in.o >keep-syms-lto.c cmd_keep-syms-lto.c := u-boot/scripts/gen_ll_addressable_symbols.sh \ arm-none-linux-gnueabihf-gcc-nm arch/arm/cpu/built-in.o \ ... net/built-in.o > keep-syms-lto.c Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Patrick Delaunay <patrick.delaunay@foss.st.com>
-
- Jul 28, 2021
-
-
This actually does nothing but is defined by a few dozen boards. Drop it, so we can define a real one. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
- Jul 27, 2021
-
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jul 14, 2021
-
-
Tom Rini authored
This script was broken by the change to default archives for linking. This is due to objcopy specifically disallowing copying of thin archives. To fix this and re-support external users of this script, switch to using the same logic the u-boot-initial-env make target uses to dump the section from the object file. Reported-by:
Jan Kiszka <jan.kiszka@web.de> Fixes: 958f2e57 ("build: use thin archives instead of incremental linking") Signed-off-by:
Tom Rini <trini@konsulko.com>
-