summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2011-07-25 14:26:27 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2011-07-27 10:21:01 +0800
commitb6dadf2aabf4ef56acff03a3df269cb3c9b4147f (patch)
tree0958ecc40c0724b2274a9ef3516907c04d7cf17f /include/asm-arm
parent25f925214af7a5abe9808e273365a87bc8474fc5 (diff)
downloadu-boot-imx-b6dadf2aabf4ef56acff03a3df269cb3c9b4147f.zip
u-boot-imx-b6dadf2aabf4ef56acff03a3df269cb3c9b4147f.tar.gz
u-boot-imx-b6dadf2aabf4ef56acff03a3df269cb3c9b4147f.tar.bz2
ENGR00153526 mx53 pcba: add pcba board revB support in uboot
Add new machine type for pcba. Add UART, I2C, SD/MMC, PMIC, DDR initial support. Add MFG tool support. Add support for MC34708 on revB pcba board. Update VDDGP setting on MC34708 PMIC for revB board. Close unused clock, for fastboot it will enable usb_phy usb_oh3 clock by itself, still need to verify this work or not when revB bootup. Signed-off-by: Wayne Zou <b36644@freescale.com> Signed-off-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/arch-mx53/mmu.h8
-rw-r--r--include/asm-arm/mach-types.h1
2 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-arm/arch-mx53/mmu.h b/include/asm-arm/arch-mx53/mmu.h
index 32ef86c..553e02d 100644
--- a/include/asm-arm/arch-mx53/mmu.h
+++ b/include/asm-arm/arch-mx53/mmu.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2011 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -140,7 +140,8 @@ union ARM_MMU_FIRST_LEVEL_DESCRIPTOR {
*/
inline unsigned long iomem_to_phys(unsigned long virt)
{
-#if defined(CONFIG_MX53_SMD) || defined(CONFIG_MX53_LOCO)
+#if defined(CONFIG_MX53_SMD) || defined(CONFIG_MX53_LOCO) \
+ || defined(CONFIG_MX53_PCBA)
if (virt >= 0x90000000 && virt <= 0xafffffff)
return (unsigned long)((virt - 0x90000000) + PHYS_SDRAM_1);
if (virt >= 0xD0000000 && virt <= 0xEfffffff)
@@ -160,7 +161,8 @@ inline unsigned long iomem_to_phys(unsigned long virt)
void *__ioremap(unsigned long offset, size_t size, unsigned long flags)
{
if (1 == flags) {
-#if defined(CONFIG_MX53_SMD) || defined(CONFIG_MX53_LOCO)
+#if defined(CONFIG_MX53_SMD) || defined(CONFIG_MX53_LOCO) \
+ || defined(CONFIG_MX53_PCBA)
if (offset >= PHYS_SDRAM_1 &&
offset < (unsigned long)(PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE))
return (void *)((offset - PHYS_SDRAM_1) + 0x90000000);
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index 095996c..4255c07 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -3253,6 +3253,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_LQ2 3271
#define MACH_TYPE_SWEDA_TMS2 3272
#define MACH_TYPE_MX53_LOCO 3273
+#define MACH_TYPE_MX53_PCBA 3274
#define MACH_TYPE_MX6Q_SABREAUTO 3529
#ifdef CONFIG_ARCH_EBSA110