mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Change-Id: I3d5ca487d809f72f3b2015f7dd02eb5b4daf536d Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
34 lines
895 B
C
34 lines
895 B
C
/*
|
|
* Copyright (c) 2013, 2015-2016 The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef IPQ806X_NAND_H
|
|
#define IPQ806X_NAND_H
|
|
|
|
enum ipq_nand_layout {
|
|
IPQ_NAND_LAYOUT_SBL,
|
|
IPQ_NAND_LAYOUT_LINUX,
|
|
|
|
IPQ_NAND_LAYOUT_MAX
|
|
};
|
|
|
|
struct ipq_nand {
|
|
unsigned int qpic_nand_init_config;
|
|
unsigned int ebi2cr_regs;
|
|
unsigned int ebi2nd_regs;
|
|
enum ipq_nand_layout layout;
|
|
int variant;
|
|
};
|
|
|
|
int ipq_nand_init(struct ipq_nand *ipq_nand);
|
|
|
|
#endif
|