]> git.kernelconcepts.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
8 years agoarm: mx6: cm-fx6: display compulab logo
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:47 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: display compulab logo

Add compulab logo and display it on boot.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
8 years agoarm: mx6: cm-fx6: add hdmi console support
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:46 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: add hdmi console support

Add support for hdmi console.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
8 years agoarm: mx6: cm-fx6: increase size of malloc area
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:45 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: increase size of malloc area

Increase size of malloc area to make room for framebuffer
and other such big allocations.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
8 years agoarm: mx6: cm-fx6: pass 2nd nic mac addr to Linux
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:44 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: pass 2nd nic mac addr to Linux

Obtain 2nd NIC MAC address from baseboard EEPROM and pass it to Linux.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
8 years agocompulab: eeprom: allow reading mac address from multiple eeproms
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:43 +0000 (10:42 +0200)]
compulab: eeprom: allow reading mac address from multiple eeproms

Implement the option to select the eeprom i2c bus when reading mac
address.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Ilya Ledvich <ilya@compulab.co.il>
Cc: Dmitry Lifshitz <lifshitz@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
8 years agoarm: mx6: cm-fx6: change dtb node for ethaddr
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:42 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: change dtb node for ethaddr

When passing eth address to Linux via dtb, the "local-mac-address"
property should be set for "/soc/aips-bus@02100000/ethernet@02188000",
not "/fec".

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
8 years agoarm: mx6: cm-fx6: expand boot sequence
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:41 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: expand boot sequence

Expand boot sequence to the following order:
1) mmc boot: mmc boot script, then mmc bootm, then mmc bootz.
2) usb boot: usb boot script.
3) sata boot: sata boot script, sata bootm, sata bootz.
4) nand boot: nand bootm, then nand bootz.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
8 years agoubifs: Enable journal replay during mount
Anton Habegger [Thu, 22 Jan 2015 21:29:11 +0000 (22:29 +0100)]
ubifs: Enable journal replay during mount

Enable ubifs_replay_journal during mount_ubifs, which was
disabled before.

This commit fix an issue with unrecoverable ubifs volumes
after power cut.

Therefor the gc.c is imported now from 1860e37 Linux 3.15

hs: added SPDX-License-Identifier for fs/ubifs/gc.c

Signed-off-by: Anton Habegger <anton.habegger@gmail.com>
8 years agoubifs: Import atomic_long operations from Linux
Anton Habegger [Thu, 22 Jan 2015 21:29:10 +0000 (22:29 +0100)]
ubifs: Import atomic_long operations from Linux

This commit is a preperation for a subsequent UBIFS commit
which needs atomic_long operations.

Therefor "include/asm-generic/atomic-long.h" is imported
from 1860e37 Linux 3.15

Signed-off-by: Anton Habegger <anton.habegger@gmail.com>
8 years agoubi: reset mtd_devs when ubi part fail
Heiko Schocher [Tue, 20 Jan 2015 08:05:23 +0000 (09:05 +0100)]
ubi: reset mtd_devs when ubi part fail

if "ubi part" fails, reset also mtd_devs to 0, as
further "ubi part" would use wrong mtd_devs.

Signed-off-by: Heiko Schocher <hs@denx.de>
8 years agoot1200: add ot1200_spl_defconfig file
Christian Gmeiner [Mon, 19 Jan 2015 16:26:50 +0000 (17:26 +0100)]
ot1200: add ot1200_spl_defconfig file

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>#
8 years agoot1200: add basic SPL support
Christian Gmeiner [Mon, 19 Jan 2015 16:26:49 +0000 (17:26 +0100)]
ot1200: add basic SPL support

Currently we only support the Micron MT41K128M16JT-125 ddr3 chip.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
8 years agoot1200: add SPL configuration
Christian Gmeiner [Mon, 19 Jan 2015 16:26:48 +0000 (17:26 +0100)]
ot1200: add SPL configuration

We will only support loading u-boot.img from SPI flash stored
at the offset of 64k.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
8 years agoot1200: enable spi clock directly in ccgr_init(..)
Christian Gmeiner [Mon, 19 Jan 2015 16:26:47 +0000 (17:26 +0100)]
ot1200: enable spi clock directly in ccgr_init(..)

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
8 years agoot1200: move ccgr and gpr init to c functions
Christian Gmeiner [Mon, 19 Jan 2015 16:26:46 +0000 (17:26 +0100)]
ot1200: move ccgr and gpr init to c functions

