karo-tx-uboot.git
3 years agoMerge branch 'tx53-update-2016-02-03' into karo-tx6 KARO-TX6-2016-03-10
Lothar Waßmann [Thu, 18 Feb 2016 17:38:00 +0000 (18:38 +0100)]
Merge branch 'tx53-update-2016-02-03' into karo-tx6

3 years agoMerge branch 'tx28-update-2016-02-03' into karo-tx6
Lothar Waßmann [Thu, 18 Feb 2016 17:37:47 +0000 (18:37 +0100)]
Merge branch 'tx28-update-2016-02-03' into karo-tx6

3 years agoMerge branch 'tx6-update-2016-02-03' into karo-tx6
Lothar Waßmann [Thu, 18 Feb 2016 17:37:33 +0000 (18:37 +0100)]
Merge branch 'tx6-update-2016-02-03' into karo-tx6

3 years agokaro: tx6ul: fix bogus GPIO numbers
Lothar Waßmann [Thu, 18 Feb 2016 17:36:01 +0000 (18:36 +0100)]
karo: tx6ul: fix bogus GPIO numbers

3 years agokaro: tx6ul: add pad settings for FT5x06 and USB pads on STK5
Lothar Waßmann [Thu, 18 Feb 2016 17:35:38 +0000 (18:35 +0100)]
karo: tx6ul: add pad settings for FT5x06 and USB pads on STK5

3 years agokaro: tx6ul: add support for TX6UL Mainboard (v1)
Lothar Waßmann [Thu, 18 Feb 2016 17:34:32 +0000 (18:34 +0100)]
karo: tx6ul: add support for TX6UL Mainboard (v1)

3 years agokaro: tx6ul: defer mmc probing until environment has been loaded
Lothar Waßmann [Thu, 18 Feb 2016 17:30:19 +0000 (18:30 +0100)]
karo: tx6ul: defer mmc probing until environment has been loaded

Check the 'baseboard' environment variable before initializing the MMC
interface to prevent error messages on TX6UL-Mainboard which doesn't
support MMC mass storage.

3 years agokaro: tx6ul: proper initialize second FEC if available
Lothar Waßmann [Thu, 18 Feb 2016 17:29:21 +0000 (18:29 +0100)]
karo: tx6ul: proper initialize second FEC if available

3 years agokaro: tx6ul: reorder functions to better follow which ones are called with the defaul...
Lothar Waßmann [Thu, 18 Feb 2016 17:27:36 +0000 (18:27 +0100)]
karo: tx6ul: reorder functions to better follow which ones are called with the default resp. loaded environment

3 years agokaro: tx6: check ctrlc before returning error code for unsupported baseboard
Lothar Waßmann [Thu, 18 Feb 2016 17:18:43 +0000 (18:18 +0100)]
karo: tx6: check ctrlc before returning error code for unsupported baseboard

3 years agokaro: tx53: check ctrlc before returning error code for unsupported baseboard
Lothar Waßmann [Thu, 18 Feb 2016 17:17:01 +0000 (18:17 +0100)]
karo: tx53: check ctrlc before returning error code for unsupported baseboard

3 years agokaro: tx53: don't return non-zero return value in board_init() upon CTRL-C detection
Lothar Waßmann [Thu, 18 Feb 2016 17:16:23 +0000 (18:16 +0100)]
karo: tx53: don't return non-zero return value in board_init() upon CTRL-C detection

3 years agokaro: tx6ul: make show_activity() bail out on GPIO error
Lothar Waßmann [Thu, 18 Feb 2016 16:58:57 +0000 (17:58 +0100)]
karo: tx6ul: make show_activity() bail out on GPIO error

3 years agokaro: tx6ul: indentation fixes
Lothar Waßmann [Thu, 18 Feb 2016 16:57:57 +0000 (17:57 +0100)]
karo: tx6ul: indentation fixes

3 years agokaro: tx6: don't write u-boot image with WITH_DROP_FFS
Lothar Waßmann [Thu, 18 Feb 2016 16:23:58 +0000 (17:23 +0100)]
karo: tx6: don't write u-boot image with WITH_DROP_FFS

3 years agokaro: tx53: don't write u-boot image with WITH_DROP_FFS
Lothar Waßmann [Thu, 18 Feb 2016 15:22:15 +0000 (16:22 +0100)]
karo: tx53: don't write u-boot image with WITH_DROP_FFS

3 years agokaro: tx28: set CONFIG_ENV_OVERWRITE also for NAND environment
Lothar Waßmann [Thu, 11 Feb 2016 12:02:36 +0000 (13:02 +0100)]
karo: tx28: set CONFIG_ENV_OVERWRITE also for NAND environment

3 years agokaro: tx28: fix prototype of video_hw_init()
Lothar Waßmann [Thu, 11 Feb 2016 12:02:28 +0000 (13:02 +0100)]
karo: tx28: fix prototype of video_hw_init()

3 years agokaro: tx28: check ctrlc before returning error code for unsupported baseboard
Lothar Waßmann [Thu, 11 Feb 2016 12:02:21 +0000 (13:02 +0100)]
karo: tx28: check ctrlc before returning error code for unsupported baseboard

3 years agokaro: tx28: don't return non-zero return value in board_init() upon CTRL-C detection
Lothar Waßmann [Thu, 11 Feb 2016 12:02:04 +0000 (13:02 +0100)]
karo: tx28: don't return non-zero return value in board_init() upon CTRL-C detection

3 years agokaro: tx28: don't write u-boot image with WITH_DROP_FFS
Lothar Waßmann [Thu, 11 Feb 2016 11:26:02 +0000 (12:26 +0100)]
karo: tx28: don't write u-boot image with WITH_DROP_FFS

3 years agokaro: tx6ul: fix ENET2_TX_CLK pad settings
Lothar Waßmann [Thu, 4 Feb 2016 12:48:54 +0000 (13:48 +0100)]
karo: tx6ul: fix ENET2_TX_CLK pad settings

3 years agokaro: remove redundant cmap entry in panel_info
Lothar Waßmann [Thu, 4 Feb 2016 11:13:35 +0000 (12:13 +0100)]
karo: remove redundant cmap entry in panel_info

3 years agonet: fec_mxc: exempt already found PHYs from being probed again
Lothar Waßmann [Thu, 4 Feb 2016 11:12:19 +0000 (12:12 +0100)]
net: fec_mxc: exempt already found PHYs from being probed again

3 years agonet: fec_mxc: make base_mii configurable
Lothar Waßmann [Thu, 4 Feb 2016 11:11:38 +0000 (12:11 +0100)]
net: fec_mxc: make base_mii configurable

3 years agolcd: properly display bitmaps > 8bpp
Lothar Waßmann [Thu, 4 Feb 2016 11:01:35 +0000 (12:01 +0100)]
lcd: properly display bitmaps > 8bpp

3 years agolcd: support corner cases for splashpos
Lothar Waßmann [Thu, 4 Feb 2016 11:00:58 +0000 (12:00 +0100)]
lcd: support corner cases for splashpos

3 years agolcd: fix integer overflow in calculation of number of colors
Lothar Waßmann [Wed, 3 Feb 2016 06:16:20 +0000 (07:16 +0100)]
lcd: fix integer overflow in calculation of number of colors

3 years agolcd: fix typo CONFIG_BMP_24BMP -> CONFIG_BMP_24BPP
Lothar Waßmann [Wed, 3 Feb 2016 06:05:48 +0000 (07:05 +0100)]
lcd: fix typo CONFIG_BMP_24BMP -> CONFIG_BMP_24BPP

4 years agokaro: tx6ul: set VIDEO_PLL to 648MHz by default karo-tx6 KARO-TX6UL-2015-11-30
Lothar Waßmann [Thu, 26 Nov 2015 14:37:48 +0000 (15:37 +0100)]
karo: tx6ul: set VIDEO_PLL to 648MHz by default

4 years agokaro: tx6ul: fix ENFC_CLK_SEL bitmask
Lothar Waßmann [Thu, 26 Nov 2015 14:34:30 +0000 (15:34 +0100)]
karo: tx6ul: fix ENFC_CLK_SEL bitmask

On i.MX6UL the bitmask for ENFC_CLK_SEL in CS2CDR is different from the other
i.MX6 variants.

4 years agoARM: imx6ul: add support for mxsfb on i.MX6UL
Lothar Waßmann [Thu, 26 Nov 2015 14:33:58 +0000 (15:33 +0100)]
ARM: imx6ul: add support for mxsfb on i.MX6UL

4 years agoARM: imx6: clocks: add support for eLCDIF clock on i.MX6UL
Lothar Waßmann [Thu, 26 Nov 2015 14:31:34 +0000 (15:31 +0100)]
ARM: imx6: clocks: add support for eLCDIF clock on i.MX6UL

4 years agoARM: imx6: clocks: remove function local definitions of mxc_ccm_reg and anatop_regs
Lothar Waßmann [Thu, 26 Nov 2015 14:31:02 +0000 (15:31 +0100)]
ARM: imx6: clocks: remove function local definitions of mxc_ccm_reg and anatop_regs

4 years agoimx6: rename ANADIG_PLL_AUDIO_TEST_DIV to ANADIG_PLL_AUDIO_POST_DIV
Lothar Waßmann [Thu, 26 Nov 2015 14:30:00 +0000 (15:30 +0100)]
imx6: rename ANADIG_PLL_AUDIO_TEST_DIV to ANADIG_PLL_AUDIO_POST_DIV

4 years agokaro: tx6: enable CONFIG_BMP_*BPP to make splashscreen functional again
Lothar Waßmann [Thu, 26 Nov 2015 13:07:39 +0000 (14:07 +0100)]
karo: tx6: enable CONFIG_BMP_*BPP to make splashscreen functional again

4 years agokaro: tx6: rework PMIC code to allow for different configs for same chip
Lothar Waßmann [Thu, 26 Nov 2015 13:06:28 +0000 (14:06 +0100)]
karo: tx6: rework PMIC code to allow for different configs for same chip

4 years agokaro: tx6ul: enable soft_i2c for PMIC access
Lothar Waßmann [Thu, 26 Nov 2015 13:05:17 +0000 (14:05 +0100)]
karo: tx6ul: enable soft_i2c for PMIC access

4 years agokaro: tx6: set TX6_REV=0x1 where appropriate to eliminate code for unused PMIC chips
Lothar Waßmann [Thu, 26 Nov 2015 13:00:18 +0000 (14:00 +0100)]
karo: tx6: set TX6_REV=0x1 where appropriate to eliminate code for unused PMIC chips

4 years agokaro: tx6ul: fix max. dimensions of framebuffer
Lothar Waßmann [Thu, 26 Nov 2015 12:59:22 +0000 (13:59 +0100)]
karo: tx6ul: fix max. dimensions of framebuffer

4 years agokaro: tx6: disable LCD in '_noenv' config
Lothar Waßmann [Mon, 16 Nov 2015 07:57:32 +0000 (08:57 +0100)]
karo: tx6: disable LCD in '_noenv' config

4 years agokaro: tx6: remove secure_boot fuse override which is a leftover from secure boot...
Lothar Waßmann [Mon, 16 Nov 2015 07:56:32 +0000 (08:56 +0100)]
karo: tx6: remove secure_boot fuse override which is a leftover from secure boot tests

4 years agoMerge branch 'tx48-devel' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 13:46:20 +0000 (14:46 +0100)]
Merge branch 'tx48-devel' into karo-devel

4 years agoMerge branch 'tx28-devel' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 13:44:47 +0000 (14:44 +0100)]
Merge branch 'tx28-devel' into karo-devel

4 years agokaro: tx28: Kconfig: select CMD_ROMUPDATE for TX28 modules
Lothar Waßmann [Mon, 26 Oct 2015 13:19:48 +0000 (14:19 +0100)]
karo: tx28: Kconfig: select CMD_ROMUPDATE for TX28 modules

4 years agoMerge branch 'tx28-bugfix' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 13:14:47 +0000 (14:14 +0100)]
Merge branch 'tx28-bugfix' into karo-devel

4 years agoMerge branch 'tx51-bugfix' into karo-devel
Lothar Waßmann [Mon, 26 Oct 2015 13:14:36 +0000 (14:14 +0100)]
Merge branch 'tx51-bugfix' into karo-devel

4 years agotools: elftosb: use g++ to compile elftosb to prevent link error due to missing libm
Lothar Waßmann [Mon, 26 Oct 2015 11:41:39 +0000 (12:41 +0100)]
tools: elftosb: use g++ to compile elftosb to prevent link error due to missing libm

4 years agotools: elftosb: makefile indentation and whitespace cleanup
Lothar Waßmann [Mon, 26 Oct 2015 11:40:59 +0000 (12:40 +0100)]
tools: elftosb: makefile indentation and whitespace cleanup

4 years agokaro: tx48: fix build error "undefined reference to `mmc_legacy_init'"
Lothar Waßmann [Mon, 26 Oct 2015 11:23:28 +0000 (12:23 +0100)]
karo: tx48: fix build error "undefined reference to `mmc_legacy_init'"

4 years agokaro: fdt: prevent duplicate call of fdt_fixup_ethernet()
Lothar Waßmann [Mon, 26 Oct 2015 11:15:08 +0000 (12:15 +0100)]
karo: fdt: prevent duplicate call of fdt_fixup_ethernet()

fdt_fixup_ethernet() is already called internally
by boot_prep_linux(). Remove the calls to it in ft_board_setup().

4 years agovideo: ipu: initialize g_ipu_clk, g_ldb_clk statically KARO-TX6UL-2015-10-23
Lothar Waßmann [Fri, 23 Oct 2015 10:46:03 +0000 (12:46 +0200)]
video: ipu: initialize g_ipu_clk, g_ldb_clk statically

When the FB driver has not been initialized, booting Linux will hang
the system when ipuv3_fb_shutdown() is called from arch_preboot_os()
because clk_enable(g_ipu_clk) is a NOP with g_ipu_clk == NULL.
There is no need to initialize these variables at runtime, so use
static initialization to prevent this problem.

4 years agoarm: mx6: fix the AIPS?_BASE_ADDR fsckup introduced by commit f5def95698f6
Lothar Waßmann [Thu, 22 Oct 2015 13:04:44 +0000 (15:04 +0200)]
arm: mx6: fix the AIPS?_BASE_ADDR fsckup introduced by commit f5def95698f6

commit f5def95698f6f3d8923f0e38706e3e5ebed81a10 ("imx: mx6: Fixed AIPS3 base address issue")
claimed to fix an AIPS3 base address issue, while it in fact messed up
the AIPS1 and AIPS2 base addresses too.

4 years agokaro: tx6: adapt romupdate command for i.MX6UL
Lothar Waßmann [Thu, 22 Oct 2015 09:28:29 +0000 (11:28 +0200)]
karo: tx6: adapt romupdate command for i.MX6UL

4 years agokaro: tx6: remove unused code from flash.c
Lothar Waßmann [Thu, 22 Oct 2015 09:28:05 +0000 (11:28 +0200)]
karo: tx6: remove unused code from flash.c

4 years agonand: mxs: convey return code from failed function rather than '0' in mxs_nand_ecc_wr...
Lothar Waßmann [Thu, 22 Oct 2015 09:27:22 +0000 (11:27 +0200)]
nand: mxs: convey return code from failed function rather than '0' in mxs_nand_ecc_write_page()

4 years agonand: mxs: make fake_ecc_layout static
Lothar Waßmann [Thu, 22 Oct 2015 09:26:36 +0000 (11:26 +0200)]
nand: mxs: make fake_ecc_layout static

4 years agonand: mxs: use CONFIG_ARCH_MX6 instead of CONFIG_SOC_MX6Q
Lothar Waßmann [Thu, 22 Oct 2015 09:26:22 +0000 (11:26 +0200)]
nand: mxs: use CONFIG_ARCH_MX6 instead of CONFIG_SOC_MX6Q

4 years agokaro: tx6ul: disable PMIC init
Lothar Waßmann [Tue, 20 Oct 2015 11:35:50 +0000 (13:35 +0200)]
karo: tx6ul: disable PMIC init

The I2C-GPIO driver requires configuration via DTB which is not
currently supported for Ka-Ro modules. So, disable the PMIC access for
now.

4 years agokaro: tx6: change DGCTRL init values depending on SoC type
Lothar Waßmann [Tue, 20 Oct 2015 11:28:03 +0000 (13:28 +0200)]
karo: tx6: change DGCTRL init values depending on SoC type

4 years agokaro: tx6: add TXUL support
Lothar Waßmann [Tue, 20 Oct 2015 11:27:51 +0000 (13:27 +0200)]
karo: tx6: add TXUL support

4 years agokaro: tx6: selectively set individual CCGR bits via DCD
Lothar Waßmann [Mon, 19 Oct 2015 11:49:04 +0000 (13:49 +0200)]
karo: tx6: selectively set individual CCGR bits via DCD

4 years agokaro: tx6: eliminate PHYS_SDRAM_1_WIDTH and use CONFIG_SYS_SDRAM_BUS_WIDTH instead
Lothar Waßmann [Mon, 19 Oct 2015 10:42:42 +0000 (12:42 +0200)]
karo: tx6: eliminate PHYS_SDRAM_1_WIDTH and use CONFIG_SYS_SDRAM_BUS_WIDTH instead

4 years agokaro: tx6: config.mk cleanup
Lothar Waßmann [Mon, 19 Oct 2015 10:37:29 +0000 (12:37 +0200)]
karo: tx6: config.mk cleanup

4 years agokaro: tx6: further cleanups
Lothar Waßmann [Mon, 19 Oct 2015 10:36:46 +0000 (12:36 +0200)]
karo: tx6: further cleanups

4 years agoarm: mx6: use imx6_thermal driver
Lothar Waßmann [Mon, 19 Oct 2015 10:28:12 +0000 (12:28 +0200)]
arm: mx6: use imx6_thermal driver

4 years agoarm: mx6: use fuse_read() for OCOTP fuse access
Lothar Waßmann [Mon, 19 Oct 2015 10:27:05 +0000 (12:27 +0200)]
arm: mx6: use fuse_read() for OCOTP fuse access

4 years agoarm: mxs: ocotp: disable OCOTP clock after access is finished
Lothar Waßmann [Mon, 12 Oct 2015 12:04:28 +0000 (14:04 +0200)]
arm: mxs: ocotp: disable OCOTP clock after access is finished

4 years agoremove obsolete functions ocotp_clk_{en,dis}able
Lothar Waßmann [Mon, 12 Oct 2015 09:28:33 +0000 (11:28 +0200)]
remove obsolete functions ocotp_clk_{en,dis}able

4 years agokconfig: arm: remove duplicate definitions of SOC_MX*
Lothar Waßmann [Mon, 12 Oct 2015 12:02:36 +0000 (14:02 +0200)]
kconfig: arm: remove duplicate definitions of SOC_MX*

4 years agokconfig: arm: move ARCH_MX? out of choice which selects TARGETs that depend on those
Lothar Waßmann [Mon, 12 Oct 2015 12:01:23 +0000 (14:01 +0200)]
kconfig: arm: move ARCH_MX? out of choice which selects TARGETs that depend on those

4 years agokconfig: arm: make cache configurable via Kconfig
Lothar Waßmann [Mon, 12 Oct 2015 08:42:36 +0000 (10:42 +0200)]
kconfig: arm: make cache configurable via Kconfig

4 years agoarm: mx6: remove CONFIG_ macros that are now included in Kconfig from header file
Lothar Waßmann [Mon, 12 Oct 2015 08:41:54 +0000 (10:41 +0200)]
arm: mx6: remove CONFIG_ macros that are now included in Kconfig from header file

4 years agoarm: mx6: rename some missed instances of CONFIG_MX6* to CONFIG_SOC_MX6*
Lothar Waßmann [Mon, 12 Oct 2015 08:40:51 +0000 (10:40 +0200)]
arm: mx6: rename some missed instances of CONFIG_MX6* to CONFIG_SOC_MX6*

4 years agodma: apbh: let APBH_DMA be selected, instead of enabling it by default
Lothar Waßmann [Mon, 12 Oct 2015 08:37:22 +0000 (10:37 +0200)]
dma: apbh: let APBH_DMA be selected, instead of enabling it by default

4 years agonet: fec_mxc: move CONFIG_FEC_MXC_PHYADDR from Kconfig to include/configs/*.h
Lothar Waßmann [Mon, 12 Oct 2015 08:21:52 +0000 (10:21 +0200)]
net: fec_mxc: move CONFIG_FEC_MXC_PHYADDR from Kconfig to include/configs/*.h

4 years agoarm: imx: prevent build error when CONFIG_FEC_MXC_PHYADDR is undefined
Lothar Waßmann [Mon, 12 Oct 2015 08:15:31 +0000 (10:15 +0200)]
arm: imx: prevent build error when CONFIG_FEC_MXC_PHYADDR is undefined

4 years agoimx: remove duplicated prototype for fecmxc_initialize() which is already defined...
Lothar Waßmann [Fri, 9 Oct 2015 10:32:18 +0000 (12:32 +0200)]
imx: remove duplicated prototype for fecmxc_initialize() which is already defined in include/netdev.h

4 years agokconfig: remove redundant 'default n'
Lothar Waßmann [Fri, 9 Oct 2015 09:45:53 +0000 (11:45 +0200)]
kconfig: remove redundant 'default n'

4 years agogpio: use appropriate return values for cmd handler
Lothar Waßmann [Fri, 9 Oct 2015 09:45:21 +0000 (11:45 +0200)]
gpio: use appropriate return values for cmd handler

4 years agonet: fec_mxc: use some more appropriate return values
Lothar Waßmann [Fri, 9 Oct 2015 09:43:47 +0000 (11:43 +0200)]
net: fec_mxc: use some more appropriate return values

4 years agonet: fec_mxc: consolidate data types and remove useless type casts
Lothar Waßmann [Fri, 9 Oct 2015 09:43:17 +0000 (11:43 +0200)]
net: fec_mxc: consolidate data types and remove useless type casts

4 years agonet: fec_mxc: don't write to reserved register on i.MX6UL
Lothar Waßmann [Fri, 9 Oct 2015 09:42:36 +0000 (11:42 +0200)]
net: fec_mxc: don't write to reserved register on i.MX6UL

4 years agonet: fec_mxc: don't try to clear read-only registers
Lothar Waßmann [Fri, 9 Oct 2015 08:53:38 +0000 (10:53 +0200)]
net: fec_mxc: don't try to clear read-only registers

The registers in the affected address range are all read only. There
is no use in trying to clear them.

4 years agonet: fec_mxc: use a definite delay when waiting for TDAR/RDAR to clear
Lothar Waßmann [Fri, 9 Oct 2015 08:58:56 +0000 (10:58 +0200)]
net: fec_mxc: use a definite delay when waiting for TDAR/RDAR to clear

4 years agonet: fec_mxc: autodetect PHY address if phy_id < 0
Lothar Waßmann [Fri, 9 Oct 2015 09:00:32 +0000 (11:00 +0200)]
net: fec_mxc: autodetect PHY address if phy_id < 0

4 years agoRevert "video: ipu_disp: Fix clock polarity logic"
Lothar Waßmann [Fri, 9 Oct 2015 08:37:42 +0000 (10:37 +0200)]
Revert "video: ipu_disp: Fix clock polarity logic"

This reverts commit 2740e5de4f3cd0aa36efcfe1a995fb6e3858cc97.

The patch made the U-Boot driver behave different from the Linux
driver, so that for U-Boot and Linux different settings in the DTB
would be required!

4 years agokaro: tx28: select PHYLIB in Kconfig
Lothar Waßmann [Mon, 5 Oct 2015 10:43:45 +0000 (12:43 +0200)]
karo: tx28: select PHYLIB in Kconfig

4 years agokaro: tx51: fix definition of CONFIG_SYS_CPU_CLK_STR
Lothar Waßmann [Mon, 28 Sep 2015 08:06:15 +0000 (10:06 +0200)]
karo: tx51: fix definition of CONFIG_SYS_CPU_CLK_STR

4 years agokaro: configs: set 'baseboard' variable in 'noenv' U-Boot
Lothar Waßmann [Tue, 22 Sep 2015 11:57:24 +0000 (13:57 +0200)]
karo: configs: set 'baseboard' variable in 'noenv' U-Boot

4 years agokaro: use lldiv() for 64bit division
Lothar Waßmann [Tue, 22 Sep 2015 11:56:37 +0000 (13:56 +0200)]
karo: use lldiv() for 64bit division

4 years agokaro: tx6: don't perform DQS gating calibration KARO-TX6-2015-09-18
Lothar Waßmann [Fri, 18 Sep 2015 14:31:32 +0000 (16:31 +0200)]
karo: tx6: don't perform DQS gating calibration

DQS Gating calibration may yield incorrect results due to a bug in the
ROM code. Also preset all relevant timing registers to sane values
before doing the DDR calibration.

4 years agokaro: tx6: don't position CSF at fixed offset
Lothar Waßmann [Fri, 18 Sep 2015 12:34:49 +0000 (14:34 +0200)]
karo: tx6: don't position CSF at fixed offset

4 years agokaro: tx6: remove usesless symbol _image_binary_end
Lothar Waßmann [Fri, 18 Sep 2015 12:34:27 +0000 (14:34 +0200)]
karo: tx6: remove usesless symbol _image_binary_end

4 years agokaro: tx6: cleanup defconfig files
Lothar Waßmann [Fri, 18 Sep 2015 12:04:24 +0000 (14:04 +0200)]
karo: tx6: cleanup defconfig files

4 years agokaro: cleanup after merge of v2015.10-rc2
Lothar Waßmann [Thu, 17 Sep 2015 05:31:36 +0000 (07:31 +0200)]
karo: cleanup after merge of v2015.10-rc2

4 years agosunxi: increase SYS_MONITOR_LEN
Boris Brezillon [Mon, 27 Jul 2015 14:21:26 +0000 (16:21 +0200)]
sunxi: increase SYS_MONITOR_LEN

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
4 years agodts: fix dependency of OF_SPL_REMOVE_PROPS
Masahiro Yamada [Fri, 28 Aug 2015 11:28:42 +0000 (20:28 +0900)]
dts: fix dependency of OF_SPL_REMOVE_PROPS

This should depend on SPL_OF_CONTROL (it is not equivalent to
SPL && OF_CONTROL).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
4 years agopinctrl: sandbox: add sandbox pinctrl driver
Masahiro Yamada [Thu, 27 Aug 2015 03:44:30 +0000 (12:44 +0900)]
pinctrl: sandbox: add sandbox pinctrl driver

This driver actually does nothing but test pinctrl uclass, and
demonstrate how things work.

To try this driver, uncomment /* #define DEBUG */ in the
drivers/pinctrl/pinctrl-sandbox.c, and debug messages will be
displayed.

  DRAM:  128 MiB
  sandbox pinmux: group = 1 (serial_a), function = 1 (serial)
  Using default environment

  In:    cros-ec-keyb
  Out:   lcd
  Err:   lcd
  Net:   Net Initialization Skipped
  eth0: eth@10002000, eth1: eth@80000000, eth5: eth@90000000
  => i2c dev 0
  Setting bus to 0
  sandbox pinmux: group = 0 (i2c), function = 0 (i2c)
  sandbox pinconf: group = 0 (i2c), param = 3, arg = 1

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
4 years agopinctrl: add pin control uclass support
Masahiro Yamada [Thu, 27 Aug 2015 03:44:29 +0000 (12:44 +0900)]
pinctrl: add pin control uclass support

This creates a new framework for handling of pin control devices,
i.e. devices that control different aspects of package pins.

This uclass handles pinmuxing and pin configuration; pinmuxing
controls switching among silicon blocks that share certain physical
pins, pin configuration handles electronic properties such as pin-
biasing, load capacitance etc.

This framework can support the same device tree bindings, but if you
do not need full interface support, you can disable some features to
reduce memory foot print.  Typically around 1.5KB is necessary to
include full-featured uclass support on ARM board (CONFIG_PINCTRL +
CONFIG_PINCTRL_FULL + CONFIG_PINCTRL_GENERIC + CONFIG_PINCTRL_PINMUX),
for example.

We are often limited on code size for SPL.  Besides, we still have
many boards that do not support device tree configuration.  The full
pinctrl, which requires OF_CONTROL, does not make sense for those
boards.  So, this framework also has a Do-It-Yourself (let's say
simple pinctrl) interface.  With CONFIG_PINCTRL_FULL disabled, the
uclass itself provides no systematic mechanism for identifying the
peripheral device, applying pinctrl settings, etc.  They must be
done in each low-level driver.  In return, you can save much memory
footprint and it might be useful especially for SPL.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>