09 Feb, 2020
1 commit
-
Both CMD_MX_CYCLIC and MX_CYCLIC are in use and defined in Kconfig,
but only the non-CMD version currently does anything. This changes all
usages to prefer the CMD_MX_CYCLIC option (since it's only affecting
addition of the commands), and switches defconfigs using the non-CMD
version to use the CMD version.Signed-off-by: Joel Johnson
Reviewed-by: Tom Rini
23 Jan, 2020
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
05 Dec, 2019
3 commits
-
SPL has limited available resources, and the performance between
ARM and Thumb isn't that significant.This patch builds using Thumb instruction set to reduce the code
size by nearly 6K.Original:
text data bss dec hex filename
26526 4004 1376 31906 7ca2 spl/u-boot-splThumb:
text data bss dec hex filename
20232 4004 1376 25612 640c spl/u-boot-splSigned-off-by: Adam Ford
Tested-by: Bartosz Golaszewski
Reviewed-by: Bartosz Golaszewski -
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
-
Both symbols must be enabled when there is a raw NAND driver
selected. Also enable them when CONFIG_CMD_NAND is selected to avoid
breaking things when we'll further rework the MTD dependency
description.Signed-off-by: Miquel Raynal
Reviewed-by: Boris Brezillon
[trini: Rebase and migrate a few more boards here]
Signed-off-by: Tom Rini
04 Dec, 2019
2 commits
-
CONFIG_MTD must be reserved for the MTD core. Like any other
subsystem, prefix the symbol by DM when it comes to DM support.Signed-off-by: Miquel Raynal
Reviewed-by: Boris Brezillon
[trini: Add Kconfig files]
Signed-off-by: Tom Rini -
Add more clarity by changing the Kconfig entry name.
Signed-off-by: Miquel Raynal
[trini: Re-run migration, update a few more cases]
Signed-off-by: Tom Rini
Reviewed-by: Boris Brezillon
03 Dec, 2019
3 commits
-
In order to further prepare for full device tree support in SPL,
this patch enables both SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE.
Both of these are already enabled in U-Boot, so SPL will have
the same functionalitySigned-off-by: Adam Ford
Tested-by: Bartosz Golaszewski
Reviewed-by: Bartosz Golaszewski -
Driver model requires a malloc pool to allocate memory before
relocations to operate serial and some other devices. This patch
increases the pool size to 2K.Signed-off-by: Adam Ford
Tested-by: Bartosz Golaszewski
Reviewed-by: Bartosz Golaszewski -
In preparation to use full device tree support, SPL can separate
BSS from text region.This patch enables SPL_SEPARATE_BSS.
Signed-off-by: Adam Ford
Tested-by: Bartosz Golaszewski
Reviewed-by: Bartosz Golaszewski
21 Nov, 2019
2 commits
-
- In ARMv8 NXP Layerscape platforms we also need to make use of
CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
- On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
to 0.
- Add Kconfig entry for ENV_ADDR.
- Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
- Add ENV_xxx_REDUND options that depend on their primary option and
SYS_REDUNDAND_ENVIRONMENT
- On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
for the pre-main-U-Boot environment location.
- On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
rather it being non-zero, as it will now be zero by default.
- Rework the env_offset absolute in env/embedded.o to not use
CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
ENV_IS_IN_FLASH.
- Migrate all platforms.Cc: Wolfgang Denk
Cc: Joe Hershberger
Cc: Patrick Delaunay
Cc: uboot-stm32@st-md-mailman.stormreply.com
Signed-off-by: Tom Rini
Acked-by: Joe Hershberger
Reviewed-by: Simon Goldschmidt -
Today in initr_reloc_global_data() we use some non-obvious tests to
determine if we need to relocate the env_addr within gd or not. In
order to facilitate migration of other symbols to Kconfig we need to
introduce a new symbol for this particular use case.Cc: Wolfgang Denk
Cc: Joe Hershberger
Signed-off-by: Tom Rini
23 Sep, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
13 Sep, 2019
3 commits
-
The single pinctrl supports the da8xx, so this patch enables
pinctrl in U-Boot.Signed-off-by: Adam Ford
-
The da8xx GPIO driver is available with DM_GPIO support. This
patch enables the CMD_GPIO, CMD_DM, and DM_GPIO and DA8XX_GPIO.Signed-off-by: Adam Ford
-
The USB was just recently enabled, so it is unlikely anyone is
using it in SPL, so this patch removes it from SPL to further
reduce the SPL code size.Signed-off-by: Adam Ford
26 Aug, 2019
2 commits
-
Convert CONFIG_SYS_NAND_USE_FLASH_BBT to Kconfig, update defconfigs,
headers and whitelist.Please note that this symbol already was used in Kconfig
(imply in CONFIG_NAND_ATMEL) which did not work, since this symbol was
not available in Kconfig. This changes now with this patch and all
boards with CONFIG_NAND_ATMEL will have BBT enabled. Which is what
I also need on my GARDENA AT91SAM based board.Signed-off-by: Stefan Roese
Cc: Eugen Hristev
Cc: Miquel Raynal
Cc: Gregory CLEMENT
[trini: Rework such that the configs are unchanged to start with]
Signed-off-by: Tom Rini -
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
24 Aug, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_MX_CYCLICSigned-off-by: Adam Ford
Acked-by: David Lechner
20 Aug, 2019
1 commit
-
The OMAPL138-lcdk has two USB controllers which are currently
disabled. This patch enables them.Signed-off-by: Adam Ford
14 Aug, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
30 Jul, 2019
6 commits
-
Enable CONFIG_SPL_DM and enable the driver model for serial by defining
an appropriate device in the board file for da850-lcdk.Signed-off-by: Bartosz Golaszewski
-
We're working towards enabling the driver-model in SPL for da850-lcdk.
Enable CONFIG_USE_TINY_PRINTF in defconfig to reduce SPL size.Signed-off-by: Bartosz Golaszewski
-
We're working towards enabling the driver model in SPL for da850-lcdk.
Enable SPL_SYS_MALLOC_SIMPLE in defconfig to reduce SPL size.Signed-off-by: Bartosz Golaszewski
-
Enable the driver-model on da850-lcdk. We need to add a dummy nand node
to the device tree, as the real nand node is a sub-node of the aemif
device.On linux the aemif driver populates all its child nodes, but we can't do
it in u-boot currently.Signed-off-by: Bartosz Golaszewski
-
The following warning is emited when building u-boot for da850-lcdk:
===================== WARNING ======================
This board does not use CONFIG_DM_SPI. Please update
the board before v2019.04 for no dm conversion
and v2019.07 for partially dm converted drivers.
Failure to update can lead to driver/board removal
See doc/driver-model/MIGRATION.txt for more info.
====================================================
===================== WARNING ======================
This board does not use CONFIG_DM_SPI_FLASH. Please update
the board to use CONFIG_SPI_FLASH before the v2019.07 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.
====================================================While we could fix it by selecting CONFIG_DM_SPI, there's no need to
build it at all as SPI is disabled on da850-lcdk. Remove all unneeded
options from the defconfig.Signed-off-by: Bartosz Golaszewski
Acked-by: Heiko Schocher -
This option is no longer used on any davinci board but still selected
in defconfigs which causes the following warning:===================== WARNING ======================
This board uses CONFIG_DM_I2C_COMPAT. Please remove
(possibly in a subsequent patch in your series)
before sending patches to the mailing list.
====================================================Remove all references to CONFIG_DM_I2C_COMPAT from davinci.
Signed-off-by: Bartosz Golaszewski
Acked-by: Heiko Schocher
26 Jul, 2019
1 commit
-
Now that we removed all legacy boards selecting TI_EMAC we can
completely convert the driver code to using the driver model.
This patch also updates all remaining users of davinci_emac.Signed-off-by: Bartosz Golaszewski
Tested-by: Adam Ford #am3517-evm & da850-evm
Reviewed-by: Ramon Fried
06 Jun, 2019
1 commit
-
U-Boot README recommends initializing SDRAM in board_init_f(). DA850
was doing it as part of board_init_r() (through call to spl_board_init()
which calls arch_cpu_init() which calls da850_ddr_setup())This worked fine till commit 15b8c7505819 ("davinci:
da850evm/omapl138-lcdk: Move BSS to SDRAM because SRAM is full") moved
BSS to SDRAM.Functions like mmc_initialize() called in board_init_r() assume BSS is
available. Since SDRAM was not initialized when arch/arm/lib/crt0.S tried
to initialize BSS to 0, BSS is not initialized correctly.Fix this by simply calling arch_cpu_init() from board_init_f(). Also move
preloader_console_init() there to help debug issues with board_init_r().With this spl_board_init() is no longer needed, we remove it.
Tested using MMC/SD boot on OMAP-L138 LCDK board.
Tested-by: Adam Ford #da850evm
Signed-off-by: Sekhar Nori
Tested-by: Peter Howard #omapl138_lcdk
30 Apr, 2019
2 commits
-
Moved CONFIG_SPL_TEXT_BASE to common/spl/Kconfig and migrate existing
values.Signed-off-by: Simon Goldschmidt
[trini: Re-run migration]
Signed-off-by: Tom Rini -
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
26 Mar, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_SF_DEFAULT_BUS
CONFIG_SF_DEFAULT_CS
CONFIG_SF_DEFAULT_MODE
CONFIG_SF_DEFAULT_SPEEDI use moveconfig script and then manual check on generated u-boot.cfg
to solve the remaining issue.Signed-off-by: Patrick Delaunay
14 Nov, 2018
1 commit
-
Now that CMD_UBI does not select CMD_MTDPARTS we need to make platforms
that had been enabling it turn it on by hand. This exposed that we had
not yet migrated CMD_MTDPARTS fully, so do so now.Fixes: 86dfa556d927 ("cmd: ubi: Remove useless call to mtdparts_init()")
Signed-off-by: Tom Rini
12 Sep, 2018
1 commit
-
With DM_MMC now available, this patch enables DM_MMC for the
omapl138_lcdk in U-Boot and keeps the older style for SPL.Signed-off-by: Peter Howard
Signed-off-by: Adam Ford
04 Sep, 2018
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
18 Aug, 2018
3 commits
-
This converts the following to Kconfig:
CONFIG_SYS_I2C_DAVINCISigned-off-by: Adam Ford
-
This converts the following to Kconfig:
CONFIG_MISC_INIT_RSigned-off-by: Adam Ford
[trini: Update the defaults logic slightly]
Signed-off-by: Tom Rini -
This converts the following to Kconfig:
CONFIG_MII
CONFIG_DRIVER_TI_EMACSigned-off-by: Adam Ford
Acked-by: Jagan Teki
Acked-by: Joe Hershberger
17 Aug, 2018
1 commit
-
We have the following cases:
- CONFIG_NR_DRAM_BANKS was defined, migrate normally
- CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
- CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
2), set this to 8.Signed-off-by: Tom Rini
22 Jul, 2018
1 commit
-
This converts the following to Kconfig:
CONFIG_NAND_DAVINCISigned-off-by: Adam Ford