u-boot/arch/x86/lib
Bin Meng 255fd5caa5 x86: Clean up the FSP support codes
This is the follow-on patch to clean up the FSP support codes:

- Remove the _t suffix on the structures defines
- Use __packed for structure defines
- Use U-Boot's assert()
- Use standard bool true/false
- Remove read_unaligned64()
- Use memcmp() in the compare_guid()
- Remove the cast in the memset() call
- Replace some magic numbers with macros
- Use panic() when no valid FSP image header is found
- Change some FSP utility routines to use an fsp_ prefix
- Add comment blocks for asm_continuation and fsp_init_done
- Remove some casts in find_fsp_header()
- Change HOB access macros to static inline routines
- Add comments to mention find_fsp_header() may be called in a
  stackless environment
- Add comments to mention init(&params) in fsp_init() cannot
  be removed

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-12-18 17:26:08 -07:00
..
asm-offsets.c x86: Support Intel FSP initialization path in start.S 2014-12-13 22:32:05 -07:00
bios.c x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
bios.h x86: move arch-specific asmlinkage to <asm/linkage.h> 2014-12-15 07:22:53 -07:00
bios_asm.S x86: Add support for running option ROMs natively 2014-11-25 06:38:57 -07:00
bios_interrupts.c x86: Add support for running option ROMs natively 2014-11-25 06:38:57 -07:00
bootm.c x86: Correct a few progress message nits 2014-10-28 20:44:27 -06:00
cmd_boot.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cmd_hob.c x86: Clean up the FSP support codes 2014-12-18 17:26:08 -07:00
gcc.c x86: Support tracing function 2013-06-26 10:18:56 -04:00
init_helpers.c x86: Remove unnecessary find_fdt(), prepare_fdt() functions 2014-11-21 07:24:12 +01:00
interrupts.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile x86: Add a simple command to show FSP HOB information 2014-12-13 22:32:06 -07:00
pcat_interrupts.c x86: Refactor interrupt_init() 2014-11-25 06:34:02 -07:00
pcat_timer.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci_type1.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
physmem.c x86: Move paging functions into cpu.c 2014-10-28 20:42:51 -06:00
ramtest.c x86: ivybridge: Implement SDRAM init 2014-11-21 07:34:15 +01:00
relocate.c x86: Panic if there is no relocation data 2014-11-25 06:33:59 -07:00
string.c Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
tsc_timer.c x86: Allow timer calibration to work on ivybridge 2014-11-21 07:24:12 +01:00
video.c stdio: Pass device pointer to stdio methods 2014-07-23 14:07:23 +01:00
zimage.c x86: Correct a few progress message nits 2014-10-28 20:44:27 -06:00