[U-Boot] [PATCH 30/37] rockchip: jerry: Add support for timing SPI flash speed

Simon Glass sjg at chromium.org
Thu Jan 14 16:58:13 CET 2016


Add the 'time' and 'sf test' commands so that we can test SPI flash
performance.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/configs/chromebook_jerry.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/configs/chromebook_jerry.h b/include/configs/chromebook_jerry.h
index e07d057..2a0dad4 100644
--- a/include/configs/chromebook_jerry.h
+++ b/include/configs/chromebook_jerry.h
@@ -20,6 +20,9 @@
 #define CONFIG_SPL_SPI_LOAD
 #define CONFIG_SPI_FLASH_GIGADEVICE
 
+#define CONFIG_CMD_SF_TEST
+#define CONFIG_CMD_TIME
+
 #undef CONFIG_SPL_GPIO_SUPPORT
 
 #define CONFIG_KEYBOARD
-- 
2.6.0.rc2.230.g3dd15c0



More information about the U-Boot mailing list