diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-13 17:24:54 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-01 12:11:35 -0400 |
commit | 321b3ab37e2f118e48a76dc189a6106d30c57435 (patch) | |
tree | aeab50011be5f5394be5046501632052d8ea2429 | |
parent | 3f1ccf5c2967c19ce5b34d1e0899d330207247bd (diff) | |
download | u-boot-WIP/2021-10-01-assorted-removal-and-migration.zip u-boot-WIP/2021-10-01-assorted-removal-and-migration.tar.gz u-boot-WIP/2021-10-01-assorted-removal-and-migration.tar.bz2 |
serial: Remove extraneous SYS_MALLOC_F checkWIP/2021-10-01-assorted-removal-and-migration
We enforce that DM_SERIAL will have SYS_MALLOC_F enabled and so
SYS_MALLOC_F_LEN will have a value. Remove the build-time check.
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/serial/serial-uclass.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c index 8171b17..57a7848 100644 --- a/drivers/serial/serial-uclass.c +++ b/drivers/serial/serial-uclass.c @@ -27,10 +27,6 @@ DECLARE_GLOBAL_DATA_PTR; */ static const unsigned long baudrate_table[] = CONFIG_SYS_BAUDRATE_TABLE; -#if !CONFIG_VAL(SYS_MALLOC_F_LEN) -#error "Serial is required before relocation - define CONFIG_$(SPL_)SYS_MALLOC_F_LEN to make this work" -#endif - #if CONFIG_IS_ENABLED(SERIAL_PRESENT) static int serial_check_stdout(const void *blob, struct udevice **devp) { |