]> git.karo-electronics.de Git - karo-tx-uboot.git/log
karo-tx-uboot.git
10 years agoMerge branch 'tx53-1232'
Lothar Waßmann [Fri, 24 Oct 2014 10:31:24 +0000 (12:31 +0200)]
Merge branch 'tx53-1232'

10 years agoMerge branch 'tx53-video_mode'
Lothar Waßmann [Fri, 24 Oct 2014 10:31:15 +0000 (12:31 +0200)]
Merge branch 'tx53-video_mode'

10 years agoconfigs: tx53: set default video_mode depending on LVDS/LCD module variant
Lothar Waßmann [Fri, 24 Oct 2014 10:30:25 +0000 (12:30 +0200)]
configs: tx53: set default video_mode depending on LVDS/LCD module variant

10 years agokaro: tx53: add support for TX53-1232 (2GiB SDRAM)
Lothar Waßmann [Fri, 24 Oct 2014 10:27:20 +0000 (12:27 +0200)]
karo: tx53: add support for TX53-1232 (2GiB SDRAM)

10 years agokaro: tx53: configure SDRAM size via boards.cfg
Lothar Waßmann [Fri, 24 Oct 2014 10:27:02 +0000 (12:27 +0200)]
karo: tx53: configure SDRAM size via boards.cfg

10 years agoconfigs: tx53: indentation cleanup
Lothar Waßmann [Fri, 24 Oct 2014 10:21:32 +0000 (12:21 +0200)]
configs: tx53: indentation cleanup

10 years agokaro: tx53: make adjust_core-voltage() less verbose
Lothar Waßmann [Fri, 24 Oct 2014 10:21:05 +0000 (12:21 +0200)]
karo: tx53: make adjust_core-voltage() less verbose

10 years agokaro: tx53: improve workaround for i.MX53 ROM code bug tx53-bugfix
Lothar Waßmann [Tue, 16 Sep 2014 08:37:18 +0000 (10:37 +0200)]
karo: tx53: improve workaround for i.MX53 ROM code bug

Due to the alignment of the rel_dyn section to 4KiB has the ill side
effect of interpreting uninitialized data from RAM during relocation
when U-Boot is loaded via network. This may crash U-Boot after
displaying the message 'DRAM: ...'.

Create a dummy section placed after the rel_dyn section to provide the
image size alignment without affecting the size of the rel_dyn
partition.

10 years agokaro: tx28: fix CONFIG_BOOTARGS and CONFIG_BOOTCOMMAND settings KARO-TX28-2014-09-10
Lothar Waßmann [Wed, 10 Sep 2014 09:03:52 +0000 (11:03 +0200)]
karo: tx28: fix CONFIG_BOOTARGS and CONFIG_BOOTCOMMAND settings

10 years agommc: mxs: configure DMA timeout depending on xfer rate and data size
Lothar Waßmann [Wed, 3 Sep 2014 12:00:10 +0000 (14:00 +0200)]
mmc: mxs: configure DMA timeout depending on xfer rate and data size

10 years agoMX28: DMA: make the DMA timeout configurable
Lothar Waßmann [Wed, 3 Sep 2014 11:57:07 +0000 (13:57 +0200)]
MX28: DMA: make the DMA timeout configurable

Use the default value from commit 1375f044d96f "MX28: DMA: Prolong the DMA timeout",
but let users change it depending on the amount of data to be
transferred and the expected data rate.

10 years agoMX28: DMA: make mxs_dma_flush_desc() static
Lothar Waßmann [Wed, 3 Sep 2014 08:33:54 +0000 (10:33 +0200)]
MX28: DMA: make mxs_dma_flush_desc() static

10 years agokaro: bootce: add option '-i' to bootce command to init global data struct
Lothar Waßmann [Wed, 3 Sep 2014 08:29:04 +0000 (10:29 +0200)]
karo: bootce: add option '-i' to bootce command to init global data struct

