X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fserial%2Fserial_meson.c;h=b3dad77aa28c21b2ae9494549e96366dbc869a3e;hb=29e9363504d6e2aef0bd11a08de59cf635e285bc;hp=363affb8c5f8e2e07a83d56265c6e276ba025b68;hpb=821560fd8e43eecc208c1c52ad24faadb6b52703;p=oweals%2Fu-boot.git diff --git a/drivers/serial/serial_meson.c b/drivers/serial/serial_meson.c index 363affb8c5..b3dad77aa2 100644 --- a/drivers/serial/serial_meson.c +++ b/drivers/serial/serial_meson.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2016 Beniamino Galvani - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -11,8 +10,6 @@ #include #include -DECLARE_GLOBAL_DATA_PTR; - struct meson_uart { u32 wfifo; u32 rfifo; @@ -125,6 +122,7 @@ static const struct dm_serial_ops meson_serial_ops = { static const struct udevice_id meson_serial_ids[] = { { .compatible = "amlogic,meson-uart" }, + { .compatible = "amlogic,meson-gx-uart" }, { } }; @@ -134,7 +132,6 @@ U_BOOT_DRIVER(serial_meson) = { .of_match = meson_serial_ids, .probe = meson_serial_probe, .ops = &meson_serial_ops, - .flags = DM_FLAG_PRE_RELOC, .ofdata_to_platdata = meson_serial_ofdata_to_platdata, .platdata_auto_alloc_size = sizeof(struct meson_serial_platdata), };