mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
x86: fsp: Remove the call to set up internal uart in fsp_init()
First of all, it's inappropriate to call setup_internal_uart() in a generic API fsp_init(), as CONFIG_INTERNAL_UART is an option that is only available on BayTrail platform. Secondly even for BayTrail, there is no need to call setup_internal_uart() at all, as Intel FSP will do this for us. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
37d1023264
commit
d7f7ba36b2
1 changed files with 0 additions and 4 deletions
|
@ -110,10 +110,6 @@ void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf)
|
|||
struct upd_region *fsp_upd;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_INTERNAL_UART
|
||||
setup_internal_uart(1);
|
||||
#endif
|
||||
|
||||
fsp_hdr = find_fsp_header();
|
||||
if (fsp_hdr == NULL) {
|
||||
/* No valid FSP info header was found */
|
||||
|
|
Loading…
Reference in a new issue