]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: Punt cold- and warm-boot flags
authorGraeme Russ <graeme.russ@gmail.com>
Tue, 8 Nov 2011 02:33:17 +0000 (02:33 +0000)
committerGraeme Russ <graeme.russ@gmail.com>
Tue, 29 Nov 2011 10:04:06 +0000 (21:04 +1100)
Nobody uses them anyway

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
arch/x86/cpu/start.S
arch/x86/cpu/start16.S
arch/x86/include/asm/global_data.h

index 306fb496170a68c6a0ba01717472615d5135f4f2..1634eb11c141e4dc8ee5668a49e17a5efa94021e 100644 (file)
@@ -53,8 +53,6 @@ _x86boot_start:
        movl    %eax, %cr0
        wbinvd
 
-       /* Tell 32-bit code it is being entered from an in-RAM copy */
-       movw    $GD_FLG_WARM_BOOT, %bx
 _start:
        /* This is the 32-bit cold-reset entry point */
 
index 9dabff2b9f3309f2253ead84d28130f7a28066f0..33e53cdb3b660d908c2b6bfa7e44929b3b5e5eac 100644 (file)
@@ -37,9 +37,6 @@
 .code16
 .globl start16
 start16:
-       /* Set the Cold Boot / Hard Reset flag */
-       movl    $GD_FLG_COLD_BOOT, %ebx
-
        /*
         * First we let the BSP do some early initialization
         * this code have to map the flash to its final position
index f177a4fa3b6859ee44c1871c3dae2feb3ca67c55..c7365496a89dd78c3cf3084331b4c83da8ed5539 100644 (file)
@@ -91,8 +91,6 @@ extern gd_t *gd;
 #define        GD_FLG_LOGINIT          0x00020 /* Log Buffer has been initialized      */
 #define GD_FLG_DISABLE_CONSOLE 0x00040 /* Disable console (in & out)           */
 #define GD_FLG_ENV_READY       0x00080 /* Environment imported into hash table */
-#define GD_FLG_COLD_BOOT       0x00100 /* Cold Boot */
-#define GD_FLG_WARM_BOOT       0x00200 /* Warm Boot */
 
 #if 0
 #define DECLARE_GLOBAL_DATA_PTR