mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
CONFIG_SYS_BAUDRATE_TABLE: Add <config_fallbacks.h>, place there
We provide a default table of { 9600, 19200, 38400, 57600, 115200 } in <config_fallbacks.h> which mkconfig places after <configs/...h> in the generated config file. This is used when a board has not set its own table. Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
16
include/config_fallbacks.h
Normal file
16
include/config_fallbacks.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright 2012 Texas Instruments
|
||||
*
|
||||
* This file is licensed under the terms of the GNU General Public
|
||||
* License Version 2. This file is licensed "as is" without any
|
||||
* warranty of any kind, whether express or implied.
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_FALLBACKS_H
|
||||
#define __CONFIG_FALLBACKS_H
|
||||
|
||||
#ifndef CONFIG_SYS_BAUDRATE_TABLE
|
||||
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_FALLBACKS_H */
|
Reference in New Issue
Block a user