We need this way for SPL boot.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
8 years agoot1200: make use of imx_ddr_size(..)
Christian Gmeiner [Mon, 19 Jan 2015 16:26:45 +0000 (17:26 +0100)]
ot1200: make use of imx_ddr_size(..)

To support different ddr3 memory sizes we should start using
imx_ddr_size(..) instead of the define PHYS_SDRAM_SIZE.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
8 years agoot1200: select SUPPORT_SPL
Christian Gmeiner [Mon, 19 Jan 2015 16:26:44 +0000 (17:26 +0100)]
ot1200: select SUPPORT_SPL

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
8 years agomx6: fix warning in platinum board
Stefano Babic [Thu, 22 Jan 2015 09:09:00 +0000 (10:09 +0100)]
mx6: fix warning in platinum board

Fix warning due to missing prototype for writel

Signed-off-by: Stefano Babic <sbabic@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
8 years agoimx: mx6: Change ENV offset to 512K bytes for larger u-boot image
Ye.Li [Fri, 16 Jan 2015 08:47:44 +0000 (16:47 +0800)]
imx: mx6: Change ENV offset to 512K bytes for larger u-boot image

To align with other mx6 boards, change ENV offset from 384KB to
512KB position to fit a larger u-boot image.

Signed-off-by: Ye.Li <B37916@freescale.com>
8 years agoimx:mx6sxsabresd board spl support
Peng Fan [Tue, 30 Dec 2014 09:24:03 +0000 (17:24 +0800)]
imx:mx6sxsabresd board spl support

Add board level spl support for mx6sxsabresd board.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
8 years agoimx:mx6 add mx6sx in imx spl header file
Peng Fan [Tue, 30 Dec 2014 09:24:02 +0000 (17:24 +0800)]
imx:mx6 add mx6sx in imx spl header file

Since mx6sx's memory space is different to mx6dq, redefine the SPL
related macro for mx6sx chip.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
8 years agoimx:mx6sx add dram io configure for mx6sx
Peng Fan [Tue, 30 Dec 2014 09:24:01 +0000 (17:24 +0800)]
imx:mx6sx add dram io configure for mx6sx

Define two structure mx6sx_iomux_ddr_regs and mx6sx_iomux_grp_regs.
Add a new function mx6sx_dram_iocfg to configure dram io.

Since mx6sx only have one channel mmdc0, define a new empty macro MMDC1
to replace mmdc1->entry=value for mx6sx. And to other mx6 soc, MMDC1
effects as "mmdc1->entry=value".

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
8 years agoimx:mx6sxsabresd spl support in header file
Peng Fan [Tue, 30 Dec 2014 09:24:00 +0000 (17:24 +0800)]
imx:mx6sxsabresd spl support in header file

Add SPL support in mx6sxsabresd header file.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
8 years agoimx:mx6sxsabresd select SUPPORT_SPL
Peng Fan [Tue, 30 Dec 2014 09:23:59 +0000 (17:23 +0800)]
imx:mx6sxsabresd select SUPPORT_SPL

select SUPPORT_SPL for mx6sxsabresd.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
8 years agoimx:mx6sxsabresd add spl config file
Peng Fan [Tue, 30 Dec 2014 09:23:58 +0000 (17:23 +0800)]
imx:mx6sxsabresd add spl config file

Add a SPL default configuration file for mx6sxsabresd board.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
8 years agomxsboot : Support of 224-bytes OOB area length
Alexandre Coffignal [Thu, 8 Jan 2015 16:14:42 +0000 (17:14 +0100)]
mxsboot : Support of 224-bytes OOB area length

Add support for the NAND Flash chip with page size of 4096+224-bytes OOB area length

For example Micron MT29F4G08 NAND flash device defines a OOB area which is
224 bytes long (oobsize).

Signed-off-by: Alexandre Coffignal <acoffignal@geral.com>
8 years agoarm: mx6: Add Barco platinum-picon and platinum-titanium
Stefan Roese [Wed, 10 Dec 2014 09:15:23 +0000 (10:15 +0100)]
arm: mx6: Add Barco platinum-picon and platinum-titanium

This patch adds the new Barco platinum platform. It currently
includes those two boards:

