Merge branch 'master' of git://git.denx.de/u-boot-uniphier
authorTom Rini <trini@konsulko.com>
Mon, 2 May 2016 16:18:43 +0000 (12:18 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 2 May 2016 16:18:43 +0000 (12:18 -0400)
arch/arm/cpu/armv7/omap-common/boot-common.c
include/configs/ti_armv7_common.h

index ed9ba7b5d3e6b2675600bc67e71b2c1da988d448..0456263d6ecc60b52ec1b5ef5d72fd27fc9a1c11 100644 (file)
@@ -111,6 +111,8 @@ void save_omap_boot_params(void)
            (boot_device <= MMC_BOOT_DEVICES_END)) {
                switch (boot_device) {
                case BOOT_DEVICE_MMC1:
+                       boot_mode = MMCSD_MODE_FS;
+                       break;
                case BOOT_DEVICE_MMC2:
                        boot_mode = MMCSD_MODE_RAW;
                        break;
index 2c7d5425efef39d5ef2e02a42b411b0e528729c8..7db08813e4958981a6261bdfdf4d1e99e33d2a83 100644 (file)
 #endif
 
 /* RAW SD card / eMMC locations. */
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x200   /* address 0x40000 */
-#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x300   /* 384 KB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x60000 */
+#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS     0x200 /* 256 KB */
 
 /* FAT sd card locations. */
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1