summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorAnish Trivedi <anish@freescale.com>2010-11-09 10:21:30 -0600
committerAnish Trivedi <anish@freescale.com>2010-11-15 10:09:07 -0600
commit5992019f3fc6bddf9c2154d6d1a8c99759a24e4f (patch)
tree6ba8e54999df35f2230f1d9b825ed6f31e0c3091 /include/asm-arm
parent2cbb0e33bd31c9a34fcf3313329c005ae4ad44d6 (diff)
downloadu-boot-imx-5992019f3fc6bddf9c2154d6d1a8c99759a24e4f.zip
u-boot-imx-5992019f3fc6bddf9c2154d6d1a8c99759a24e4f.tar.gz
u-boot-imx-5992019f3fc6bddf9c2154d6d1a8c99759a24e4f.tar.bz2
ENGR00132909 MX53 Uboot: Support for TO2
Support new DDR script entitled "Rita_TO2_init_DDR2_CPU2_CMOS_TEST_CAL_v1.inc" for DDR2 boards including MX53 EVK, ARD, and ARM2 CPU2. These new settings did not apply to TO1. Therefore, changed the DCD for these boards to a plugin so that TO1 and TO2 can both be supported using conditional execution of new DDR settings. During bootup on TO2, DDR frequency is required to be below 400 MHz. Therefore, BOOT_CFG2[4] must be set to enable DDR at 333 MHz in ROM on all boards. Uboot determines silicon version and for TO2 boosts the VCC and VDDA voltages to 1.3V, after which the DDR frequency is also increased to 400 MHz. This requirement meant that uboot does not calibrate PLL2 anymore until the voltage is increased. Removed the calibration from lowlevel_init.S and from all mx53 include/configs files. Also required that during config_periph_clk(), only CBCMR register is touched to set source PLL. Other changes to CBCDR were removed. Switching to PLL2 bypass clk during reprogram was also removed. All these changes are required to increase DDR frequency to 400 MHz. DDR2 CPU2 board with TO1 requires the following hw cfgs: JP3 populated, and J8 set to 2-3. For DDR2 CPU2 board with TO2, both these jumpers should be depopulated. ARM2 CPU3 (with DDR3) DDR configurations were not changed. TO1 and TO2 can run well using existing DDR3 script. However, DCD was converted to plugin to align with other boards. Signed-off-by: Anish Trivedi <anish@freescale.com>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-mx53/mx53.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx53/mx53.h b/include/asm-arm/arch-mx53/mx53.h
index a327b7f..5e1eedb 100644
--- a/include/asm-arm/arch-mx53/mx53.h
+++ b/include/asm-arm/arch-mx53/mx53.h
@@ -24,6 +24,11 @@
#define __REG8(x) (*((volatile u8 *)(x)))
/*
+ * ROM address which denotes silicon rev
+ */
+#define ROM_SI_REV 0x48
+
+/*
* SATA
*/
#define SATA_BASE_ADDR 0x10000000
@@ -337,6 +342,7 @@
#define CLKCTL_CMEOR 0x88
#define CHIP_REV_1_0 0x10
+#define CHIP_REV_2_0 0x20
#define PLATFORM_ICGC 0x14
/* Assuming 24MHz input clock with doubler ON */