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
1 commit
-
The da850-evm doesn't have the boot pins configured in a way
to make MMC/SD booting an option, and MMC/SD support is not
enabled in SPL. Therefore, there is no need to support raw mode
mmc/sd support in SPL.This patch disables CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
Signed-off-by: Adam Ford
04 Dec, 2019
2 commits
-
Like in Linux, just use CONFIG_MTD to compile the MTD stack.
Signed-off-by: Miquel Raynal
Reviewed-by: Boris Brezillon -
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
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
08 Nov, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
23 Sep, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
26 Aug, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_SYS_SPI_U_BOOT_OFFSSigned-off-by: Hannes Schmelzer
[trini: Expose this for SPL_SPI_SUNXI for now]
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
08 Aug, 2019
1 commit
-
This patch will enable the MUSB driver to support mass storage
devices connected to the OTG port in host mode.Signed-off-by: Adam Ford
01 Aug, 2019
2 commits
-
This patch enables MTD and CMD_MTD and it works with SPI NOR,
so the older CMD_SF can be removed.Signed-off-by: Adam Ford
-
The MTDPARTS currently lists just u-boot.ais as 512k in size.
This works when loading the ais file via serial port, but if one
wanted to update just the u-boot portion, it's not really possible.
This patch splits the MTDPARTS into a 32k SPL partiion and a 480k
u-boot partition which allows u-boot.img to be burned to the u-boot
partition. The remaining partitions are left with the same sizes
and offsets to not break backwards compatibility.Signed-off-by: Adam Ford
30 Jul, 2019
1 commit
-
Enable the driver-model on da850-evm. 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
Tested-by: Adam Ford #da850-evm
28 Jul, 2019
1 commit
-
OHCI was added with DM_USB support, so there are a few unneeded
items in the header file that can be removed. This also
unifies da850evm with NOR and NAND booting options so all have
OHCI support.Signed-off-by: Adam Ford
[trini: Migrate da850_am18xxevm]
Signed-off-by: Tom Rini
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
19 May, 2019
1 commit
-
There appears to be enough RAM to support cache in SPL.
This pach enables block cache in SPL.Signed-off-by: Adam Ford
05 May, 2019
1 commit
-
The DA850 EVM has one USB 1.1 OHCI Host controller. With the
host controller now support DM_USB, this patch enables
the respective functions for the da850evm.Signed-off-by: Adam Ford
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
27 Apr, 2019
2 commits
-
The da850evm include environment/ti/mmc.h and places
DEFAULT_MMC_TI_ARGS, defined int that file, in
CONFIG_EXTRA_ENV_SETTINGS. This has been broken for some time
since neither CMD_PART nor CMD_UUID are available, so manually
changing the environmental variables was always required before
booting from MMC. With this patch, these scripts should work
again, and by default they point to mmc 0, partition 2, and
the dtb file exists in a /boot directory on partition 2.Signed-off-by: Adam Ford
-
A previous patch converted a bunch of settings for CONFIG_SF_DEFAULT
but it broke the SPI Flash which now prevents booting. This patch
now correctly sets CONFIG_SF_DEFAULT_SPEED=30000000 to match what it
was before the conversion.Fixes: 14453fbfadc2 ("Convert CONFIG_SF_DEFAULT_* to Kconfig")
Signed-off-by: Adam Ford
14 Apr, 2019
1 commit
-
Conflicts:
arch/arm/dts/armada-385-amc.dts
arch/arm/dts/armada-xp-theadorable.dts
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsiSigned-off-by: Tom Rini
12 Apr, 2019
2 commits
-
With the memory mapping giving us some more avialable RAM, this
updates the da850-evm-u-boot.dtsi to include the serial port, SPI
and Flash nodes along with some dependent nodes in the SPL dtb.
This also removes the platform data initialization code for the
serial port and SPI Flash.Signed-off-by: Adam Ford
-
This patch update the behavior introduced by
commit 96907c0fe50a ("dm: spi: Read default speed and mode values from DT")In case of DT boot, don't read default speed and mode for SPI from
CONFIG_* but instead read from DT node. This will make sure that boards
with multiple SPI/QSPI controllers can be probed at different
bus frequencies and SPI modes.Remove also use in boards of the value speed=0 (no more supported)
for ENV in SPI by using CONFIG_ENV_SPI_MAX_HZ=0.DT values will be always used when available (full DM support of
SPI slave with available DT node) even if speed and mode are requested;
for example in splash screen support (in splash_sf_read_raw)
or in SPL boot (in spl_spi_load_image).
The caller of spi_get_bus_and_cs() no more need to force speed=0.But the current behavior don't change if the SPI slave is not
present (device with generic driver is created automatically)
or if platdata is used (CONFIG_OF_PLATDATA).Signed-off-by: Patrick Delaunay
Acked-by: Jagan Teki
26 Mar, 2019
1 commit
-
This converts the following to Kconfig:
CONFIG_ENV_SPI_BUS
CONFIG_ENV_SPI_CS
CONFIG_ENV_SPI_MAX_HZ
CONFIG_ENV_SPI_MODEMost 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
19 Feb, 2019
1 commit
-
The SPI NOR frameware was recently updated, but they require a little
more memory that we had previosly allocated, so it stopped booting.
This patch doubles the size of CONFIG_SPL_SYS_MALLOC_F_LEN to 0x800.Fixes: c4e8862308d4 ("mtd: spi: Switch to new SPI NOR framework")
Signed-off-by: Adam Ford
08 Jan, 2019
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
14 Nov, 2018
2 commits
-
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 -
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
10 Oct, 2018
1 commit
-
This patch add SPL DM support for da8xxevm boards
with SPL serial, SPI drivers supported via platdata.Cc: Adam Ford
Signed-off-by: Jagan Teki
Tested-by: Adam Ford #da850evm
29 Sep, 2018
2 commits
-
The simple pin controller works for da850, so this patch enables
this to pin-mux the pins defined in the device tree for the da850evm.Signed-off-by: Adam Ford
-
With DM enabled, this patch enables the 'dm' command to access
the dm tree, uclass and devres.Signed-off-by: Adam Ford
12 Sep, 2018
1 commit
-
With the updated driver available to support DM_MMC, this patch
enables DM_MMC for da850evm.Signed-off-by: Adam Ford
04 Sep, 2018
1 commit
-
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
20 Aug, 2018
3 commits
-
The SPL space is limited. In order to try to enable DM in SPL,
we need more space. When combined wtih TINY_PRINTF, this reduces
the size of SPL by 6.5kOriginal:
text data bss dec hex filename
20760 1216 80 22056 5628 spl/u-boot-splTiny Printf
text data bss dec hex filename
17947 1216 80 19243 4b2b spl/u-boot-splMalloc Simple + Tiny Printf
text data bss dec hex filename
15187 176 28 15391 3c1f spl/u-boot-splSigned-off-by: Adam Ford
-
The SPL space is limited. In order to try to enable DM in SPL,
we need more space. This reduces the size of SPL by ~2.7Kbefore:
text data bss dec hex filename
20760 1216 80 22056 5628 spl/u-boot-spl
after:
text data bss dec hex filename
17947 1216 80 19243 4b2b spl/u-boot-splSigned-off-by: Adam Ford
-
Since using DM_I2C_COMPAT throws a warning during compilation,
and it isn't really needed any longer, so this patch removes
this feature and shrinks the code a bit.from:
text data bss dec hex filename
343326 13388 123448 480162 753a2 u-bootto:
text data bss dec hex filename
342924 13380 123440 479744 75200 u-bootSigned-off-by: Adam Ford