Loading a .nb0 image requires the global data struct for WinCe to be
initialized without the parsing of the image file. Calling 'bootce -i'
prior to starting the .nb0 image will do this.

10 years agokaro: tx28: fix build error with 'CONFIG_ENV_IS_IN_MMC'
Lothar Waßmann [Wed, 3 Sep 2014 08:23:34 +0000 (10:23 +0200)]
karo: tx28: fix build error with 'CONFIG_ENV_IS_IN_MMC'

10 years agokaro: tx28: add configurations for U-Boot ignoring the existing env in NAND
Lothar Waßmann [Wed, 3 Sep 2014 08:10:47 +0000 (10:10 +0200)]
karo: tx28: add configurations for U-Boot ignoring the existing env in NAND

10 years agokaro: tx28: add support for TX28-4033 (with 256MiB flash)
Lothar Waßmann [Wed, 3 Sep 2014 07:38:27 +0000 (09:38 +0200)]
karo: tx28: add support for TX28-4033 (with 256MiB flash)

10 years agokaro: tx28: add support for 'boot_mode' variable
Lothar Waßmann [Wed, 3 Sep 2014 07:37:45 +0000 (09:37 +0200)]
karo: tx28: add support for 'boot_mode' variable

10 years agokaro: tx28: change default loadaddr for TX28S
Lothar Waßmann [Wed, 3 Sep 2014 07:34:34 +0000 (09:34 +0200)]
karo: tx28: change default loadaddr for TX28S

TX28S has only 64MiB SDRAM. With the default loadaddr of 0x43000000
there is only ~8MiB space between ${loadaddr} and the start of U-Boot
in memory. Reduce the loadaddr to leave more space for downloads
without overwriting U-Boot code.

10 years agokaro: tx28: change FDT addr to be in low memory
Lothar Waßmann [Wed, 3 Sep 2014 07:48:18 +0000 (09:48 +0200)]
karo: tx28: change FDT addr to be in low memory

put the FDT in lower memory, to keep more space for download on TX28S

10 years agokaro: tx28: cleanup config file
Lothar Waßmann [Wed, 3 Sep 2014 07:26:06 +0000 (09:26 +0200)]
karo: tx28: cleanup config file

- indentation cleanup
- remove bogus 'fdtaddr' setting in default env for
  CONFIG_ENV_IS_NOWHERE (copied from TX6)
- remove unused options CONFIG_SYS_MAX_FLASH_SECT and CONFIG_SYS_MAX_FLASH_BANKS

10 years agoam33xx: report silicon revision instead of code KARO-TX-2014-08-27
Sergey Alyoshin [Thu, 22 May 2014 07:56:03 +0000 (11:56 +0400)]
am33xx: report silicon revision instead of code

As revision code 1 is for silicon revision 2.0, it is easily confused with
silicon revision 1.0.

Device type report also reworked in same style.

Signed-off-by: Sergey Alyoshin <alyoshin.s@gmail.com>
10 years agokaro: tx48: remove the 'interrupts' property from LTC3589 node for AM335x silicon...
Lothar Waßmann [Mon, 25 Aug 2014 12:35:06 +0000 (14:35 +0200)]
karo: tx48: remove the 'interrupts' property from LTC3589 node for AM335x silicon rev. 0

This silicon rev. has the polarity of the EXTINTn pin inverted
wrt. the spec. with no useable workaround. Remove the 'interrupts'
property from the ltc3589 DT node, so that the LTC driver will operate
in polling mode.

10 years agokaro: tx48: make sure I2C pads are high upon boot
Lothar Waßmann [Mon, 25 Aug 2014 12:30:23 +0000 (14:30 +0200)]
karo: tx48: make sure I2C pads are high upon boot

The LTC3589 PMIC may leave the SDA line pulled low when the module is
reset during an I2C transfer with the chip, blocking the I2C bus.

Reconfigure the I2C pads as GPIO upon boot and drive them HIGH, when
they are initially LOW.

