commit | 8b8e754b37473021ce720f528aaeac6ffb053cce | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 26 09:12:55 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Apr 30 17:40:16 2020 +0800 |
tree | 6eb8b75543577367bd753b10f2aac6b48c11286e | |
parent | 8eac3f3fb3da3565178eca60734a51bac282e98f [diff] |
x86: cpu: Skip init code when chain loading When U-Boot is not the first-stage bootloader the interrupt and cache init must be skipped, as well as init for various peripherals. Update the code to add checks for this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>