23 Mar, 2019
1 commit
-
When these were moved from mach-omap2 to board files they got placed
inside TI_SECURE_DEVICE ifdef block, they are not secure only, move
them up and out.Fixes: 413b90777f8d ("ti: fastboot: Move weak overrides to board files")
Signed-off-by: Andrew F. Davis
Reviewed-by: Lokesh Vutla
20 Feb, 2019
2 commits
-
- Switch to using the omap3-u-boot.dtsi file for needed properties
- Enable SPL_OF_CONTROLThis commit is based on the following series:
https://patchwork.ozlabs.org/project/uboot/list/?series=92472
https://patchwork.ozlabs.org/project/uboot/list/?series=92462Signed-off-by: Derald D. Woods
Reviewed-by: Tom Rini -
- Switch to using the omap3-u-boot.dtsi file for needed properties.
- Remove a few SPL features to free up more SRAM space.
- Switch CONFIG_SYS_TEXT_BASE to the normal default, we don't need to
worry about X-Loader at this point anymore.
- A few related updates to SPL options as part of switching to DM SPL.Signed-off-by: Tom Rini
Tested-by: Derald D. Woods
18 Jan, 2019
2 commits
-
am43xx_evm_ethboot_defconfig is not being actively used and has not been
moved to DM or DT. Also, ethboot cannot be tested on AM43xx EVM as such
due EVM limitations. Therefore delete it.Signed-off-by: Vignesh R
Reviewed-by: Tom Rini -
These defconfigs don't seem be actively used any more, and have not been
moved to adapt DM or DT. Therefore delete them.Signed-off-by: Vignesh R
Reviewed-by: Tom Rini
15 Dec, 2018
2 commits
-
Enable USB clocks in late init stage to support ports under DM_USB.
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini -
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
10 Dec, 2018
5 commits
-
- DM_I2C_COMPAT removal for all ti platforms from Jean-Jacques Hiblot
- Fix in i2c command help output from Chirstoph Muellner. -
- DWC3 and UDC cleanup
-
am57xx configs uses DM_I2C both in SPL and u-boot.
Remove code for non-DM I2C support.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher -
DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C
API when DM_I2C is used. The goal is to eventually remove DM_I2C_COMPAT
when all I2C "clients" have been migrated to use the DM API.
This a step in that direction for the TI based platforms.
Build tested with buildman:
buildman -dle am33xx ti omap3 omap4 omap5 davinci keystoneboot tested with:
am335x_evm, am335x_boneblack, am335x_boneblack_vboot (DM version),
am57xx_evm, dra7xx_evm, k2g_evm, am437x_evmSigned-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher -
The EEPROM reading in the board detection code is done through legacy
I2C functions which on platforms using DM_I2C this functionality is
provided via the CONFIG_DM_I2C_COMPAT layer. To allow newer platforms
to use the board detection code without relying on CONFIG_DM_I2C_COMPAT
go ahead and add an I2C handling implementation that directly uses the
I2C DM functionality.Signed-off-by: Andreas Dannenberg
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Heiko Schocher
07 Dec, 2018
7 commits
-
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini -
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini -
Enable DM_USB and DM_USB_DEV for AM57xx based boards.
Signed-off-by: Vignesh R
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini -
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini -
Enable USB clocks in late init stage to support ports under DM_USB.
Signed-off-by: Vignesh R
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini -
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini -
Currently k2 spi boot is broken as the image header
is getting copied to an invalid memory locationCONFIG_SYS_TEXT_BASE - sizeof (struct image_size)
which maps to 0xc000000 - 0x40 = 0xbffffc0 being a reserved
location.We cannot change the CONFIG_SYS_TEXT_BASE address as the single
stage boots like UART boot will need the address to be 0xc000000
hence override the spl_get_load_buffer to have image_header
address as CONFIG_SYS_TEXT_BASE aka 0xc000000Signed-off-by: Keerthy
17 Nov, 2018
3 commits
-
Update the README file to add r5 build support and system
firmware support.Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
Signed-off-by: Andreas Dannenberg -
Add initial defconfig support for AM65x
that runs on R5.Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
Signed-off-by: Andreas Dannenberg
Signed-off-by: Keerthy -
Add initial support for AM654 based EVM running on R5.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
Signed-off-by: Andreas Dannenberg
06 Nov, 2018
1 commit
-
Networking support for all TI K2 boards converted to use DM model and
CONFIG_DM_ETH enabled in all corresponding defconfig files, hence drop
unused non DM K2 networking code.Reviewed-by: Tom Rini
Acked-by: Joe Hershberger
Signed-off-by: Grygorii Strashko
11 Oct, 2018
1 commit
-
The uinitrd fixup logic should be executed after the FDT /chosen
node has been properly populated by fdt_initrd()Signed-off-by: Nicholas Faustini
Reviewed-by: Tom Rini
26 Sep, 2018
1 commit
-
On beaglebone black, it can so happen that PHY address
is not latched correctly on reset and board boots with
PHY responding to a different address than that
programmed in device-tree. For example, see this report:https://groups.google.com/d/msg/beagleboard/9mctrG26Mc8/1FuI_i5KW10J
Workaround this by fixing up device-tree passed to kernel
by using the PHY address detected in hardware.Beaglebone itself uses only one ethernet port and its DT
currently uses phy_id (obsoleted). But the function has
been written to handle multiple ports and phy_id as well
as phy-handle to make the function more generically useful.Signed-off-by: Sekhar Nori
Reviewed-by: Tom Rini
11 Sep, 2018
3 commits
-
Add initial defconfig support for AM65x that runs on A53.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla -
Add initial DT support for AM654 EVM that runs on A53.
Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla -
Add initial support for AM654 based EVM running on A53. Enable
4GB of DDR available on the EVM so that kernel DTB file
can be updated accordingly.Reviewed-by: Tom Rini
Signed-off-by: Lokesh Vutla
[Andreas: Added 4GB ddr support]
Signed-off-by: Andreas Dannenberg
04 Aug, 2018
1 commit
-
The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black,
but with the following differences:* Gigabit capable PHY
* Extra USB hub, optional i2c control
* lps3331ap barometer connected over i2c
* MPU6050 6 axis MEMS accelerometer/gyro connected over i2c
* 1GiB DDR3 RAM
* RTL8723 Wifi/Bluetooth connected over USBSigned-off-by: Koen Kooi
Reviewed-by: Tom Rini
25 Jul, 2018
1 commit
-
Some times gcc may generate data that is then used within code that may
be part of an efi runtime section. That data could be jump tables,
constants or strings.In order to make sure we catch these, we need to ensure that gcc emits
them into a section that we can relocate together with all the other
efi runtime bits. This only works if the -ffunction-sections and
-fdata-sections flags are passed and the efi runtime functions are
in a section that starts with ".text".Up to now we had all efi runtime bits in sections that did not
interfere with the normal section naming scheme, but this forces
us to do so. Hence we need to move the efi_loader text/data/rodata
sections before the global *(.text*) catch-all section.With this patch in place, we should hopefully have an easier time
to extend the efi runtime functionality in the future.Signed-off-by: Alexander Graf
[agraf: Fix x86_64 breakage]
13 Jun, 2018
2 commits
-
The pin used for HDMI HPD should be set to GPIO mode on DRA76, similarly
to all the other DRA7 and AM5 SoCs.Signed-off-by: Tomi Valkeinen
-
HDMI CEC pins are set to pull-up, but CEC requires no pull. Fix this.
Signed-off-by: Tomi Valkeinen
30 May, 2018
2 commits
-
Overriding fastboot_set_reboot_flag() in arch/arm/mach-omap2/boot-common.c
leaves it applying all boards that derive from this, not just the ones which
have support for Android bootloader flow. Move the weak function override to
the relevant board files.Signed-off-by: Alex Kiernan
Reviewed-by: Simon Glass -
Separate CMD_FASTBOOT from FASTBOOT and move code and configuration to
drivers/fastboot.Switch dependencies on FASTBOOT to USB_FUNCTION_FASTBOOT as anyone who wants
FASTBOOT before this series wants USB_FUNCTION_FASTBOOT. Split
USB_FUNCTION_FASTBOOT from FASTBOOT so they retain their existing
behaviour.Signed-off-by: Alex Kiernan
Reviewed-by: Simon Glass
Acked-by: Joe Hershberger
07 May, 2018
2 commits
-
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
-
A common voltage of 1.35V was being programmed for all am43 board
versions. EPOS-EVM Needs 1.20V for LPDDR2.Fixes: fc69d472621b5 (“board: ti: AM43XX: Add ddr voltage rail configuration”)
Reported-by: James Doublesin
Signed-off-by: Keerthy
Reviewed-by: Tom Rini
29 Apr, 2018
1 commit
-
If CONFIG_SPL_SERIAL_SUPPORT is not set, then the build will fail:
board/ti/am335x/built-in.o: In function `spl_start_uboot':
board/ti/am335x/board.c:247: undefined reference to `serial_tstc'
board/ti/am335x/board.c:247: undefined reference to `serial_getc'Avoid the calls to the serial functions in that case.
Signed-off-by: Alex Kiernan
28 Apr, 2018
1 commit
-
We have a large number of places where while we historically referenced
gd in the code we no longer do, as well as cases where the code added
that line "just in case" during development and never dropped it.Signed-off-by: Tom Rini
09 Apr, 2018
2 commits
-
In order that we can use eth_env_* even when CONFIG_NET isn't set, move
these functions to environment code from net code.This fixes failures such as:
board/ti/am335x/built-in.o: In function `board_late_init':
board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'which caters for use cases such as:
commit f411b5cca48f ("board: am335x: Always set eth/eth1addr environment
variable")when Ethernet is required in Linux, but not U-Boot.
Signed-off-by: Alex Kiernan
-
When compiling without CONFIG_CLOCK_SYNTHESIZER (which is implied by
CONFIG_DRIVER_TI_CPSW for am335x_evm), exclude the network setup for
AM335x-ICEv2 to avoid link time failures:board/ti/am335x/board.c:683: undefined reference to `setup_clock_synthesizer'
Signed-off-by: Alex Kiernan