s5p: universal: modify update macro backup instead of save
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 5 Jan 2011 06:10:13 +0000 (15:10 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 5 Jan 2011 06:10:13 +0000 (15:10 +0900)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/samsung/universal_c110/universal.c
board/samsung/universal_c210/universal.c
include/configs/s5pc110_universal.h
include/configs/s5pc210_universal.h

index 7319efc..7d99688 100644 (file)
@@ -813,10 +813,10 @@ static void check_auto_burn(void)
                puts("Auto burning bootloader (eMMC)\n");
                count += sprintf(buf + count, "run updatemmc; ");
        }
-       /* Save u-boot in eMMC */
-       if (readl(magic_base) == 0x53617665) {          /* ASICC: Save */
+       /* Backup u-boot in eMMC */
+       if (readl(magic_base) == 0x4261636B) {          /* ASICC: Back */
                puts("Auto buring u-boot image (boot partition2 in eMMC)\n");
-               count += sprintf(buf + count, "run updatesave; ");
+               count += sprintf(buf + count, "run updatebackup; ");
        }
        if (readl(magic_base + 0x04) == 0x4b65726e) {   /* ASICC: Kern */
                puts("Auto burning kernel\n");
index 96062f6..e04f078 100644 (file)
@@ -247,10 +247,10 @@ static void check_auto_burn(void)
                puts("Auto buring bootloader (eMMC)\n");
                count += sprintf(buf + count, "run updatemmc; ");
        }
-       /* Save u-boot in eMMC */
-       if (readl(magic_base) == 0x53617665) {          /* ASICC: Save */
+       /* Backup u-boot in eMMC */
+       if (readl(magic_base) == 0x4261636B) {          /* ASICC: Back */
                puts("Auto buring u-boot image (boot partition2 in eMMC)\n");
-               count += sprintf(buf + count, "run updatesave; ");
+               count += sprintf(buf + count, "run updatebackup; ");
        }
        if (readl(magic_base + 0x4) == 0x4b65726e) {    /* ASICC: Kern */
                puts("Auto buring kernel\n");
index 03d9cb4..ef68e8d 100644 (file)
        " bootm 0x30007FC0\0" \
        "updatemmc=mmc boot 0 1 1 1; mmc write 0 0x32008000 0 0x200;" \
                " mmc boot 0 1 1 0\0" \
-       "updatesave=mmc boot 0 1 1 2; mmc write 0 0x32000000 0 0x200;" \
+       "updatebackup=mmc boot 0 1 1 2; mmc write 0 0x32000000 0 0x200;" \
                " mmc boot 0 1 1 0\0" \
        "flashboot=set bootargs root=/dev/mtdblock${bootblock}" \
         " rootfstype=${rootfstype}" \
index 83686cd..2d32376 100644 (file)
        "bootk=run loaduimage; bootm 0x40007FC0\0" \
        "updatemmc=mmc boot 0 1 1 1; mmc write 0 0x42008000 0 0x200;" \
                " mmc boot 0 1 1 0\0" \
-       "updatesave=mmc boot 0 1 1 2; mmc write 0 0x42000000 0 0x200;" \
+       "updatebackup=mmc boot 0 1 1 2; mmc write 0 0x42000000 0 0x200;" \
                " mmc boot 0 1 1 0\0" \
        "lpj=lpj=3981312\0" \
        "ubifsboot=set bootargs root=ubi0!rootfs rootfstype=ubifs ${lpj} " \