From 38f59a043532c43ef6e6d145edba2640f63375fb Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Wed, 29 Apr 2015 00:12:32 +0200 Subject: [PATCH] Add all supported baud rates in top config. TODO: fix AR934x support (need new serial driver) --- u-boot/include/configs/ap121.h | 4 ---- u-boot/include/configs/ar7240.h | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/u-boot/include/configs/ap121.h b/u-boot/include/configs/ap121.h index 06ff71b..6ec8cbe 100644 --- a/u-boot/include/configs/ap121.h +++ b/u-boot/include/configs/ap121.h @@ -88,10 +88,6 @@ defined(CONFIG_FOR_MESH_POTATO_V2) #define CFG_LOAD_ADDR 0x9F040000 #define UPDATE_SCRIPT_FW_ADDR "0x9F040000" - - /* FOR NEW UART DRIVER TESTS ONLY! */ - #undef CFG_BAUDRATE_TABLE - #define CFG_BAUDRATE_TABLE { 9600, 14400, 19200, 28800, 38400, 56000, 57600, 115200, 128000, 230400, 256000, 460800, 921600 } #else #define CFG_LOAD_ADDR 0x9F020000 #define UPDATE_SCRIPT_FW_ADDR "0x9F020000" diff --git a/u-boot/include/configs/ar7240.h b/u-boot/include/configs/ar7240.h index faa4af0..ee7adfd 100644 --- a/u-boot/include/configs/ar7240.h +++ b/u-boot/include/configs/ar7240.h @@ -15,7 +15,10 @@ #undef CONFIG_AUTOBOOT_DELAY_STR #define DEBUG_BOOTKEYS 0 #define CONFIG_BAUDRATE 115200 -#define CFG_BAUDRATE_TABLE {115200} +#define CFG_BAUDRATE_TABLE { 600, 1200, 2400, 4800, 9600, 14400, \ + 19200, 28800, 38400, 56000, 57600, 115200, \ + 128000, 153600, 230400, 250000, 256000, 460800, \ + 576000, 921600, 1000000, 1152000, 1500000, 2000000 } /* * Miscellaneous configurable options -- 2.25.1