diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2014-12-17 07:50:49 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-12-19 00:26:08 (GMT) |
commit | 255fd5caa5dda7f1028843753562eff58f3855bc (patch) | |
tree | dd181fea0f51800ad68cbbf768e125f143eabb7f /tools | |
parent | 5dad97ed61507d96b2f791980f51ee3497a75867 (diff) | |
download | u-boot-fsl-qoriq-255fd5caa5dda7f1028843753562eff58f3855bc.tar.xz |
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(¶ms) in fsp_init() cannot
be removed
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions