24 Nov, 2014
9 commits
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Cc: Eric Benard
Signed-off-by: Fabio Estevam -
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Cc: Eric Nelson
Signed-off-by: Fabio Estevam -
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Cc: Christian Gmeiner
Signed-off-by: Fabio Estevam -
Ideally, the Linux kernel should get the hardware in its most
untouched state. For the most part, U-Boot does not reset the various
subsystems it touches before boot, and usually Linux deals with it, but
on some boards (cm_fx6) the Linux kernel fails to detect the ssd
correctly if sata is used by U-Boot.Power off sata on OS boot so that Linux will have a clean state to work
with.Signed-off-by: Nikita Kiryanov
Cc: Stefano Babic -
Provide board specific implementation for sata stop command for
cm_fx6.Signed-off-by: Nikita Kiryanov
Cc: Stefano Babic -
Implement sata stop command.
This introduces the __sata_stop() weak function, which mirrors
the weak __sata_initialize() function, giving users the option of
undoing the custom steps performed in overrides of sata_initialize().Signed-off-by: Nikita Kiryanov
Cc: Marek Vasut
Cc: Tom Rini -
Add reset_sata() to the sata driver interface and implement it
for dwc_ahsata. This function cleans up after sata_init(), and
therefore accepts a device number like sata_init() does.
A dummy implementation is provided for the rest of the drivers.Signed-off-by: Nikita Kiryanov
Cc: Simon Glass
Cc: Stefano Babic -
Implement disable_sata_clock for mx6 SoCs.
Signed-off-by: Nikita Kiryanov
Cc: Stefano Babic -
gw_ventana can boot from SPI or NAND and both of these interfaces boot from
the same 0x400 offset.This means that we could simplify the code and replace the custom gw_ventana.cfg
with the generic spl_sd.cfg, as it provides the same boot offset of 0x400.Cc: Tim Harvey
Signed-off-by: Fabio Estevam
21 Nov, 2014
10 commits
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Signed-off-by: Fabio Estevam
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Signed-off-by: Fabio Estevam
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Signed-off-by: Fabio Estevam
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Signed-off-by: Fabio Estevam
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Signed-off-by: Fabio Estevam
-
Enable i.MX thermal DM driver to mx6sabre_common.h file. Since the
thermal is used in init_sequence_f, so define the CONFIG_SYS_MALLOC_F_LEN
to support DM driver using in pre relocation phase.Additional, thermal driver depends on ocotp, make sure to enable
CONFIG_MXC_OCOTP when CONFIG_IMX6_THERMAL is selected.Signed-off-by: Ye.Li
Signed-off-by: Nitin Garg -
Add imx6 thermal device to mx6 soc file. Read the cpu temperature
using this device to access onchip thermal sensor.Signed-off-by: Ye.Li
Signed-off-by: Nitin Garg -
Add a new thermal uclass for thermal sensor and implement the imx
thermal driver basing on this uclass.Signed-off-by: Ye.Li
Acked-by: Stefano Babic -
Add api to check and enable pll3 as required
for thermal sensor driver.Signed-off-by: Ye.Li
Signed-off-by: Nitin Garg -
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.Based on similar patches by Fabio Estevam for mx6sabresd, mx53loco, wandboard
Signed-off-by: Soeren Moch
Acked-by: Stefano Babic
20 Nov, 2014
21 commits
-
Add the pfuze100 initialization in power_init_board for imx6q/dl
sabreauto board.Signed-off-by: Ye.Li
-
Modify the pfuze init for mx6sxsabresd to use the shared
"pfuze_common_init" function. And move this initialization to
power_init_board.Signed-off-by: Ye.Li
-
Modify the pfuze init for mx6sabresd to use the shared
"pfuze_common_init" function. And move this initialization to
power_init_board.Signed-off-by: Ye.Li
-
Since the Pfuze initializations are similar on various mx6 SABRE
boards. Factorize the initialization to a common function in file
board/freescale/common/pfuze.c. So that all SABRE boards BSP can
share the function.Signed-off-by: Ye.Li
-
Add definitions for buck regulators (SW1A/B/C) registers and voltage
values.Signed-off-by: Ye.Li
Reviewed-by: Przemyslaw Marczak -
Add full support for USDHC2, USDHC3, USDHC4 on mx6sx sabresd board.
The default boot socket is USDHC4, so the MMC environment device and
mmcdev variable are set to this device.Signed-off-by: Ye.Li
-
The reset value of "uSDHCx_INT_STATUS_EN" register is changed to 0
on iMX6SX. So the fsl_esdhc driver must update to set the register,
otherwise no state can be detected.Signed-off-by: Ye.Li
-
In U-boot it is preferred to access the register via structure pointer, so
convert it such style.Signed-off-by: Fabio Estevam
-
Signed-off-by: Markus Niebel
-
setup_i2c has a return value. Use it to give feedback
on error.Signed-off-by: Markus Niebel
-
Add include needed to have prototype for board_spi_cs_gpio
Signed-off-by: Markus Niebel
-
This is nowhere documented and only used
by two other boards. Replace it with
TQMA6_SPI_FLASH_SECTOR_SIZE.Signed-off-by: Markus Niebel
-
Let's add mx6sabresd_spl_defconfig entry into MAINTAINERS, so that we avoid
getting a warning that the mx6sabresd_spl is not maintained.Signed-off-by: Fabio Estevam
-
We can simply the return the value from enable_fec_anatop_clock() to make the
code smaller and simpler.Signed-off-by: Fabio Estevam
-
We can simply the return the value from enable_fec_anatop_clock() to make the
code smaller and simpler.Signed-off-by: Fabio Estevam
-
Make clear that current SPL code only supports the mx6q variant.
Signed-off-by: Fabio Estevam
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Signed-off-by: Fabio Estevam
-
When an invalid USDHC port is passed we should return -EINVAL instead of 0.
Also, return the error immediately on fsl_esdhc_initialize() failure.
Signed-off-by: Fabio Estevam
-
Signed-off-by: Albert ARIBAUD
-
mx6sabreauto boards come with 32 MiB of parallel NOR flash.
Add support for it:
U-Boot 2015.01-rc1-18107-g1543636-dirty (Nov 14 2014 - 11:11:04)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: MX6Q-Sabreauto revA
I2C: ready
DRAM: 2 GiB
Flash: 32 MiB
NAND: 0 MiBDue to pin conflict with I2C3, only define configure I2C3 IOMUX when flash is
not used.Signed-off-by: Fabio Estevam
-
Signed-off-by: Fabio Estevam