summaryrefslogtreecommitdiff
path: root/configs/at91sam9n12ek_spiflash_defconfig
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2017-04-18 14:54:53 +0800
committerSimon Glass <sjg@chromium.org>2017-05-09 12:14:15 -0600
commitc1868adf6444e8fb600575affb634cad2f2ff8f5 (patch)
treea7082403ccca823afe2a9f6cc9980de85d0ea66a /configs/at91sam9n12ek_spiflash_defconfig
parentadc6b2863e49c6140932d4d8f36ee2cacc157728 (diff)
board: at91sam9n12ek: Enable early debug UART
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/at91sam9n12ek_spiflash_defconfig')
-rw-r--r--configs/at91sam9n12ek_spiflash_defconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/at91sam9n12ek_spiflash_defconfig b/configs/at91sam9n12ek_spiflash_defconfig
index 9048b14de4..a5abcd1f3b 100644
--- a/configs/at91sam9n12ek_spiflash_defconfig
+++ b/configs/at91sam9n12ek_spiflash_defconfig
@@ -35,6 +35,12 @@ CONFIG_SPI_FLASH_ATMEL=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_AT91=y
CONFIG_DM_SERIAL=y
+CONFIG_DEBUG_UART=y
+CONFIG_DEBUG_UART_ATMEL=y
+CONFIG_DEBUG_UART_BASE=0xfffff200
+CONFIG_DEBUG_UART_CLOCK=132000000
+CONFIG_DEBUG_UART_BOARD_INIT=y
+CONFIG_DEBUG_UART_ANNOUNCE=y
CONFIG_ATMEL_USART=y
CONFIG_DM_SPI=y
CONFIG_ATMEL_SPI=y