commit | 526aabec2496834450f9dab06e4f62bdc0696d33 | [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 | 52b9beb5276def9e261ded543e9f4ff9940a064e [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>