2 * Copyright (C) 2015 Marek Vasut <marex@denx.de>
4 * SPDX-License-Identifier: GPL-2.0+
9 #include <asm/arch/clock_manager.h>
11 /* Board-specific header. */
12 #include <qts/iocsr_config.h>
14 int iocsr_get_config_table(const unsigned int chain_id,
15 const unsigned long **table,
16 unsigned int *table_len)
20 *table = iocsr_scan_chain0_table;
21 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH;
24 *table = iocsr_scan_chain1_table;
25 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH;
28 *table = iocsr_scan_chain2_table;
29 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH;
32 *table = iocsr_scan_chain3_table;
33 *table_len = CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH;