summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSammy He <r62914@freescale.com>2011-01-21 23:16:56 +0800
committerSammy He <r62914@freescale.com>2011-01-22 01:33:13 +0800
commitdbb5163f616936175302b23f6f13e44b96724997 (patch)
tree9c01414f1ef4dd14ebb658bfa1583a514334390b /drivers
parent7d0d702b83911c72b9f3f2b83634cc11889c730b (diff)
downloadu-boot-imx-dbb5163f616936175302b23f6f13e44b96724997.zip
u-boot-imx-dbb5163f616936175302b23f6f13e44b96724997.tar.gz
u-boot-imx-dbb5163f616936175302b23f6f13e44b96724997.tar.bz2
ENGR00138359 Change uramdisk from 6M byte offset of android fastboot
Change uramdisk from 6M byte offset of android fastboot due to kernel image size more than 3M now. Signed-off-by: Sammy He <r62914@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/fastboot/fastboot.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/fastboot/fastboot.c b/drivers/fastboot/fastboot.c
index 198c7c6..ee8d6fc 100644
--- a/drivers/fastboot/fastboot.c
+++ b/drivers/fastboot/fastboot.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -265,8 +265,8 @@ static void fastboot_init_mmc_ptable(void)
* imx family android layout
* mbr - 0 ~ 0x3FF byte
* bootloader - 0x400 ~ 0xFFFFF byte
- * kernel - 0x100000 ~ 3FFFFF byte
- * uramedisk - 0x400000 ~ 0x4FFFFF supposing 1M temporarily
+ * kernel - 0x100000 ~ 5FFFFF byte
+ * uramedisk - 0x600000 ~ 0x6FFFFF supposing 1M temporarily
* SYSTEM partition - /dev/mmcblk0p2
* RECOVERY parittion - dev/mmcblk0p6
*/
@@ -281,10 +281,10 @@ static void fastboot_init_mmc_ptable(void)
/* kernel */
strcpy(ptable[PTN_KERNEL_INDEX].name, "kernel");
ptable[PTN_KERNEL_INDEX].start = 0x100000; /* 1M byte offset */
- ptable[PTN_KERNEL_INDEX].length = 0x300000; /* 3M byte */
+ ptable[PTN_KERNEL_INDEX].length = 0x500000; /* 5M byte */
/* uramdisk */
strcpy(ptable[PTN_URAMDISK_INDEX].name, "uramdisk");
- ptable[PTN_URAMDISK_INDEX].start = 0x400000; /* 4M byte offset */
+ ptable[PTN_URAMDISK_INDEX].start = 0x600000; /* 6M byte offset */
ptable[PTN_URAMDISK_INDEX].length = 0x100000;
/* system partition */