X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fxes%2Fcommon%2Factl_nand.c;h=d1f3668bcbba69da17f4be1c5f5ea06b67ecd7be;hb=25c7195d30212a71aa44565f795919a0f14779dc;hp=465aeb0991e7a900889f839d4c67109fa4c1d5cf;hpb=156feb90d200f186cdfd856d7f6f1878bb1bec1e;p=oweals%2Fu-boot.git diff --git a/board/xes/common/actl_nand.c b/board/xes/common/actl_nand.c index 465aeb0991..d1f3668bcb 100644 --- a/board/xes/common/actl_nand.c +++ b/board/xes/common/actl_nand.c @@ -4,23 +4,7 @@ * This driver support NAND devices which have address lines * connected as ALE and CLE inputs. * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -32,7 +16,7 @@ */ static void nand_addr_hwcontrol(struct mtd_info *mtd, int cmd, uint ctrl) { - struct nand_chip *this = mtd->priv; + struct nand_chip *this = mtd_to_nand(mtd); ulong IO_ADDR_W; if (ctrl & NAND_CTRL_CHANGE) {