]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Add back cold- and warm-boot flags
authorGabe Black <gabeblack@chromium.org>
Sat, 3 Nov 2012 11:41:28 +0000 (11:41 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Dec 2012 22:30:42 +0000 (14:30 -0800)
commit91d82a29e7aec12c97dcd4a4be1962f6d794b35c
treee70b0d46290d7e1554bc59253cb55e8d091e1ecb
parent112a575e498fe0c6bfbb4dbe3266d83f48d46a99
x86: Add back cold- and warm-boot flags

These were removed, but actually are useful.

Cold means that we started from a reset/power on.
Warm means that we started from another U-Boot.

We determine whether u-boot on x86 was warm or cold booted (really if
it started at the beginning of the text segment or at the ELF entry point).
We plumb the result through to the global data structure.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/start.S
arch/x86/cpu/start16.S
arch/x86/include/asm/global_data.h