diff mbox

[2/3] external/pflash: fix build breakage on arm

Message ID 1429146658-13051-3-git-send-email-cyril.bur@au1.ibm.com
State Accepted
Headers show

Commit Message

Cyril Bur April 16, 2015, 1:10 a.m. UTC
add missing #define in ast.h

Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com>
---
 external/pflash/ast.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/external/pflash/ast.h b/external/pflash/ast.h
index 92cafa4..fe8f7ce 100644
--- a/external/pflash/ast.h
+++ b/external/pflash/ast.h
@@ -57,6 +57,7 @@  void ast_io_init(void);
  */
 #define AST_SF_TYPE_PNOR	0
 #define AST_SF_TYPE_BMC		1
+#define AST_SF_TYPE_MEM 	2
 
 struct spi_flash_ctrl;
 int ast_sf_open(uint8_t type, struct spi_flash_ctrl **ctrl);