1
0
Fork 0
remarkable-uboot/arch/x86
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
..
cpu x86: Clean up the FSP support codes 2014-12-18 17:26:08 -07:00
dts x86: Rename coreboot-serial to x86-serial 2014-12-18 17:26:08 -07:00
include/asm x86: Clean up the FSP support codes 2014-12-18 17:26:08 -07:00
lib x86: Clean up the FSP support codes 2014-12-18 17:26:08 -07:00
Kconfig x86: Add queensbay and crownbay Kconfig files 2014-12-18 17:26:06 -07:00
Makefile Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00
config.mk x86: Remove REALMODE_BASE which is no longer used 2014-11-21 07:24:08 +01:00