]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/mach-socfpga/wrap_pinmux_config.c
arm: socfpga: Make the pinmux table const u8
[karo-tx-uboot.git] / arch / arm / mach-socfpga / wrap_pinmux_config.c
1 /*
2  * Copyright (C) 2015 Marek Vasut <marex@denx.de>
3  *
4  * SPDX-License-Identifier:    GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <errno.h>
9
10 /* Board-specific header. */
11 #include <qts/pinmux_config.h>
12
13 void sysmgr_get_pinmux_table(const u8 **table, unsigned int *table_len)
14 {
15         *table = sys_mgr_init_table;
16         *table_len = ARRAY_SIZE(sys_mgr_init_table);
17 }