uboot/arch/x86/include/asm
Simon Glass d1cd045982 x86: Emit post codes in startup code for Chromebooks
On x86 it is common to use 'post codes' which are 8-bit hex values emitted
from the code and visible to the user. Traditionally two 7-segment displays
were made available on the motherboard to show the last post code that was
emitted. This allows diagnosis of a boot problem since it is possible to
see where the code got to before it died.

On modern hardware these codes are not normally visible. On Chromebooks
they are displayed by the Embedded Controller (EC), so it is useful to emit
them. We must enable this feature for the EC to see the codes, so add an
option for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2014-11-21 07:34:11 +01:00
..
arch-coreboot dm: x86: Add a gpio header for coreboot 2014-10-23 19:45:28 -06:00
arch-ivybridge x86: Add chromebook_link board 2014-11-21 07:34:11 +01:00
video x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
bitops.h x86: Add ilog2 to bitops 2012-11-28 11:40:03 -08:00
bootm.h x86: Move kernel boot function to arch/x86/lib/bootm.c 2014-10-28 20:43:58 -06:00
bootparam.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
byteorder.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
cache.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.h kconfig: move CONFIG_USE_PRIVATE_LIBGCC to Kconfig 2014-10-23 13:19:09 -04:00
control_regs.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cpu.h x86: Replace fill_processor_name() with cpu_get_name() 2014-11-21 07:24:12 +01:00
e820.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
errno.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
global_data.h x86: Save TSC frequency in the global data 2014-11-21 07:24:10 +01:00
gpio.h dm: x86: Add a gpio header for coreboot 2014-10-23 19:45:28 -06:00
i8254.h x86: Add quick TSC calibration via PIT 2014-11-21 07:24:10 +01:00
i8259.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ibmpc.h dm: x86: Convert coreboot serial to use driver model 2014-10-23 19:45:45 -06:00
init_helpers.h x86: Remove unnecessary find_fdt(), prepare_fdt() functions 2014-11-21 07:24:12 +01:00
interrupt.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
io.h x86: Increase the size of the phys_size_t and phys_addr_t types 2012-12-06 14:30:40 -08:00
ioctl.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
ist.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
msr-index.h x86: Bring in msr-index.h from linux 3.8 2014-10-28 20:42:53 -06:00
msr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
posix_types.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
post.h x86: Emit post codes in startup code for Chromebooks 2014-11-21 07:34:11 +01:00
processor-flags.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
processor.h x86: Add processor functions to halt and get stack pointer 2014-11-21 07:24:12 +01:00
ptrace.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
relocate.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
string.h x86: Import glibc memcpy implementation 2012-01-02 03:58:46 +11:00
types.h Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
u-boot-x86.h x86: Replace fill_processor_name() with cpu_get_name() 2014-11-21 07:24:12 +01:00
u-boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
unaligned.h x86: Rename i386 to x86 2011-04-13 19:43:28 +10:00
zimage.h x86: Move kernel boot function to arch/x86/lib/bootm.c 2014-10-28 20:43:58 -06:00