10 years agokaro: tx48: only print message about cpu_clk, if it was actually changed
Lothar Waßmann [Mon, 25 Aug 2014 12:30:07 +0000 (14:30 +0200)]
karo: tx48: only print message about cpu_clk, if it was actually changed

10 years agokaro: tx48: fix label for CD GPIO
Lothar Waßmann [Mon, 25 Aug 2014 12:29:15 +0000 (14:29 +0200)]
karo: tx48: fix label for CD GPIO

10 years agokaro: tx48: remove 'with FDT support' from "Board: ..." message
Lothar Waßmann [Mon, 25 Aug 2014 12:26:54 +0000 (14:26 +0200)]
karo: tx48: remove 'with FDT support' from "Board: ..." message

FDT support is always present; no need to specifically anounce it in
checkboard().

10 years agogpio: am33xx: add missing gpio_get_value() function
Lothar Waßmann [Mon, 25 Aug 2014 12:25:18 +0000 (14:25 +0200)]
gpio: am33xx: add missing gpio_get_value() function

10 years agogpio: am33xx: print error messages for invalid GPIO requests
Lothar Waßmann [Mon, 25 Aug 2014 12:25:01 +0000 (14:25 +0200)]
gpio: am33xx: print error messages for invalid GPIO requests

10 years agoam33xx: don't print clock settings on boot
Lothar Waßmann [Mon, 25 Aug 2014 12:24:04 +0000 (14:24 +0200)]
am33xx: don't print clock settings on boot

10 years agokaro: fdt: fix karo_fdt_del_prop() function
Lothar Waßmann [Mon, 25 Aug 2014 12:20:00 +0000 (14:20 +0200)]
karo: fdt: fix karo_fdt_del_prop() function

Don't delete the nodes referenced by the phandle found in the
designated property.

10 years agokaro: tx53: change drive strength of DDR control lines KARO-TX-2014-08-21 KARO-TX53-2014-08-15
Lothar Waßmann [Thu, 14 Aug 2014 08:27:01 +0000 (10:27 +0200)]
karo: tx53: change drive strength of DDR control lines

With the current setting of the DSE values for the DDR control lines
we were exoeriencing memory errors at high operating temperatures.

Extensive memory tests have shown, that increasing the value for the
DSE setting fixes this problem.

10 years agokaro: tx53: fix DDR_SEL value
Lothar Waßmann [Thu, 14 Aug 2014 08:11:50 +0000 (10:11 +0200)]
karo: tx53: fix DDR_SEL value

The current value is inappropriate for DDR3.
When adding support for the HW rev. 3 of the TX53 module that has DDR3
instead of DDR2 memory, the values for both memory type were
erroneously swapped, so that after removing DDR2 support lateron, the
wrong value was kept.

10 years agokaro: tx53: clear persistent bits in lpgr upon boot
Lothar Waßmann [Thu, 14 Aug 2014 12:17:09 +0000 (14:17 +0200)]
karo: tx53: clear persistent bits in lpgr upon boot

Print the contents of the SRTC_LPGR and clear it upon boot.
Also print a warning, if PERSIST_SECONDARY_BOOT is set, meaning that
the processor was booted using the secondary boot image.

10 years agokaro: tx53: add 'romupdate' command to update the U-Boot image in flash
Lothar Waßmann [Thu, 14 Aug 2014 11:33:41 +0000 (13:33 +0200)]
karo: tx53: add 'romupdate' command to update the U-Boot image in flash

Implement the romupdate command, that is already in use on TX28 and
TX6.
The command searches for a sufficiently large area without bad blocks
inside the u-boot (or any given other) partition and dynmaically
creates the FCB that is required to boot from flash.

It is also possible to write a redundant image, that will be used if
the first block of the normal image cannot be read due to ECC errors.

10 years agokaro: tx53: prevent boot failure do to bad blocks inside the U-Boot partition
Lothar Waßmann [Thu, 14 Aug 2014 12:21:48 +0000 (14:21 +0200)]
karo: tx53: prevent boot failure do to bad blocks inside the U-Boot partition

