From abdedc5dafc24f65f3eacd1dc05ce553c74e009a Mon Sep 17 00:00:00 2001 From: Naga Sureshkumar Relli Date: Mon, 14 Sep 2015 18:23:40 +0530 Subject: [PATCH] xilisf: Updated IntelStmDevices list This patch updates the IntelStmDevices list to support Micron N25Q256A flash device. Signed-off-by: Naga Sureshkumar Relli Acked-by: Harini Katakam --- lib/sw_services/xilisf/data/xilisf.mld | 2 +- lib/sw_services/xilisf/src/include/xilisf.h | 2 ++ lib/sw_services/xilisf/src/xilisf.c | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/sw_services/xilisf/data/xilisf.mld b/lib/sw_services/xilisf/data/xilisf.mld index 325d341e..0137e9e4 100755 --- a/lib/sw_services/xilisf/data/xilisf.mld +++ b/lib/sw_services/xilisf/data/xilisf.mld @@ -51,7 +51,7 @@ BEGIN LIBRARY xilisf OPTION REQUIRES_OS = (standalone xilkernel); OPTION APP_LINKER_FLAGS = "-Wl,--start-group,-lxilisf,-lxil,-lgcc,-lc,--end-group"; OPTION desc = "Xilinx In-system and Serial Flash Library"; - OPTION VERSION = 5.3; + OPTION VERSION = 5.4; OPTION NAME = xilisf; PARAM name = serial_flash_family, desc = "Indicates the Serial Flash family type. Enter 1 for ATMEL. 2 for INTEL. 3 for STM (M25PXX). 4 for Winbond. 5 for Spansion / Micron. 6 for SST Flash", type = int, default = 1; PARAM name = serial_flash_interface, desc = "Indicates the Serial Flash Interface. Enter 1 for AXI SPI. 2 for PS SPI. 3 for PS QSPI.", type = int, default = 1; diff --git a/lib/sw_services/xilisf/src/include/xilisf.h b/lib/sw_services/xilisf/src/include/xilisf.h index 66464277..d9cb4a4b 100644 --- a/lib/sw_services/xilisf/src/include/xilisf.h +++ b/lib/sw_services/xilisf/src/include/xilisf.h @@ -497,6 +497,8 @@ * 5.3 sk 06/01/15 Used Half of Actual byte count for calculating * Real Byte count in parallel mode. CR# 859979. * 5.3 sk 08/07/17 Added QSPIPSU flash interface support for ZynqMP. +* 5.4 nsk 09/14/15 Updated IntelStmDevices list in xilisf.c to support +* Micron N25Q256A.CR#881478. * * * diff --git a/lib/sw_services/xilisf/src/xilisf.c b/lib/sw_services/xilisf/src/xilisf.c index a1bf3294..c905dfef 100644 --- a/lib/sw_services/xilisf/src/xilisf.c +++ b/lib/sw_services/xilisf/src/xilisf.c @@ -93,6 +93,8 @@ * 2 APIs were added, one to enter into 4 byte mode and the other * to exit from the same. * 5.3 sk 08/07/17 Added QSPIPSU flash interface support for ZynqMP. +* 5.4 nsk 09/14/15 Updated IntelStmDevices list to support Micron N25Q256A +* (CR 881478). * * * @@ -408,6 +410,10 @@ static const IntelStmDeviceGeometry IntelStmDevices[] = { XISF_BYTES256_PER_PAGE, XISF_PAGES256_PER_SECTOR, XISF_NUM_OF_SECTORS512}, + {XISF_MANUFACTURER_ID_MICRON,XISF_MIC_DEV_N25Q256_1V8, + XISF_BYTES256_PER_PAGE, XISF_PAGES256_PER_SECTOR, + XISF_NUM_OF_SECTORS512}, + }; #endif /* (((XPAR_XISF_FLASH_FAMILY==INTEL) || (XPAR_XISF_FLASH_FAMILY==STM) \ || (XPAR_XISF_FLASH_FAMILY == SST) || \