platinum-titanium
-----------------
This is the same board as the titanium that is already supported in
mainline U-Boot. But its now moved to this new platform to support
multiple "flavors" of imx6 boards in one directory. Its also moved
to support SPL booting. And with this we use the run-time DDR
configuration of this SPL support. The board is equipped with the
Micron MT41J128M16JT-125 DDR chips. We now can remove the DDR
related registers tuples from the imximage.cfg file. As all this
is done in the SPL at run-time.

platinum-picon
--------------
This board is new and based on the MX6DL with 1GiB DDR using the
Micron MT41K256M16HA DDR3 chips. Its also equipped with 2 NAND
chips (each 512MiB).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Pieter Ronsijn <pieter.ronsijn@barco.com>
8 years agomx6sxsabresd: Remove unneeded board_late_init()
Fabio Estevam [Mon, 29 Dec 2014 18:23:17 +0000 (16:23 -0200)]
mx6sxsabresd: Remove unneeded board_late_init()

Since commit 1f98e31bc0b2c37a ("imx: mx6sxsabresd: Use the pfuze common init
function") board_late_init() became empty, so we can safely remove this unneeded
function.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
8 years agowandboard: Use 32bit color depth for Fusion LCD
Otavio Salvador [Thu, 15 Jan 2015 15:32:29 +0000 (13:32 -0200)]
wandboard: Use 32bit color depth for Fusion LCD

The Fusion LCD needs the 32bit color depth to properly work; the
default is different on the 3.10.17 kernels and it is better to ensure
it work out of box using proper default color setting.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
8 years agofdt: fixup changes from commit 7a172ae7a3fc
Lothar Waßmann [Tue, 25 Aug 2015 08:32:43 +0000 (10:32 +0200)]
fdt: fixup changes from commit 7a172ae7a3fc

commit 7a172ae7a3fc "fdt: fix incorrect placement of partition information for atmel_nand"
breaks the placement of the mtd partitions for other nand drivers.
Correct the condition to break out of the loop searching for subnodes
to fix this.

8 years agokaro: tx6: add missing secure_boot config for various modules
Lothar Waßmann [Mon, 24 Aug 2015 19:13:56 +0000 (21:13 +0200)]
karo: tx6: add missing secure_boot config for various modules

8 years agokaro: tx6: add missing module variants TX6Q-1033
Lothar Waßmann [Mon, 24 Aug 2015 19:12:28 +0000 (21:12 +0200)]
karo: tx6: add missing module variants TX6Q-1033

8 years agokaro: tx6: add missing config options to various module variants
Lothar Waßmann [Mon, 24 Aug 2015 19:11:13 +0000 (21:11 +0200)]
karo: tx6: add missing config options to various module variants

8 years agokaro: tx6: write FDT to same eMMC partition that is selected for boot
Lothar Waßmann [Mon, 24 Aug 2015 14:57:39 +0000 (16:57 +0200)]
karo: tx6: write FDT to same eMMC partition that is selected for boot

8 years agokaro: tx6: fix MFG-U-Boot environment setting
Lothar Waßmann [Mon, 24 Aug 2015 14:56:51 +0000 (16:56 +0200)]
karo: tx6: fix MFG-U-Boot environment setting

8 years agokaro: tx6: set 'CONFIG_ENV_IS_... appropriately for _mfg U-Boot
Lothar Waßmann [Mon, 24 Aug 2015 14:55:49 +0000 (16:55 +0200)]
karo: tx6: set 'CONFIG_ENV_IS_... appropriately for _mfg U-Boot

8 years agoMerge branch 'karo-tx-uboot' into kc-merge
Lothar Waßmann [Mon, 24 Aug 2015 11:45:51 +0000 (13:45 +0200)]
Merge branch 'karo-tx-uboot' into kc-merge

Conflicts:
board/karo/common/mmc.c
board/karo/tx6/Makefile
board/karo/tx6/pmic.c
board/karo/tx6/pmic.h
board/karo/tx6/tx6qdl.c
boards.cfg
include/configs/tx6.h

8 years agoMerge remote-tracking branch 'remotes/tx6/tx6' into karo-tx-uboot
Lothar Waßmann [Fri, 21 Aug 2015 14:51:29 +0000 (16:51 +0200)]
Merge remote-tracking branch 'remotes/tx6/tx6' into karo-tx-uboot

8 years agoMerge remote-tracking branch 'remotes/tx28/tx28' into karo-tx-uboot
Lothar Waßmann [Fri, 21 Aug 2015 14:51:29 +0000 (16:51 +0200)]
Merge remote-tracking branch 'remotes/tx28/tx28' into karo-tx-uboot

8 years agoARM: mxs: use CONFIG_SPL_STACK to set up SPL stack pointer
Lothar Waßmann [Fri, 21 Aug 2015 14:49:20 +0000 (16:49 +0200)]
ARM: mxs: use CONFIG_SPL_STACK to set up SPL stack pointer

8 years agoARM: mxs: various bug fixes for power init code
Lothar Waßmann [Fri, 21 Aug 2015 14:45:39 +0000 (16:45 +0200)]
ARM: mxs: various bug fixes for power init code

- use correct register for bo_irq in mxs_power_set_vddx()
- limit BO values to legal values in mxs_power_set_vddx()
- disable charger in mxs_is_batt_good() independent from the measured
  voltage

8 years agokaro: tx28: reduce batt_bo_level to 2.4V
Lothar Waßmann [Fri, 21 Aug 2015 14:44:45 +0000 (16:44 +0200)]
karo: tx28: reduce batt_bo_level to 2.4V

8 years agotools: elftosb: use legacy elftosb instead of mkimage
Lothar Waßmann [Fri, 21 Aug 2015 14:44:44 +0000 (16:44 +0200)]
tools: elftosb: use legacy elftosb instead of mkimage

8 years agoimx: add missing definition for hw_bch_debug0 reg
Lothar Waßmann [Fri, 21 Aug 2015 14:44:43 +0000 (16:44 +0200)]
imx: add missing definition for hw_bch_debug0 reg

8 years agoimx: add missing definitions for hw_gpmi_debug[23] regs
Lothar Waßmann [Fri, 21 Aug 2015 14:44:43 +0000 (16:44 +0200)]
imx: add missing definitions for hw_gpmi_debug[23] regs

8 years agokaro: tx28: change fdtaddr to 40800000
Lothar Waßmann [Fri, 21 Aug 2015 14:44:42 +0000 (16:44 +0200)]
karo: tx28: change fdtaddr to 40800000

8 years agokaro: tx28: remove CONFIG_ENV_IS_NOWHERE from configs
Lothar Waßmann [Fri, 21 Aug 2015 14:44:42 +0000 (16:44 +0200)]
karo: tx28: remove CONFIG_ENV_IS_NOWHERE from configs

This setting is now selected in board/karo/tx28/Kconfig

8 years agokaro: tx28: romupdate: update to match tx6 version
Lothar Waßmann [Fri, 21 Aug 2015 14:44:41 +0000 (16:44 +0200)]
karo: tx28: romupdate: update to match tx6 version

8 years agokaro: tx28: adjust parameters to mxs_common_spl_init() to match new U-Boot version
Lothar Waßmann [Fri, 21 Aug 2015 14:44:40 +0000 (16:44 +0200)]
karo: tx28: adjust parameters to mxs_common_spl_init() to match new U-Boot version

8 years agonet: fec: remove obsolete FEC_MXC_MULTI
Lothar Waßmann [Fri, 21 Aug 2015 14:44:40 +0000 (16:44 +0200)]
net: fec: remove obsolete FEC_MXC_MULTI

8 years agoARM: mxs: spl_power_init: fix merge error leading to "redefinition of 'mxs_init_batt_...
Lothar Waßmann [Fri, 21 Aug 2015 14:44:39 +0000 (16:44 +0200)]
ARM: mxs: spl_power_init: fix merge error leading to "redefinition of 'mxs_init_batt_bo'" error

8 years agokaro: tx28: spl: export CONFIG_SPL_TEXT_BASE via CPPFLAGS to make it available in...
Lothar Waßmann [Fri, 21 Aug 2015 14:44:38 +0000 (16:44 +0200)]
karo: tx28: spl: export CONFIG_SPL_TEXT_BASE via CPPFLAGS to make it available in linker script

8 years agotx28: config.mk: fix build error: "No rule to make target `.u-boot.sb"'
Lothar Waßmann [Fri, 21 Aug 2015 14:44:38 +0000 (16:44 +0200)]
tx28: config.mk: fix build error: "No rule to make target `.u-boot.sb"'

8 years agokaro: tx28: use CONFIG_SYS_SDRAM_SIZE instead of CONFIG_SDRAM_SIZE
Lothar Waßmann [Fri, 21 Aug 2015 14:44:37 +0000 (16:44 +0200)]
karo: tx28: use CONFIG_SYS_SDRAM_SIZE instead of CONFIG_SDRAM_SIZE

8 years agokaro: tx28: replace SETUP_IOMUX_PAD macro with mxs_iomux_setup_pad() call
Lothar Waßmann [Fri, 21 Aug 2015 14:44:37 +0000 (16:44 +0200)]
karo: tx28: replace SETUP_IOMUX_PAD macro with mxs_iomux_setup_pad() call

8 years agokaro: tx28: update Kconfig
Lothar Waßmann [Fri, 21 Aug 2015 14:44:36 +0000 (16:44 +0200)]
karo: tx28: update Kconfig

8 years agogpio: mxs: fix prototype of gpio_set_value()
Lothar Waßmann [Fri, 21 Aug 2015 14:44:35 +0000 (16:44 +0200)]
gpio: mxs: fix prototype of gpio_set_value()

8 years agoKconfig: add Kconfig option for MXS_MMC
Lothar Waßmann [Fri, 21 Aug 2015 14:44:35 +0000 (16:44 +0200)]
Kconfig: add Kconfig option for MXS_MMC

8 years agoARM: mxs: add missing ';' after mxs_reg_32() macro calls
Lothar Waßmann [Fri, 21 Aug 2015 14:44:34 +0000 (16:44 +0200)]
ARM: mxs: add missing ';' after mxs_reg_32() macro calls

8 years agoarm: mxs: remove conflict markers from merge
Lothar Waßmann [Fri, 21 Aug 2015 14:44:32 +0000 (16:44 +0200)]
arm: mxs: remove conflict markers from merge

8 years agommc: improve error handling of emmc bootpart related subcommands
Lothar Waßmann [Fri, 21 Aug 2015 14:30:15 +0000 (16:30 +0200)]
mmc: improve error handling of emmc bootpart related subcommands

8 years agommc: source code cleanup; no functional change
Lothar Waßmann [Fri, 21 Aug 2015 14:29:00 +0000 (16:29 +0200)]
mmc: source code cleanup; no functional change

8 years agommc: read extcsd and check if requested change of RST_N_FUNCTION is possible
Lothar Waßmann [Fri, 21 Aug 2015 14:27:35 +0000 (16:27 +0200)]
mmc: read extcsd and check if requested change of RST_N_FUNCTION is possible

8 years agommc: add function to get the number of available mmc interfaces
Lothar Waßmann [Fri, 21 Aug 2015 14:26:41 +0000 (16:26 +0200)]
mmc: add function to get the number of available mmc interfaces

8 years agokaro: tx6: modify SDRAM timing to be compatible with NT5CB128M16FP-DII and MT41K128M1...
Lothar Waßmann [Fri, 21 Aug 2015 14:24:51 +0000 (16:24 +0200)]
karo: tx6: modify SDRAM timing to be compatible with NT5CB128M16FP-DII and MT41K128M16JT-125 SDRAM devices

8 years agokaro: tx6: configure ENET_OUT pad in DCD for earlier generation of the PHY refclock
Lothar Waßmann [Fri, 21 Aug 2015 14:22:42 +0000 (16:22 +0200)]
karo: tx6: configure ENET_OUT pad in DCD for earlier generation of the PHY refclock

8 years agokaro: tx6: add missing setup of MMDC2_MPMUR0
Lothar Waßmann [Fri, 21 Aug 2015 14:21:56 +0000 (16:21 +0200)]
karo: tx6: add missing setup of MMDC2_MPMUR0

8 years agokaro: tx6: cleanup DDR calibration code
Lothar Waßmann [Fri, 21 Aug 2015 14:21:08 +0000 (16:21 +0200)]
karo: tx6: cleanup DDR calibration code

8 years agokaro: tx6: increase WALAT/RALAT to max. during DDR calibration
Lothar Waßmann [Fri, 21 Aug 2015 14:12:35 +0000 (16:12 +0200)]
karo: tx6: increase WALAT/RALAT to max. during DDR calibration

This is mandated in the i.MX 6 Series DDR Calibration App Note (4467)
from Freescale.

8 years agokaro: tx6: remove bogus writes to MMDC2_MDPDC
Lothar Waßmann [Fri, 21 Aug 2015 14:01:16 +0000 (16:01 +0200)]
karo: tx6: remove bogus writes to MMDC2_MDPDC

MMDC2_MDPDC does not need to be written in DDR3 configuration.

8 years agokaro: tx6s: add NAND support
Lothar Waßmann [Fri, 21 Aug 2015 14:00:29 +0000 (16:00 +0200)]
karo: tx6s: add NAND support

8 years agokaro: tx6: try to revive I2C bus
Lothar Waßmann [Fri, 21 Aug 2015 14:00:10 +0000 (16:00 +0200)]
karo: tx6: try to revive I2C bus

When resetting the module during an ongoing I2C transfer with the
PMIC, the PMIC may hang the I2C bus. Configure the I2C pins as GPIOs
and drive them high to revive the I2C bus.

8 years agomtd: nand: mxs_nand: use calloc() to allocate and clear memory
Lothar Waßmann [Fri, 21 Aug 2015 13:59:50 +0000 (15:59 +0200)]
mtd: nand: mxs_nand: use calloc() to allocate and clear memory

8 years agoimx: bch: add missing hw_bch_debug0 reg to struct bch_regs
Lothar Waßmann [Fri, 21 Aug 2015 13:59:31 +0000 (15:59 +0200)]
imx: bch: add missing hw_bch_debug0 reg to struct bch_regs

8 years agoimx: gpmi: add debug[23] regs to struct gpmi_regs
Lothar Waßmann [Fri, 21 Aug 2015 13:59:10 +0000 (15:59 +0200)]
imx: gpmi: add debug[23] regs to struct gpmi_regs

8 years agocmd_fuse: sanitize printf format strings for hex values
Lothar Waßmann [Fri, 21 Aug 2015 13:37:22 +0000 (15:37 +0200)]
cmd_fuse: sanitize printf format strings for hex values

8 years agokaro: tx6: implement secure boot support
Lothar Waßmann [Fri, 21 Aug 2015 13:34:35 +0000 (15:34 +0200)]
karo: tx6: implement secure boot support

8 years agokaro: tx6: probe for PMIC to determine module variant prior to initializing PMIC
Lothar Waßmann [Fri, 21 Aug 2015 13:31:54 +0000 (15:31 +0200)]
karo: tx6: probe for PMIC to determine module variant prior to initializing PMIC

8 years agokaro: tx6: cleanup HAB functions
Lothar Waßmann [Fri, 21 Aug 2015 13:29:26 +0000 (15:29 +0200)]
karo: tx6: cleanup HAB functions

hab_authenticate_image() does not only authenticate a boot image as
the name suggests, but actually performs a full boot exercise like the
ROM code on an actual boot. Remove this function, as it is not useful
to be called from an already booted system. Also do some more cleaning
of the HAB code.

8 years agoarm: mx6: fix definition of MXC_CCM_CSCDR2_IPU._DI._PRE_CLK_SEL_MASK
Lothar Waßmann [Fri, 21 Aug 2015 13:21:59 +0000 (15:21 +0200)]
arm: mx6: fix definition of MXC_CCM_CSCDR2_IPU._DI._PRE_CLK_SEL_MASK

8 years agomx6: fix name of read_fuse_data register
Lothar Waßmann [Fri, 21 Aug 2015 13:16:16 +0000 (15:16 +0200)]
mx6: fix name of read_fuse_data register

8 years agokaro: tx6: general cleanups
Lothar Waßmann [Fri, 21 Aug 2015 13:13:46 +0000 (15:13 +0200)]
karo: tx6: general cleanups

8 years agocommon/board_f.c: fix condition for reloc_off assignment
Lothar Waßmann [Wed, 19 Aug 2015 11:25:53 +0000 (13:25 +0200)]
common/board_f.c: fix condition for reloc_off assignment

All ARM systems define the symbol __image_copy_start which is the
correct relocation base address for secure and non-secure boot.

8 years agogpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
Lothar Waßmann [Wed, 19 Aug 2015 11:25:28 +0000 (13:25 +0200)]
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h

8 years agocommon: add call to show_activity() in main cmd loop
Lothar Waßmann [Wed, 19 Aug 2015 11:25:01 +0000 (13:25 +0200)]
common: add call to show_activity() in main cmd loop

8 years agocommon/board_f.c: fix condition for reloc_off assignment
Lothar Waßmann [Thu, 16 Jul 2015 11:29:09 +0000 (13:29 +0200)]
common/board_f.c: fix condition for reloc_off assignment

All ARM systems define the symbol __image_copy_start which is the
correct relocation base address for secure and non-secure boot.

8 years agogpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
Lothar Waßmann [Thu, 16 Jul 2015 11:28:05 +0000 (13:28 +0200)]
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h

8 years agocommon: add call to show_activity() in main cmd loop
Lothar Waßmann [Thu, 16 Jul 2015 11:27:42 +0000 (13:27 +0200)]
common: add call to show_activity() in main cmd loop

8 years agokaro: add support for TXA5 (SAMA5D4) modules karo-txa5 KARO-TXA5-2015-06-26
Lothar Waßmann [Tue, 23 Jun 2015 10:59:12 +0000 (12:59 +0200)]
karo: add support for TXA5 (SAMA5D4) modules

8 years agocommon/board_f.c: add default implementation of get_timer_masked()
Lothar Waßmann [Tue, 23 Jun 2015 10:58:07 +0000 (12:58 +0200)]
common/board_f.c: add default implementation of get_timer_masked()

8 years agofdt: fix incorrect placement of partition information for atmel_nand
Lothar Waßmann [Tue, 23 Jun 2015 10:52:51 +0000 (12:52 +0200)]
fdt: fix incorrect placement of partition information for atmel_nand

fdt_node_set_part_info() blindly assumes, that the first child of the
given node must be the 'partitions' node where to put the part info.
In case of atmel_nand this node is actually the NFC node.

Use the Linux kernel logic skipping any node that has a 'compatible'
property prevent adding the partitions to a wrong node or deleting the
wrong parent node.

8 years agogpio: at91: add missing () around macro arguments and remove redundant type cast...
Lothar Waßmann [Tue, 23 Jun 2015 08:37:55 +0000 (10:37 +0200)]
gpio: at91: add missing () around macro arguments and remove redundant type cast to (void *)

8 years agonet: macb: fix network configuration error when using gmac with non-Gbit PHY
Lothar Waßmann [Tue, 23 Jun 2015 08:32:58 +0000 (10:32 +0200)]
net: macb: fix network configuration error when using gmac with non-Gbit PHY

If the ethernet controller is detected as GMAC, the driver silently
assumes, that the connected PHY is also 1000Mbit capable and reads the
probably non-existant MII_STAT1000 register. This may lead to falsely
assuming a 1000Mbit link.

8 years agovideo: atmel_hlcdfb: fix reversed parameters in lcd_writel() call
Lothar Waßmann [Tue, 23 Jun 2015 05:40:55 +0000 (07:40 +0200)]
video: atmel_hlcdfb: fix reversed parameters in lcd_writel() call

8 years agovideo: atmel_hlcdfb: make pixel clock polarity configurable
Lothar Waßmann [Tue, 23 Jun 2015 05:34:51 +0000 (07:34 +0200)]
video: atmel_hlcdfb: make pixel clock polarity configurable

8 years agovideo: atmel_hlcdfb: change type of 'mmio' to avoid unnecessary type casts
Lothar Waßmann [Tue, 23 Jun 2015 05:34:21 +0000 (07:34 +0200)]
video: atmel_hlcdfb: change type of 'mmio' to avoid unnecessary type casts

8 years agomtd: nand: atmel: add Atmel NAND controller configs to Kconfig
Lothar Waßmann [Tue, 23 Jun 2015 05:30:47 +0000 (07:30 +0200)]
mtd: nand: atmel: add Atmel NAND controller configs to Kconfig

8 years agoarm: imx: timer: use get_gptclk() instead of MXC_CLK32 where applicable
Lothar Waßmann [Tue, 16 Jun 2015 09:16:52 +0000 (11:16 +0200)]
arm: imx: timer: use get_gptclk() instead of MXC_CLK32 where applicable

8 years agokaro: common: include <errno.h> in karo.h to prevent possible compile errors
Lothar Waßmann [Tue, 16 Jun 2015 09:15:34 +0000 (11:15 +0200)]
karo: common: include <errno.h> in karo.h to prevent possible compile errors

8 years agoconfig: rename CONFIG_MX* to CONFIG_SOC_MX*
Lothar Waßmann [Tue, 16 Jun 2015 09:14:33 +0000 (11:14 +0200)]
config: rename CONFIG_MX* to CONFIG_SOC_MX*