mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
x86: Fix up driver names to avoid dtoc warnings
At present there are a lot of dtoc warnings reported when building chromebook_coral, of the form: WARNING: the driver intel_apl_lpc was not found in the driver list Correct these by using driver names that matches their compatible string. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
ed0f868d50
commit
9d20db0483
14 changed files with 21 additions and 21 deletions
|
@ -102,8 +102,8 @@ static const struct udevice_id cpu_x86_apl_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(cpu_x86_apl_drv) = {
|
||||
.name = "cpu_x86_apl",
|
||||
U_BOOT_DRIVER(intel_apl_cpu) = {
|
||||
.name = "intel_apl_cpu",
|
||||
.id = UCLASS_CPU,
|
||||
.of_match = cpu_x86_apl_ids,
|
||||
.bind = cpu_x86_bind,
|
||||
|
|
|
@ -396,7 +396,7 @@ static const struct udevice_id apl_hostbridge_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(apl_hostbridge_drv) = {
|
||||
U_BOOT_DRIVER(intel_apl_hostbridge) = {
|
||||
.name = "intel_apl_hostbridge",
|
||||
.id = UCLASS_NORTHBRIDGE,
|
||||
.of_match = apl_hostbridge_ids,
|
||||
|
|
|
@ -133,7 +133,7 @@ static const struct udevice_id apl_lpc_ids[] = {
|
|||
};
|
||||
|
||||
/* All pads are LPC already configured by the hostbridge, so no probing here */
|
||||
U_BOOT_DRIVER(apl_lpc_drv) = {
|
||||
U_BOOT_DRIVER(intel_apl_lpc) = {
|
||||
.name = "intel_apl_lpc",
|
||||
.id = UCLASS_LPC,
|
||||
.of_match = apl_lpc_ids,
|
||||
|
|
|
@ -28,8 +28,8 @@ static const struct udevice_id apl_pch_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(apl_pch) = {
|
||||
.name = "apl_pch",
|
||||
U_BOOT_DRIVER(intel_apl_pch) = {
|
||||
.name = "intel_apl_pch",
|
||||
.id = UCLASS_PCH,
|
||||
.of_match = apl_pch_ids,
|
||||
.ops = &apl_pch_ops,
|
||||
|
|
|
@ -217,7 +217,7 @@ static const struct udevice_id apl_pmc_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(apl_pmc) = {
|
||||
U_BOOT_DRIVER(intel_apl_pmc) = {
|
||||
.name = "intel_apl_pmc",
|
||||
.id = UCLASS_ACPI_PMC,
|
||||
.of_match = apl_pmc_ids,
|
||||
|
|
|
@ -88,8 +88,8 @@ static const struct udevice_id apl_syscon_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(syscon_intel_punit) = {
|
||||
.name = "intel_punit_syscon",
|
||||
U_BOOT_DRIVER(intel_apl_punit) = {
|
||||
.name = "intel_apl_punit",
|
||||
.id = UCLASS_SYSCON,
|
||||
.of_match = apl_syscon_ids,
|
||||
.probe = apl_punit_probe,
|
||||
|
|
|
@ -122,7 +122,7 @@ static const struct udevice_id apl_ns16550_serial_ids[] = {
|
|||
{ },
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(apl_ns16550) = {
|
||||
U_BOOT_DRIVER(intel_apl_ns16550) = {
|
||||
.name = "intel_apl_ns16550",
|
||||
.id = UCLASS_SERIAL,
|
||||
.of_match = apl_ns16550_serial_ids,
|
||||
|
|
|
@ -235,7 +235,7 @@ static const struct udevice_id itss_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(itss_drv) = {
|
||||
U_BOOT_DRIVER(intel_itss) = {
|
||||
.name = "intel_itss",
|
||||
.id = UCLASS_IRQ,
|
||||
.of_match = itss_ids,
|
||||
|
|
|
@ -189,7 +189,7 @@ static const struct udevice_id p2sb_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(p2sb_drv) = {
|
||||
U_BOOT_DRIVER(intel_p2sb) = {
|
||||
.name = "intel_p2sb",
|
||||
.id = UCLASS_P2SB,
|
||||
.of_match = p2sb_ids,
|
||||
|
|
|
@ -193,8 +193,8 @@ static const struct udevice_id intel_intel_gpio_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(gpio_intel) = {
|
||||
.name = "gpio_intel",
|
||||
U_BOOT_DRIVER(intel_gpio) = {
|
||||
.name = "intel_gpio",
|
||||
.id = UCLASS_GPIO,
|
||||
.of_match = intel_intel_gpio_ids,
|
||||
.ops = &gpio_intel_ops,
|
||||
|
|
|
@ -174,7 +174,7 @@ static const struct udevice_id apl_gpio_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(apl_pinctrl_drv) = {
|
||||
U_BOOT_DRIVER(intel_apl_pinctrl) = {
|
||||
.name = "intel_apl_pinctrl",
|
||||
.id = UCLASS_PINCTRL,
|
||||
.of_match = apl_gpio_ids,
|
||||
|
|
|
@ -246,8 +246,8 @@ static const struct udevice_id rtc_mc146818_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(rtc_mc146818) = {
|
||||
.name = "rtc_mc146818",
|
||||
U_BOOT_DRIVER(motorola_mc146818) = {
|
||||
.name = "motorola_mc146818",
|
||||
.id = UCLASS_RTC,
|
||||
.of_match = rtc_mc146818_ids,
|
||||
.probe = rtc_mc146818_probe,
|
||||
|
|
|
@ -148,8 +148,8 @@ static struct sysreset_ops x86_sysreset_ops = {
|
|||
.get_last = x86_sysreset_get_last,
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(x86_sysreset) = {
|
||||
.name = "x86-sysreset",
|
||||
U_BOOT_DRIVER(x86_reset) = {
|
||||
.name = "x86_reset",
|
||||
.id = UCLASS_SYSRESET,
|
||||
.of_match = x86_sysreset_ids,
|
||||
.ops = &x86_sysreset_ops,
|
||||
|
|
|
@ -482,8 +482,8 @@ static const struct udevice_id tsc_timer_ids[] = {
|
|||
{ }
|
||||
};
|
||||
|
||||
U_BOOT_DRIVER(tsc_timer) = {
|
||||
.name = "tsc_timer",
|
||||
U_BOOT_DRIVER(x86_tsc_timer) = {
|
||||
.name = "x86_tsc_timer",
|
||||
.id = UCLASS_TIMER,
|
||||
.of_match = tsc_timer_ids,
|
||||
.probe = tsc_timer_probe,
|
||||
|
|
Loading…
Reference in a new issue