diff options
Diffstat (limited to 'arch/arm/boards/archosg9/mux.c')
-rw-r--r-- | arch/arm/boards/archosg9/mux.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/arch/arm/boards/archosg9/mux.c b/arch/arm/boards/archosg9/mux.c index e9cb3c43b0..d51ccefba4 100644 --- a/arch/arm/boards/archosg9/mux.c +++ b/arch/arm/boards/archosg9/mux.c @@ -1,21 +1,11 @@ -/* - * 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. - */ +// SPDX-License-Identifier: GPL-2.0-or-later #include <common.h> #include <init.h> #include <io.h> -#include <mach/omap4-silicon.h> -#include <mach/omap4-mux.h> -#include <mach/omap4-clock.h> +#include <mach/omap/omap4-silicon.h> +#include <mach/omap/omap4-mux.h> +#include <mach/omap/omap4-clock.h> #include "mux.h" static const struct pad_conf_entry core_padconf_array[] = { @@ -257,7 +247,8 @@ static const struct pad_conf_entry wkup_padconf_array[] = { { JTAG_TDO , IEN | PTU | M0 }, }; -void set_muxconf_regs(void){ +void archosg9_set_muxconf_regs(void) +{ omap4_do_set_mux(OMAP44XX_CONTROL_PADCONF_CORE, core_padconf_array, ARRAY_SIZE(core_padconf_array)); omap4_do_set_mux(OMAP44XX_CONTROL_PADCONF_WKUP, |