]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Rename coreboot-serial to x86-serial
authorBin Meng <bmeng.cn@gmail.com>
Wed, 17 Dec 2014 07:50:47 +0000 (15:50 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 19 Dec 2014 00:26:08 +0000 (17:26 -0700)
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/coreboot.dtsi
drivers/serial/Makefile
drivers/serial/serial_x86.c [moved from drivers/serial/serial_coreboot.c with 67% similarity]
include/configs/chromebook_link.h
include/configs/coreboot.h
include/configs/crownbay.h

index c8dc4cec3c99aac8edf1cbd9186ca900223bc241..65a93acd3d56a10b07ab14bf6bdaf7ba51827feb 100644 (file)
@@ -6,7 +6,7 @@
        };
 
        serial {
-               compatible = "coreboot-uart";
+               compatible = "x86-uart";
                reg = <0x3f8 0x10>;
                reg-shift = <0>;
                io-mapped = <1>;
index 8c8494276116360d5340d669c7e7e7130a6e1549..4cc00cd2f84ef2c8cfff3e5c2c0a022d870ceaea 100644 (file)
@@ -43,7 +43,7 @@ obj-$(CONFIG_ARC_SERIAL) += serial_arc.o
 obj-$(CONFIG_TEGRA_SERIAL) += serial_tegra.o
 obj-$(CONFIG_UNIPHIER_SERIAL) += serial_uniphier.o
 obj-$(CONFIG_OMAP_SERIAL) += serial_omap.o
-obj-$(CONFIG_COREBOOT_SERIAL) += serial_coreboot.o
+obj-$(CONFIG_X86_SERIAL) += serial_x86.o
 
 ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_USB_TTY) += usbtty.o
similarity index 67%
rename from drivers/serial/serial_coreboot.c
rename to drivers/serial/serial_x86.c
index 5c6a76c59c0af23bd482434464d2428f827c2c48..e81e035ec2f9d55c608c2c1d821548a9147d1b43 100644 (file)
@@ -9,12 +9,12 @@
 #include <ns16550.h>
 #include <serial.h>
 
-static const struct udevice_id coreboot_serial_ids[] = {
-       { .compatible = "coreboot-uart" },
+static const struct udevice_id x86_serial_ids[] = {
+       { .compatible = "x86-uart" },
        { }
 };
 
-static int coreboot_serial_ofdata_to_platdata(struct udevice *dev)
+static int x86_serial_ofdata_to_platdata(struct udevice *dev)
 {
        struct ns16550_platdata *plat = dev_get_platdata(dev);
        int ret;
@@ -27,10 +27,10 @@ static int coreboot_serial_ofdata_to_platdata(struct udevice *dev)
        return 0;
 }
 U_BOOT_DRIVER(serial_ns16550) = {
-       .name   = "serial_coreboot",
+       .name   = "serial_x86",
        .id     = UCLASS_SERIAL,
-       .of_match = coreboot_serial_ids,
-       .ofdata_to_platdata = coreboot_serial_ofdata_to_platdata,
+       .of_match = x86_serial_ids,
+       .ofdata_to_platdata = x86_serial_ofdata_to_platdata,
        .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
        .priv_auto_alloc_size = sizeof(struct NS16550),
        .probe = ns16550_serial_probe,
index b311f4c5e6f51d40b1bf9ddd33719c43d42d0b69..8930210908f648170dd6b97a14172f7280f48546 100644 (file)
@@ -28,7 +28,7 @@
 #define CONFIG_X86_MRC_ADDR                    0xfffa0000
 #define CONFIG_CACHE_MRC_SIZE_KB               512
 
-#define CONFIG_COREBOOT_SERIAL
+#define CONFIG_X86_SERIAL
 
 #define CONFIG_SCSI_DEV_LIST           {PCI_VENDOR_ID_INTEL, \
                        PCI_DEVICE_ID_INTEL_NM10_AHCI},       \
index 25813804834088219d2f376a2ec68e8f9c9b10a4..990a2d186e3e30456408c5b82cb3ee089c21a849 100644 (file)
@@ -49,7 +49,7 @@
        {PCI_VENDOR_ID_INTEL,           \
                        PCI_DEVICE_ID_INTEL_PANTHERPOINT_AHCI_MOBILE}
 
-#define CONFIG_COREBOOT_SERIAL
+#define CONFIG_X86_SERIAL
 
 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=usbkbd,vga,serial\0" \
                                        "stdout=vga,serial,cbmem\0" \
index b9db6b7649efc0404ca9be9e5249c74646912365..eadb339a0f0473750a163b76d5a4157d5c181857 100644 (file)
@@ -20,7 +20,7 @@
 #define CONFIG_X86_RESET_VECTOR
 #define CONFIG_NR_DRAM_BANKS           1
 
-#define CONFIG_COREBOOT_SERIAL
+#define CONFIG_X86_SERIAL
 #define CONFIG_SMSC_LPC47M
 
 #define CONFIG_PCI_MEM_BUS             0x40000000