From: Marek Vasut Date: Sun, 19 Oct 2014 20:43:38 +0200 Subject: [U-Boot] [PATCH 6/7] spi: altera: Add short note about EPCS/EPCQx1 In-Reply-To: <1413744219-6859-1-git-send-email-marex@denx.de> References: <1413744219-6859-1-git-send-email-marex@denx.de> Message-ID: <1413744219-6859-6-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add short documentation-alike note on how to use the Altera SPI driver with the EPCS/EPCQx1 FPGA IP block on SoCFPGA Cyclone V. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Albert Aribaud Cc: Tom Rini Cc: Wolfgang Denk Cc: Pavel Machek Cc: Jagannadha Sutradharudu Teki --- drivers/spi/altera_spi.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/spi/altera_spi.c b/drivers/spi/altera_spi.c index 3065e96..0566e4f 100644 --- a/drivers/spi/altera_spi.c +++ b/drivers/spi/altera_spi.c @@ -4,6 +4,14 @@ * based on bfin_spi.c * Copyright (c) 2005-2008 Analog Devices Inc. * Copyright (C) 2010 Thomas Chou + * Copyright (C) 2014 Marek Vasut + * + * SoCFPGA EPCS/EPCQx1 mini howto: + * - Instantiate EPCS/EPCQx1 Serial flash controller in QSys and rebuild + * - The controller base address is the "Base" in QSys + 0x400 + * - Set MSEL[4:0]=10010 (AS Standard) + * - Load the bitstream into FPGA, enable bridges + * - Only then will the driver work * * SPDX-License-Identifier: GPL-2.0+ */ -- 2.1.1