Currently booting from NAND will fail, if the u-boot partition
contains any bad block, since the image_len in the IVT is set to the
u-boot partition size. Apparently the ROM code has a bug and does not
load the last block of a flash image when the block does not end on a
4KiB boundary. This leads to boot failures or random U-Boot crashes,
because the relocation table is most affected by this bug.

Workaround this by padding the image_len stored in the IVT to the next
4KiB boundary.

10 years agokaro: tx51: increase ipg_per clock to 24MHz KARO-TX51-2014-08-08
Lothar Waßmann [Fri, 8 Aug 2014 12:53:50 +0000 (14:53 +0200)]
karo: tx51: increase ipg_per clock to 24MHz

10 years agokaro: tx51: remove duplicate CONFIG_SYS_SDRAM_CLK definition
Lothar Waßmann [Fri, 8 Aug 2014 12:52:50 +0000 (14:52 +0200)]
karo: tx51: remove duplicate CONFIG_SYS_SDRAM_CLK definition

10 years agokaro: tx51: fix ipu clock setting
Lothar Waßmann [Fri, 8 Aug 2014 12:51:23 +0000 (14:51 +0200)]
karo: tx51: fix ipu clock setting

The IPU clock is derived from AXI_B clock, which is running at 133MHz
not 200MHz.

10 years agoarm: mx5: print some more clocks in the 'clock' command
Lothar Waßmann [Fri, 8 Aug 2014 12:45:21 +0000 (14:45 +0200)]
arm: mx5: print some more clocks in the 'clock' command

10 years agokaro: tx51: use .error asm instruction to print error message if DCD is too large
Lothar Waßmann [Fri, 8 Aug 2014 12:40:50 +0000 (14:40 +0200)]
karo: tx51: use .error asm instruction to print error message if DCD is too large

10 years agokaro: tx51: init pad settings for SDRAM and NAND
Lothar Waßmann [Fri, 8 Aug 2014 08:59:21 +0000 (10:59 +0200)]
karo: tx51: init pad settings for SDRAM and NAND

Make sure the padctrl settings for SDRAM and NAND are explicitly
configured from the DCD after soft reset.
Also reduce the DSE values for NAND and SDRAM control lines to
improve error margins in NAND detection and SDRAM stress test.

10 years agoMerge branch 'tx48-rel' KARO-TX-2014-07-18
Lothar Waßmann [Fri, 18 Jul 2014 12:48:59 +0000 (14:48 +0200)]
Merge branch 'tx48-rel'

10 years agofdt: karo: improve handling of usbotg phy
Lothar Waßmann [Fri, 18 Jul 2014 12:11:14 +0000 (14:11 +0200)]
fdt: karo: improve handling of usbotg phy

10 years agofdt: karo: make 'otg_mode' setting case insensitive
Lothar Waßmann [Fri, 18 Jul 2014 12:05:22 +0000 (14:05 +0200)]
fdt: karo: make 'otg_mode' setting case insensitive

10 years agokaro: tx53: remove a bogus wait for CON_ACK to clear
Lothar Waßmann [Thu, 17 Jul 2014 08:23:49 +0000 (10:23 +0200)]
karo: tx53: remove a bogus wait for CON_ACK to clear

10 years agomxs: change setup of exception vt KARO-TX-2014-07-10
Lothar Waßmann [Thu, 10 Jul 2014 09:09:20 +0000 (11:09 +0200)]
mxs: change setup of exception vt

10 years agoarm: use a different stack setup macro for swi (copied from armv7)
Lothar Waßmann [Wed, 2 Jul 2014 12:41:49 +0000 (14:41 +0200)]
arm: use a different stack setup macro for swi (copied from armv7)

10 years agokaro: set CONFIG_ARCH_MISC_INIT, so the exception VT will be properly updated after...
Lothar Waßmann [Wed, 2 Jul 2014 12:25:23 +0000 (14:25 +0200)]
karo: set CONFIG_ARCH_MISC_INIT, so the exception VT will be properly updated after relocation

10 years agoarm: adjust PC displayed in exception handlers to point to the failing instruction
Lothar Waßmann [Wed, 2 Jul 2014 12:23:56 +0000 (14:23 +0200)]
arm: adjust PC displayed in exception handlers to point to the failing instruction

10 years agoboard: karo: add 'ftd resize' to 'fdtsave' command
Lothar Waßmann [Mon, 30 Jun 2014 13:45:23 +0000 (15:45 +0200)]
board: karo: add 'ftd resize' to 'fdtsave' command

10 years agoboard: karo: enable CONFIG_FAT_WRITE for all modules
Lothar Waßmann [Mon, 30 Jun 2014 13:41:30 +0000 (15:41 +0200)]
board: karo: enable CONFIG_FAT_WRITE for all modules

10 years agoboard: karo: make vbus-supply property name depend on board type
Lothar Waßmann [Mon, 30 Jun 2014 13:22:41 +0000 (15:22 +0200)]
board: karo: make vbus-supply property name depend on board type

10 years agoMerge remote-tracking branch 'remotes/origin/tx48-mmc-bugfix'
Lothar Waßmann [Mon, 30 Jun 2014 13:18:34 +0000 (15:18 +0200)]
Merge remote-tracking branch 'remotes/origin/tx48-mmc-bugfix'

10 years agoMerge remote-tracking branch 'remotes/origin/tx28-bugfix'
Lothar Waßmann [Mon, 30 Jun 2014 13:17:22 +0000 (15:17 +0200)]
Merge remote-tracking branch 'remotes/origin/tx28-bugfix'

10 years agoMerge remote-tracking branch 'remotes/origin/tx6-bugfix'
Lothar Waßmann [Mon, 30 Jun 2014 13:17:13 +0000 (15:17 +0200)]
Merge remote-tracking branch 'remotes/origin/tx6-bugfix'

10 years agoboard: tx48: add MMC init code
Lothar Waßmann [Thu, 26 Jun 2014 10:13:20 +0000 (12:13 +0200)]
board: tx48: add MMC init code

Up to now we relied on cpu_mmc_init() to initialize the MMC unit for
us. This had some major drawbacks:
- the default implementation doesn't use CD gpios, so that the driver
  always assumes a card is present.
- the default implementation always initializes two MMC interfaces,
  though the TX48 supports only one.

Properly initialize the CD GPIO and implement our own version of
cpu_mmc_init().

10 years agoarm: am33xx: define cpu_mmc_init() as weak symbol
Lothar Waßmann [Thu, 26 Jun 2014 10:09:34 +0000 (12:09 +0200)]
arm: am33xx: define cpu_mmc_init() as weak symbol

define the 'am33xx' cpu_mmc_init() implementation as weak symbol, so
it can be overridden by platform specific code!

10 years agommc: omap_hsmmc: improve timeout checks in wait loops
Lothar Waßmann [Thu, 26 Jun 2014 10:01:00 +0000 (12:01 +0200)]
mmc: omap_hsmmc: improve timeout checks in wait loops

restructure the timeout loops, so that after timing out the loop
condition is checked again. U-Boot is not a multitasking OS where this
would be essential, but this is a good habit anyway.

10 years agommc: omap_hsmmc: cleanup code
Lothar Waßmann [Thu, 26 Jun 2014 09:02:58 +0000 (11:02 +0200)]
mmc: omap_hsmmc: cleanup code
- remove useless return value from mmc_board_init()
- make mmc_board_init() static
- check dev_index in omap_mmc_init() before using it as array index

10 years agoarm: am33xx: fix definition of MMC register addresses broken by merge
Lothar Waßmann [Thu, 26 Jun 2014 09:00:39 +0000 (11:00 +0200)]
arm: am33xx: fix definition of MMC register addresses broken by merge

