diff options
Diffstat (limited to 'arch/arm/boards/grinn-liteboard/board.c')
-rw-r--r-- | arch/arm/boards/grinn-liteboard/board.c | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/arch/arm/boards/grinn-liteboard/board.c b/arch/arm/boards/grinn-liteboard/board.c index 8e5a91e124..6d390a5287 100644 --- a/arch/arm/boards/grinn-liteboard/board.c +++ b/arch/arm/boards/grinn-liteboard/board.c @@ -1,17 +1,7 @@ -/* - * Copyright (C) 2018 Grinn - * - * Author: Marcin Niestroj <m.niestroj@grinn-global.com> - * - * 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; version 2. - * - * 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. - */ +// SPDX-License-Identifier: GPL-2.0-only +// SPDX-FileCopyrightText: 2018 Grinn + +/* Author: Marcin Niestroj <m.niestroj@grinn-global.com> */ #define pr_fmt(fmt) "liteboard: " fmt @@ -19,8 +9,8 @@ #include <common.h> #include <envfs.h> #include <init.h> -#include <mach/bbu.h> -#include <mach/imx6.h> +#include <mach/imx/bbu.h> +#include <mach/imx/imx6.h> #include <malloc.h> #include <mfd/imx6q-iomuxc-gpr.h> #include <of.h> @@ -35,7 +25,7 @@ static void bbu_register_handler_emmc(bool is_boot_source) { int emmc_boot_flag = 0, emmc_flag = 0; const char *bootpart; - struct device_d *dev; + struct device *dev; int ret; if (!is_boot_source) |