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

Cyril Bur cyril.bur at au1.ibm.com
Thu Apr 16 11:10:57 AEST 2015


add missing #define in ast.h

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

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);
-- 
1.9.1



More information about the Skiboot mailing list