10 years agoarm: am335x: fix bogus #ifndef CONFIG_OMAP_MMC_DEV_0
Lothar Waßmann [Thu, 26 Jun 2014 08:59:46 +0000 (10:59 +0200)]
arm: am335x: fix bogus #ifndef CONFIG_OMAP_MMC_DEV_0

10 years agoMerge branch 'tx6-bugfix'
Lothar Waßmann [Mon, 16 Jun 2014 16:09:05 +0000 (18:09 +0200)]
Merge branch 'tx6-bugfix'

10 years agokaro: tx6: actually use 'skip' parameter in tx6_prog_uboot() to determine start of...
Lothar Waßmann [Mon, 16 Jun 2014 16:08:45 +0000 (18:08 +0200)]
karo: tx6: actually use 'skip' parameter in tx6_prog_uboot() to determine start of image in flash

10 years agokaro: tx28: actually use 'skip' parameter in tx28_prog_uboot() to determine start...
Lothar Waßmann [Mon, 16 Jun 2014 16:08:03 +0000 (18:08 +0200)]
karo: tx28: actually use 'skip' parameter in tx28_prog_uboot() to determine start of image in flash

10 years agokaro: unify mtd partitioning across all TX modules and increase linux partition size... KARO-TX-2014-06-04
Lothar Waßmann [Wed, 4 Jun 2014 14:49:55 +0000 (16:49 +0200)]
karo: unify mtd partitioning across all TX modules and increase linux partition size to 6MiB and rootfs to 32MiB

10 years agokaro: tx6: eliminate multiple evaluation of artithmetic expressions
Lothar Waßmann [Wed, 4 Jun 2014 08:16:23 +0000 (10:16 +0200)]
karo: tx6: eliminate multiple evaluation of artithmetic expressions

10 years agopost: remove redundant include of autoconf.mk which is already included from $(TOPDIR...
Lothar Waßmann [Wed, 4 Jun 2014 08:11:46 +0000 (10:11 +0200)]
post: remove redundant include of autoconf.mk which is already included from $(TOPDIR)/config.mk

10 years agoMerge branch 'tx51-bugfix'
Lothar Waßmann [Tue, 3 Jun 2014 08:07:19 +0000 (10:07 +0200)]
Merge branch 'tx51-bugfix'

10 years agokaro: tx51: enable arm_bus clock
Lothar Waßmann [Mon, 2 Jun 2014 14:06:23 +0000 (16:06 +0200)]
karo: tx51: enable arm_bus clock

10 years agokaro: tx53: enable tmax2 clock to make ESDHC2 interface functional
Lothar Waßmann [Fri, 30 May 2014 13:01:06 +0000 (15:01 +0200)]
karo: tx53: enable tmax2 clock to make ESDHC2 interface functional

10 years agoadd support for TX6U-8012 KARO-TX-2014-05-29
Lothar Waßmann [Fri, 16 May 2014 10:02:12 +0000 (12:02 +0200)]
add support for TX6U-8012

10 years agodoc: karo: added description of boot_mode variable
Lothar Waßmann [Wed, 14 May 2014 09:08:07 +0000 (11:08 +0200)]
doc: karo: added description of boot_mode variable

10 years agodoc: karo: added description of boot_mode variable
Lothar Waßmann [Wed, 14 May 2014 08:39:28 +0000 (10:39 +0200)]
doc: karo: added description of boot_mode variable

10 years agodoc: karo: added description for TX6Q-1020
Lothar Waßmann [Wed, 14 May 2014 08:38:59 +0000 (10:38 +0200)]
doc: karo: added description for TX6Q-1020

10 years agoMerge branch 'tx6q-1020-devel'
Lothar Waßmann [Wed, 14 May 2014 07:29:24 +0000 (09:29 +0200)]
Merge branch 'tx6q-1020-devel'

10 years agoMerge branch 'tx28-bugfix'
Lothar Waßmann [Wed, 14 May 2014 07:25:17 +0000 (09:25 +0200)]
Merge branch 'tx28-bugfix'

10 years agoarm: karo: tx6: reference mmc root device by UUID
Lothar Waßmann [Tue, 13 May 2014 12:48:26 +0000 (14:48 +0200)]
arm: karo: tx6: reference mmc root device by UUID

10 years agokaro: tx6: increase dtb partition size to allow for bad blocks inside the partition KARO-TX6-2014-04-28
Lothar Waßmann [Mon, 28 Apr 2014 12:14:53 +0000 (14:14 +0200)]
karo: tx6: increase dtb partition size to allow for bad blocks inside the partition

10 years agokaro: tx6: remove bootcmd_nand and set boot_mode to 'mmc' for TX6Q-1020
Lothar Waßmann [Mon, 28 Apr 2014 11:56:04 +0000 (13:56 +0200)]
karo: tx6: remove bootcmd_nand and set boot_mode to 'mmc' for TX6Q-1020

10 years agokaro: tx6: remove obsolete write levelling code
Lothar Waßmann [Fri, 25 Apr 2014 12:04:20 +0000 (14:04 +0200)]
karo: tx6: remove obsolete write levelling code

10 years agokaro: tx6: Finalize support for TX6Q-1020
Lothar Waßmann [Fri, 25 Apr 2014 11:48:29 +0000 (13:48 +0200)]
karo: tx6: Finalize support for TX6Q-1020

- don't setup NAND related pads when CONFIG_NAND_MXS is not defined
- initialize USDHC4 interface (internal eMMC) as mmc0
- enable all LDOs
- calculate DTB partition size and number of blocks in config.mk
- enable 'fat write' command
- disable GPT and EFI partitions
- setup 'fdtsave' command to write the dtb inside the boot partition
- interpret 'splashimage' env variable as DOS filename rather than
  partition name

10 years agokaro: tx6: lowlevel_init: various fixes for DDR calibration
Lothar Waßmann [Fri, 25 Apr 2014 11:41:08 +0000 (13:41 +0200)]
karo: tx6: lowlevel_init: various fixes for DDR calibration

- remove useless comments
- issue manual refresh cycle after disabling automatic refresh
- don't enable periodic ZQ calibration until after calibration is done
- remove redundant writes to MDMISC
- issue MRS commands to select MPR for both banks in case of multiple
  SDRAM banks used
- combine check commands for completion and error bits

10 years agokaro: tx6-1020: set DDR voltage to 1.5V
Lothar Waßmann [Fri, 25 Apr 2014 11:27:32 +0000 (13:27 +0200)]
karo: tx6-1020: set DDR voltage to 1.5V

10 years agokaro: tx6: use _LP voltage settings for low power mode voltages
Lothar Waßmann [Fri, 25 Apr 2014 11:24:18 +0000 (13:24 +0200)]
karo: tx6: use _LP voltage settings for low power mode voltages

10 years agokaro: tx6: lowlevel_init: simplify MXC_DCD_CMD_*() macros, so that no explicit label...
Lothar Waßmann [Fri, 25 Apr 2014 08:37:20 +0000 (10:37 +0200)]
karo: tx6: lowlevel_init: simplify MXC_DCD_CMD_*() macros, so that no explicit label is necessary

define and use a numeric label inside the macros to calculate the
length of the cmd parameters

10 years agokaro: tx28: remove erroneous pad settings for LCD_HSYNC,VSYNC,DOTCLK pads
Lothar Waßmann [Tue, 15 Apr 2014 06:10:04 +0000 (08:10 +0200)]
karo: tx28: remove erroneous pad settings for LCD_HSYNC,VSYNC,DOTCLK pads

10 years agoMerge remote-tracking branch 'remotes/tx6-devel/tx6-devel' into karo-tx-uboot KARO-TX-2014-04-09
Lothar Waßmann [Wed, 9 Apr 2014 08:22:39 +0000 (10:22 +0200)]
Merge remote-tracking branch 'remotes/tx6-devel/tx6-devel' into karo-tx-uboot

10 years agoMerge remote-tracking branch 'remotes/tx53-devel/tx53-devel' into karo-tx-uboot
Lothar Waßmann [Wed, 9 Apr 2014 08:22:38 +0000 (10:22 +0200)]
Merge remote-tracking branch 'remotes/tx53-devel/tx53-devel' into karo-tx-uboot

10 years agoMerge remote-tracking branch 'remotes/tx28-romupdate/tx28-romupdate' into karo-tx...
Lothar Waßmann [Wed, 9 Apr 2014 08:22:38 +0000 (10:22 +0200)]
Merge remote-tracking branch 'remotes/tx28-romupdate/tx28-romupdate' into karo-tx-uboot

10 years agokaro: common: mmc: remove debug code
Lothar Waßmann [Wed, 9 Apr 2014 08:22:12 +0000 (10:22 +0200)]
karo: common: mmc: remove debug code

10 years agokaro: tx6: remove duplicate setup of LCD pads
Lothar Waßmann [Wed, 9 Apr 2014 08:20:57 +0000 (10:20 +0200)]
karo: tx6: remove duplicate setup of LCD pads

10 years agokaro: tx6: romupdate: rework, so u-boot can be stored in any partition
Lothar Waßmann [Wed, 9 Apr 2014 08:19:52 +0000 (10:19 +0200)]
karo: tx6: romupdate: rework, so u-boot can be stored in any partition

- arbitrary partition names can be given for primary and secondary
  partition

10 years agoarm: mx5: clock: add support for changing CPU clock via cmdline
Lothar Waßmann [Wed, 9 Apr 2014 08:18:42 +0000 (10:18 +0200)]
arm: mx5: clock: add support for changing CPU clock via cmdline

10 years agoarm: mx5: clock: fix PLL_FREQ_MIN() calculation
Lothar Waßmann [Wed, 9 Apr 2014 08:18:39 +0000 (10:18 +0200)]
arm: mx5: clock: fix PLL_FREQ_MIN() calculation

10 years agoarm: mx5: clock: improve accuracy of decode_pll()
Lothar Waßmann [Wed, 9 Apr 2014 08:18:35 +0000 (10:18 +0200)]
arm: mx5: clock: improve accuracy of decode_pll()

10 years agoarm: mx5: clock: adjust data types to avoid useless type casts
Lothar Waßmann [Wed, 9 Apr 2014 08:18:31 +0000 (10:18 +0200)]
arm: mx5: clock: adjust data types to avoid useless type casts

10 years agoarm: mx5: add support for core voltage change when switching clock frequency
Lothar Waßmann [Wed, 9 Apr 2014 08:18:28 +0000 (10:18 +0200)]
arm: mx5: add support for core voltage change when switching clock frequency

10 years agokaro: tx53: lowlevel_init: make sure ESDSCR[CON_REQ] remains asserted throughout...
Lothar Waßmann [Wed, 9 Apr 2014 08:18:24 +0000 (10:18 +0200)]
karo: tx53: lowlevel_init: make sure ESDSCR[CON_REQ] remains asserted throughout the whole calibration process

10 years agokaro: tx53: lowlevel_init: remove write calibration
Lothar Waßmann [Wed, 9 Apr 2014 08:18:20 +0000 (10:18 +0200)]
karo: tx53: lowlevel_init: remove write calibration

write calibration is not necessary due to the PCB layout and doesn't
work with the NT5CB128M16FP-DII chips that only use primary DQ lines
for signalling

10 years agokaro: tx53: lowlevel_init: simplify MXC_DCD_CMD_*() macros, so that no explicit label...
Lothar Waßmann [Wed, 9 Apr 2014 08:18:16 +0000 (10:18 +0200)]
karo: tx53: lowlevel_init: simplify MXC_DCD_CMD_*() macros, so that no explicit label is necessary

define and use a numeric label inside the macros to calculate the
length of the cmd parameters