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:
Simon Glass
2020-10-05 05:27:01 -06:00
committed by Bin Meng
parent ed0f868d50
commit 9d20db0483
14 changed files with 21 additions and 21 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,