]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: mx23: Fix VDDMEM misconfiguration
authorMarek Vasut <marex@denx.de>
Sun, 28 Apr 2013 14:17:45 +0000 (14:17 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 6 May 2013 08:20:33 +0000 (10:20 +0200)
commitdd3ecf020ec6e1932c473ef504e56a036b52bd4e
tree309a095354f1fa88015ee79171f2d2fecad8dde6
parent286a88cf34bcfec4a1051b5ee3553277e6c31e2e
arm: mx23: Fix VDDMEM misconfiguration

The VDDMEM ramped up in very weird way as it was horribly misconfigured.
Instead of setting up VDDMEM in one swipe, let it rise slowly the same
way as VDDD and VDDA in spl_power_init.c and then only clear ILIMIT before
memory gets inited. This makes sure the VDDMEM rises sanely, not jumps up
and down as it did till now.

The VDDMEM prior to this change did this:
     2V0____   .--------2V5
       |    `--'
 0V____|

The VDDMEM now does this:
    2V0_____,-----------2V5
      /
 0V__|

Moreover, VDDIO on MX23 uses 25mV steps while MX28 uses 50mV steps,
fix this difference too.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
arch/arm/cpu/arm926ejs/mxs/spl_power_init.c