mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-26 06:04:07 +01:00
Merge git://git.denx.de/u-boot-x86
This commit is contained in:
commit
9481f186d0
4 changed files with 8 additions and 3 deletions
|
|
@ -41,10 +41,14 @@ int cpu_x86_get_vendor(struct udevice *dev, char *buf, int size)
|
|||
|
||||
int cpu_x86_get_desc(struct udevice *dev, char *buf, int size)
|
||||
{
|
||||
char *ptr;
|
||||
|
||||
if (size < CPU_MAX_NAME_LEN)
|
||||
return -ENOSPC;
|
||||
|
||||
cpu_get_name(buf);
|
||||
ptr = cpu_get_name(buf);
|
||||
if (ptr != buf)
|
||||
strcpy(buf, ptr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@ static int x86_spl_init(void)
|
|||
debug("%s: spl_init() failed\n", __func__);
|
||||
return ret;
|
||||
}
|
||||
preloader_console_init();
|
||||
|
||||
ret = arch_cpu_init();
|
||||
if (ret) {
|
||||
debug("%s: arch_cpu_init() failed\n", __func__);
|
||||
|
|
@ -49,6 +47,7 @@ static int x86_spl_init(void)
|
|||
debug("%s: arch_cpu_init_dm() failed\n", __func__);
|
||||
return ret;
|
||||
}
|
||||
preloader_console_init();
|
||||
ret = print_cpuinfo();
|
||||
if (ret) {
|
||||
debug("%s: print_cpuinfo() failed\n", __func__);
|
||||
|
|
|
|||
|
|
@ -86,4 +86,5 @@ CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
|||
CONFIG_VIDEO_IVYBRIDGE_IGD=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_CMD_DHRYSTONE=y
|
||||
CONFIG_TPM=y
|
||||
|
|
|
|||
|
|
@ -69,4 +69,5 @@ CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
|||
CONFIG_VIDEO_IVYBRIDGE_IGD=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_CMD_DHRYSTONE=y
|
||||
CONFIG_TPM=y
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue