mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
x86: Punt cold- and warm-boot flags
Nobody uses them anyway Signed-off-by: Graeme Russ <graeme.russ@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
63a90bfb7e
commit
facc9e7bf4
3 changed files with 0 additions and 7 deletions
|
@ -53,8 +53,6 @@ _x86boot_start:
|
||||||
movl %eax, %cr0
|
movl %eax, %cr0
|
||||||
wbinvd
|
wbinvd
|
||||||
|
|
||||||
/* Tell 32-bit code it is being entered from an in-RAM copy */
|
|
||||||
movw $GD_FLG_WARM_BOOT, %bx
|
|
||||||
_start:
|
_start:
|
||||||
/* This is the 32-bit cold-reset entry point */
|
/* This is the 32-bit cold-reset entry point */
|
||||||
|
|
||||||
|
|
|
@ -37,9 +37,6 @@
|
||||||
.code16
|
.code16
|
||||||
.globl start16
|
.globl start16
|
||||||
start16:
|
start16:
|
||||||
/* Set the Cold Boot / Hard Reset flag */
|
|
||||||
movl $GD_FLG_COLD_BOOT, %ebx
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* First we let the BSP do some early initialization
|
* First we let the BSP do some early initialization
|
||||||
* this code have to map the flash to its final position
|
* this code have to map the flash to its final position
|
||||||
|
|
|
@ -91,8 +91,6 @@ extern gd_t *gd;
|
||||||
#define GD_FLG_LOGINIT 0x00020 /* Log Buffer has been initialized */
|
#define GD_FLG_LOGINIT 0x00020 /* Log Buffer has been initialized */
|
||||||
#define GD_FLG_DISABLE_CONSOLE 0x00040 /* Disable console (in & out) */
|
#define GD_FLG_DISABLE_CONSOLE 0x00040 /* Disable console (in & out) */
|
||||||
#define GD_FLG_ENV_READY 0x00080 /* Environment imported into hash table */
|
#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
|
#if 0
|
||||||
#define DECLARE_GLOBAL_DATA_PTR
|
#define DECLARE_GLOBAL_DATA_PTR
|
||||||
|
|
Loading…
Add table
Reference in a new issue