]> git.karo-electronics.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
9 years agoconfigs/ls2085a: Add support for Cortex-A57 erratas
Bhupesh Sharma [Fri, 23 Jan 2015 10:20:05 +0000 (15:50 +0530)]
configs/ls2085a: Add support for Cortex-A57 erratas

This patch adds support for handling 828024 and 826974 erratas
for Cortex-A57 cores present on LS2085A SoC.

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
9 years agoErrata/ARM57: Add basic constructs to handle and apply A57 specific erratas
Bhupesh Sharma [Fri, 23 Jan 2015 10:20:04 +0000 (15:50 +0530)]
Errata/ARM57: Add basic constructs to handle and apply A57 specific erratas

This patch adds basic constructs in the ARMv8 u-boot code
to handle and apply Cortex-A57 specific erratas.

As and example, the framework showcases how erratas 833069, 826974
and 828024 can be handled and applied.

Later on this framework can be extended to include other
erratas.

Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
9 years agoarm, imx6, aristainetos: board updates
Heiko Schocher [Tue, 20 Jan 2015 09:06:18 +0000 (10:06 +0100)]
arm, imx6, aristainetos: board updates

- use linux display timing settings
- change backlight duty cycle 500ns
- some defaultenvironment changes
- change fit_addr_r to 0x14000000 as needed if
  MAX_LOCKDEP_SUBCLASSES in linux gets increased.
- Environment now at 0xd0000 in nand flash

Signed-off-by: Heiko Schocher <hs@denx.de>
9 years agocommon: convert compulab splash load code to common code
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:54 +0000 (10:42 +0200)]
common: convert compulab splash load code to common code

Move board/compulab/common/splash.c code to
common/splash_source.c to make it available for everybody. This move
renames cl_splash_screen_prepare() to splash_source_load(), and
the compilation of this code is conditional on CONFIG_SPLASH_SOURCE.

splash_source features:
* Provide a standardized way for declaring board specific splash screen
  locations
* Provide existing routines for auto loading the splash image from the
  locations as declared by the board
* Introduce the "splashsource" environment variable, which makes it
  possible to select the splash image source.

cm-t35 and cm-fx6 are updated to use the modified version.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Tom Rini <trini@ti.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
9 years agoarm: mx6: cm-fx6: add splash screen support
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:53 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: add splash screen support

Add support for splash screen.
The splash screen is loaded from the SPI flash and is displayed on the
HDMI display.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
[grinberg@compulab.co.il: minor code and commit message updates]
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
9 years agocompulab: splash: support loading splash from sf
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:52 +0000 (10:42 +0200)]
compulab: splash: support loading splash from sf

Add support for loading splash from sf.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
[grinberg@compulab.co.il: staticize the sf global variable]
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
9 years agocompulab: splash: support multiple splash sources
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:51 +0000 (10:42 +0200)]
compulab: splash: support multiple splash sources

Define a generic way for boards to define splash image locations:
- introduce struct splash_location
- introduce enum splash_storage
- update cl_splash_screen_prepare() to take an array of above struct
  and select the appropriate one based on the splashsource environment
  variable (if it is not defined- use the first splash location as default).

cm-t35 is updated to work with the new interface.

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>
9 years agocompulab: splash: refactor splash.c
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:50 +0000 (10:42 +0200)]
compulab: splash: refactor splash.c

Move storage device specific code into its own function instead of
calling it directly from an otherwise storage device independent
function (cl_splash_screen_prepare).

This is a preparation for supporting multiple splash locations.

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>
9 years agocompulab: splash: use errno values
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:49 +0000 (10:42 +0200)]
compulab: splash: use errno values

Use errno values to improve return reporting.

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>
9 years agoarm: mx6: cm-fx6: add support for usb keyboard
Nikita Kiryanov [Wed, 14 Jan 2015 08:42:48 +0000 (10:42 +0200)]
arm: mx6: cm-fx6: add support for usb keyboard

Add support for usb keyboard for cm_fx6.

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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>#
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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"'

9 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

9 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

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

9 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()

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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.

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

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

9 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.

9 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

9 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

9 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.

9 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

9 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

9 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

9 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()