From 12224806dc4e999f450883c8727acae2d97fd3f6 Mon Sep 17 00:00:00 2001 From: Dave Marples Date: Mon, 25 Nov 2019 07:41:14 -0600 Subject: [PATCH] system/spi/Kconfig: This patch fixes a missing definition in the spitool when SPI is enabled with command/data switching. --- system/spi/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system/spi/Kconfig b/system/spi/Kconfig index ecd306bd4..b18db3a4b 100644 --- a/system/spi/Kconfig +++ b/system/spi/Kconfig @@ -46,6 +46,14 @@ config SPITOOL_DEFFREQ ---help--- Default SPI frequency (default: 4000000) +config SPITOOL_DEFCMD + int "Send in command mode" + default 0 + ---help--- + Send in command or data mode + 0 = Data mode + 1 = Command mode + config SPITOOL_DEFMODE int "SPI mode" default 0