diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2014-12-17 15:50:49 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-12-18 17:26:08 -0700 |
commit | 255fd5caa5dda7f1028843753562eff58f3855bc (patch) | |
tree | dd181fea0f51800ad68cbbf768e125f143eabb7f /tools/aisimage.h | |
parent | 5dad97ed61507d96b2f791980f51ee3497a75867 (diff) | |
download | u-boot-imx-255fd5caa5dda7f1028843753562eff58f3855bc.zip u-boot-imx-255fd5caa5dda7f1028843753562eff58f3855bc.tar.gz u-boot-imx-255fd5caa5dda7f1028843753562eff58f3855bc.tar.bz2 |
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/aisimage.h')
0 files changed, 0 insertions, 0 deletions