From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chin Liang See Date: Tue, 1 Dec 2015 15:09:57 +0800 Subject: [U-Boot] [PATCH 1/2] altera_qspi: add lock unlock ops In-Reply-To: <1448797103-30524-1-git-send-email-thomas@wytron.com.tw> References: <1448797103-30524-1-git-send-email-thomas@wytron.com.tw> Message-ID: <1448953797.2132.9.camel@altera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2015-11-29 at 19:38 +0800, Thomas Chou wrote: > Add lock() and unlock() mtd ops to altera_qspi. > > Signed-off-by: Thomas Chou > --- > drivers/mtd/altera_qspi.c | 82 > +++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 82 insertions(+) > Acked-by: Chin Liang See As agreed with Marek, it would be great that some of the magic number can be converted as defines. FYI, I am opening both Quad SPI controller spec and EPCQ spec to review this :) Thanks Chin Liang