diff options
author | Craig Hesling <hesling@chromium.org> | 2020-03-18 15:52:25 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-24 21:05:25 +0000 |
commit | 110b50c718ff7cbceff7fe7591cead70b2bb6eba (patch) | |
tree | cd00cabd19c5363bdb1a6afde13328e02480fb68 /board/hatch_fp/board.h | |
parent | 6307a07a599d7f03f1748286c5d7254c991f0ebc (diff) | |
download | chrome-ec-110b50c718ff7cbceff7fe7591cead70b2bb6eba.tar.gz |
bloonchipper: More clearly disable UART DMA
Through some mental gymnastics, you can see that we don't
use DMA for UART. Let's make the board.h more clearly show
that we are disabling UART DMA.
This brings no functional change, as verified with
compare_build.sh @ https://crrev.com/c/2093897/11.
BRANCH=none
BUG=none
TEST=./util/compare_builds.sh -b hatch_fp
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: Ia95cf7a7a8f2721041cce1283d2498d049412113
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2109245
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'board/hatch_fp/board.h')
-rw-r--r-- | board/hatch_fp/board.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/board/hatch_fp/board.h b/board/hatch_fp/board.h index ef07ec72c2..21cabc658a 100644 --- a/board/hatch_fp/board.h +++ b/board/hatch_fp/board.h @@ -84,15 +84,15 @@ /* the UART console is on USART1 */ #undef CONFIG_UART_CONSOLE #define CONFIG_UART_CONSOLE 1 - -#define CONFIG_UART_TX_DMA -#define CONFIG_UART_TX_DMA_PH DMAMUX1_REQ_USART1_TX #undef CONFIG_UART_TX_BUF_SIZE #define CONFIG_UART_TX_BUF_SIZE 2048 -#undef CONFIG_UART_TX_DMA -#undef CONFIG_UART_RX_DMA #define CONFIG_UART_TX_REQ_CH 4 #define CONFIG_UART_RX_REQ_CH 4 +/* We don't currently use DMA. */ +#define CONFIG_UART_TX_DMA_PH DMAMUX1_REQ_USART1_TX +#undef CONFIG_UART_TX_DMA +#undef CONFIG_UART_RX_DMA + /* Optional features */ #undef CONFIG_ADC |