From 67b15c60f15e69e95b2fa17977f280d283e6e6ad Mon Sep 17 00:00:00 2001 From: P L Sai Krishna Date: Thu, 12 Feb 2015 15:00:36 +0530 Subject: [PATCH] qspips_v3_2: Defined the SLCR address if not defined. This patch defines the SLCR address if not defined. Signed-off-by: P L Sai Krishna --- XilinxProcessorIPLib/drivers/qspips/src/xqspips_hw.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/XilinxProcessorIPLib/drivers/qspips/src/xqspips_hw.h b/XilinxProcessorIPLib/drivers/qspips/src/xqspips_hw.h index 3f6e4191..9e745b98 100644 --- a/XilinxProcessorIPLib/drivers/qspips/src/xqspips_hw.h +++ b/XilinxProcessorIPLib/drivers/qspips/src/xqspips_hw.h @@ -349,6 +349,9 @@ extern "C" { * @{ */ +#ifndef XPAR_XSLCR_0_BASEADDR +#define XPAR_XSLCR_0_BASEADDR 0xF8000000 +#endif #define SLCR_LOCK_MASK 0x767B /**< Write Protection Lock mask*/ #define SLCR_UNLOCK_MASK 0xDF0D /**< SLCR Write Protection Unlock */ #define LQSPI_RST_CTRL_MASK 0x3 /**< Quad SPI Software Reset Control */