24 Nov, 2014
2 commits
-
Provide board specific implementation for sata stop command for
cm_fx6.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
6 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
-
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 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
-
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
-
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
-
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
-
Many boards use a minimal .cfg file in the SPL case.
Introduce spl_sd.cfg so that we can reuse it.
Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic -
mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR.
Move the configuration to the spl code.
CCM_CCOSR setting is no longer required to get audio functionality in the
kernel, so remove such setting.Signed-off-by: Fabio Estevam
Reviewed-by: Marek Vasut -
mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR.
Move the configuration to the spl code.
CCM_CCOSR setting is no longer required to get audio functionality in the
kernel, so remove such setting.Signed-off-by: Fabio Estevam
-
mx6sabresd_spl.cfg configures CCM registers, GPR registers and CCM_CCOSR.
Move the configuration to the spl code.
CCM_CCOSR setting is no longer required to get audio functionality in the
kernel, so remove such setting.Signed-off-by: Fabio Estevam
-
The PFUZ probe failed with the following msg:
" wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x8 retry=0
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x8 retry=1
wait_for_sr_state: failed sr=81 cr=a0 state=2020
i2c_init_transfer: failed for chip 0x8 retry=2
i2c_init_transfer: give up i2c_regs=021a0000
Can't find PMIC:PFUZE100 "board_early_init_f is too early to call i2c related setting, because
init_func_i2c is called after board_early_init_f being invoked. Thus
move setup_i2c into board_init.Also PFUZ is connected to I2C bus 0, so change "1" -> "0".
Using this patch PFUZ can be correctly probed:
"PMIC: PFUZE100 ID=0x11"Signed-off-by: Peng Fan
Acked-by: Fabio Estevam
Acked-by: Stefano Babic
17 Nov, 2014
11 commits
-
The code for this board supports following features:
- Boot media support: NAND flash/SD card/SPI flash
- Support LCD display (optional, disabled by default)
- Support ethernet
- Support USB mass storageSigned-off-by: Bo Shen
Signed-off-by: Andreas Bießmann -
The code for this board supports following features:
- Boot media support: NAND flash/SD card/SPI flash
- Support LCD display
- Support ethernet
- Support USB mass storageSigned-off-by: Bo Shen
Signed-off-by: Andreas Bießmann -
replaces the at91bootstrap code with SPL code.
make the spl image with:
./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.binthis writes the length of the spl image into the 6th
execption vector. This is needed from the ROM bootloader.Signed-off-by: Heiko Schocher
Reviewed-by: Bo Shen
Reviewed-by: Andreas Bießmann
Signed-off-by: Andreas Bießmann -
replaces the at91bootstrap code with SPL code.
make the spl image with:
./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.binthis writes the length of the spl image into the 6th
execption vector. This is needed from the ROM bootloader.Signed-off-by: Heiko Schocher
Reviewed-by: Bo Shen
Signed-off-by: Andreas Bießmann -
Signed-off-by: Heiko Schocher
Reviewed-by: Bo Shen
Reviewed-by: Jagannadha Sutradharudu Teki
Signed-off-by: Andreas Bießmann -
Gose board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of
dram_init_banksize instead.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
Lager board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of
dram_init_banksize instead.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
Koesch board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of
dram_init_banksize instead.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu -
Alt board is defined CONFIG_SYS_SDRAM_BASE, and this can use a basic function of
dram_init_banksize instead.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu