diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-13 17:24:54 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-01 21:08:19 -0400 |
commit | 561d1d3fbaa6879cd5d27a4674a3ca3daf8b0aa3 (patch) | |
tree | 8ff78427becb50e6e4b0514f529d35a0c9ece1a0 /drivers | |
parent | d92cb662363186560ecce4841a84da1568aadfe3 (diff) | |
download | u-boot-561d1d3fbaa6879cd5d27a4674a3ca3daf8b0aa3.zip u-boot-561d1d3fbaa6879cd5d27a4674a3ca3daf8b0aa3.tar.gz u-boot-561d1d3fbaa6879cd5d27a4674a3ca3daf8b0aa3.tar.bz2 |
serial: Remove extraneous SYS_MALLOC_F check
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>
Diffstat (limited to 'drivers')
-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) { |