From 6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 10 Jan 2023 11:19:45 -0500 Subject: global: Finish CONFIG -> CFG migration At this point, the remaining places where we have a symbol that is defined as CONFIG_... are in fairly odd locations. While as much dead code has been removed as possible, some of these locations are simply less obvious at first. In other cases, this code is used, but was defined in such a way as to have been missed by earlier checks. Perform a rename of all such remaining symbols to be CFG_... rather than CONFIG_... Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- drivers/fpga/virtex2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/fpga/virtex2.c') diff --git a/drivers/fpga/virtex2.c b/drivers/fpga/virtex2.c index fc99a5f483..3ded27f9b3 100644 --- a/drivers/fpga/virtex2.c +++ b/drivers/fpga/virtex2.c @@ -34,8 +34,8 @@ /* * Check for errors during configuration by default */ -#ifndef CONFIG_SYS_FPGA_CHECK_ERROR -#define CONFIG_SYS_FPGA_CHECK_ERROR +#ifndef CFG_SYS_FPGA_CHECK_ERROR +#define CFG_SYS_FPGA_CHECK_ERROR #endif /* @@ -323,7 +323,7 @@ static int virtex2_ssm_load(xilinx_desc *desc, const void *buf, size_t bsize) break; } -#ifdef CONFIG_SYS_FPGA_CHECK_ERROR +#ifdef CFG_SYS_FPGA_CHECK_ERROR if ((*fn->init)(cookie)) { printf("\n%s:%d: ** Error: INIT asserted during configuration\n", __func__, __LINE__); @@ -458,7 +458,7 @@ static int virtex2_ss_load(xilinx_desc *desc, const void *buf, size_t bsize) break; } -#ifdef CONFIG_SYS_FPGA_CHECK_ERROR +#ifdef CFG_SYS_FPGA_CHECK_ERROR if ((*fn->init)(cookie)) { printf("\n%s:%d: ** Error: INIT asserted during configuration\n", __func__, __LINE__); -- cgit v1.2.3