summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:42:04 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:50 -0600
commitff0960f9a018952cbaab59c0d87b6e0338c8f04c (patch)
tree3f1b13b4252c54a33ecc978310a1d1778c463295 /common
parent0043b1faa7f8a6b9a38ac949335cf3a5c3074459 (diff)
sf: Tidy up public and private header files
Since spi_flash.h is supposed to be the public API for SPI flash, move private things to sf_internal.h. Also tidy up a few comment nits. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_sf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_sf.c b/common/cmd_sf.c
index c60e8d10df..42d89d4f07 100644
--- a/common/cmd_sf.c
+++ b/common/cmd_sf.c
@@ -9,6 +9,7 @@
#include <common.h>
#include <div64.h>
#include <malloc.h>
+#include <spi.h>
#include <spi_flash.h>
#include <asm/io.h>