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 <lakshmis@xilinx.com>
This commit is contained in:
P L Sai Krishna 2015-02-12 15:00:36 +05:30 committed by Nava kishore Manne
parent a37779ae8e
commit 67b15c60f1

View file

@ -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 */