]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i.MX28: Make the stabilization delays shorter
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 30 Jan 2012 14:05:39 +0000 (14:05 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 27 Mar 2012 07:41:16 +0000 (09:41 +0200)
Cut down the VDDIO/VDDA regulator stabilization delays to 500 uS. That should be
enough according to the datasheet and bootlets.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Robert Deliƫn <robert@delien.nl>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
arch/arm/cpu/arm926ejs/mx28/spl_power_init.c

index 271da8dd7671d7ef79e767a862dce261fdba7622..aa4117d3a23abbb3225ffa976cc91f7162b00539 100644 (file)
@@ -729,7 +729,7 @@ void mx28_power_set_vddio(uint32_t new_target, uint32_t new_brownout)
                        if (powered_by_linreg ||
                                (readl(&power_regs->hw_power_sts) &
                                        POWER_STS_VDD5V_GT_VDDIO))
-                               early_delay(1500);
+                               early_delay(500);
                        else {
                                while (!(readl(&power_regs->hw_power_sts) &
                                        POWER_STS_DC_OK))
@@ -766,7 +766,7 @@ void mx28_power_set_vddio(uint32_t new_target, uint32_t new_brownout)
                        if (powered_by_linreg ||
                                (readl(&power_regs->hw_power_sts) &
                                        POWER_STS_VDD5V_GT_VDDIO))
-                               early_delay(1500);
+                               early_delay(500);
                        else {
                                while (!(readl(&power_regs->hw_power_sts) &
                                        POWER_STS_DC_OK))
@@ -826,7 +826,7 @@ void mx28_power_set_vddd(uint32_t new_target, uint32_t new_brownout)
                        if (powered_by_linreg ||
                                (readl(&power_regs->hw_power_sts) &
                                        POWER_STS_VDD5V_GT_VDDIO))
-                               early_delay(1500);
+                               early_delay(500);
                        else {
                                while (!(readl(&power_regs->hw_power_sts) &
                                        POWER_STS_DC_OK))
@@ -863,7 +863,7 @@ void mx28_power_set_vddd(uint32_t new_target, uint32_t new_brownout)
                        if (powered_by_linreg ||
                                (readl(&power_regs->hw_power_sts) &
                                        POWER_STS_VDD5V_GT_VDDIO))
-                               early_delay(1500);
+                               early_delay(500);
                        else {
                                while (!(readl(&power_regs->hw_power_sts) &
                                        POWER_STS_DC_OK))