summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/wrap_iocsr_config.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-28 20:27:14 -0400
committerTom Rini <trini@konsulko.com>2022-11-10 10:08:55 -0500
commitcc1159bbfa94a60e4180846e480b887cf91fa722 (patch)
treea27e1a42ebc27073a74bd64fd162381de677c93c /arch/arm/mach-socfpga/wrap_iocsr_config.c
parent6cc04547cb3bbd3a3d78947f200acbae19e3c67f (diff)
global: Migrate CONFIG_HPS* symbols to the CFG namespace
Migrate all of CONFIG_HPS* to the CFG namespace. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-socfpga/wrap_iocsr_config.c')
-rw-r--r--arch/arm/mach-socfpga/wrap_iocsr_config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-socfpga/wrap_iocsr_config.c b/arch/arm/mach-socfpga/wrap_iocsr_config.c
index f810fade92a..ce86f04cad1 100644
--- a/arch/arm/mach-socfpga/wrap_iocsr_config.c
+++ b/arch/arm/mach-socfpga/wrap_iocsr_config.c
@@ -17,19 +17,19 @@ int iocsr_get_config_table(const unsigned int chain_id,
switch (chain_id) {
case 0:
*table = iocsr_scan_chain0_table;
- *table_len = CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH;
+ *table_len = CFG_HPS_IOCSR_SCANCHAIN0_LENGTH;
break;
case 1:
*table = iocsr_scan_chain1_table;
- *table_len = CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH;
+ *table_len = CFG_HPS_IOCSR_SCANCHAIN1_LENGTH;
break;
case 2:
*table = iocsr_scan_chain2_table;
- *table_len = CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH;
+ *table_len = CFG_HPS_IOCSR_SCANCHAIN2_LENGTH;
break;
case 3:
*table = iocsr_scan_chain3_table;
- *table_len = CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH;
+ *table_len = CFG_HPS_IOCSR_SCANCHAIN3_LENGTH;
break;
default:
return -EINVAL;