arm: socfpga: Add Cadence QSPI support to config header
authorStefan Roese <sr@denx.de>
Fri, 7 Nov 2014 11:37:52 +0000 (12:37 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 6 Dec 2014 12:52:47 +0000 (13:52 +0100)
commit7fb0f596495395f26819e279acef80487360bfea
treed2ade7aa518b58384c7939600063c7f89341341e
parent60896653d5b4baa097b29295dd3f860addfd11bb
arm: socfpga: Add Cadence QSPI support to config header

With this driver enabled for SoCFPGA, access to SPI NOR flash is
supported.

The configuration (page size, timing info) will be taken from the
DT. See socrates as an example.

This QSPI supports depends on DT. So QSPI is only enabled if
CONFIG_OF_CONTROL is defined (see socfpga_socrates_defconfig).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Vince Bridgers <vbridger@altera.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
include/configs/socfpga_common.h