mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
ipq5332: TINY NOR: disable uart command
Disable uart command used for secondary uart bringup. Change-Id: I12aa9af75d32754590ed9dcebb439138a59c88de Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
This commit is contained in:
parent
b0fe779d01
commit
3af1bc31ae
2 changed files with 7 additions and 0 deletions
|
|
@ -54,12 +54,16 @@ static unsigned int msm_boot_uart_dm_init(unsigned long uart_dm_base);
|
|||
|
||||
/* Received data is valid or not */
|
||||
static int valid_data = 0;
|
||||
#ifndef CONFIG_DISABLE_CMD_UART
|
||||
static int uart_valid_data = 0;
|
||||
#endif
|
||||
|
||||
/* Received data */
|
||||
static unsigned int word = 0;
|
||||
#ifndef CONFIG_DISABLE_CMD_UART
|
||||
static unsigned int uart_word = 0;
|
||||
static unsigned int current_baud_rate = 0;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* msm_boot_uart_dm_init_rx_transfer - Init Rx transfer
|
||||
|
|
@ -490,6 +494,7 @@ U_BOOT_DRIVER(serial_ipq) = {
|
|||
.flags = DM_FLAG_PRE_RELOC,
|
||||
};
|
||||
|
||||
#ifndef CONFIG_DISABLE_CMD_UART
|
||||
/**
|
||||
* do_uartwr - transmits a string of data
|
||||
* @s: string to transmit
|
||||
|
|
@ -698,3 +703,4 @@ U_BOOT_CMD(
|
|||
"uart write - write strings to second UART\n"
|
||||
"uart baud_rate [rate] - show or set second UART baud rates\n"
|
||||
);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -447,6 +447,7 @@ extern loff_t board_env_size;
|
|||
#define CONFIG_DISABLE_CMD_SF_UPDATE
|
||||
#define CONFIG_DISABLE_CMD_SF_PROTECT
|
||||
#define CONFIG_DISABLE_CMD_SF_BULKERASE
|
||||
#define CONFIG_DISABLE_CMD_UART
|
||||
#else
|
||||
#define CONFIG_IPQ_ELF_AUTH
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue