diff options
author | Tom Rini <trini@konsulko.com> | 2021-11-08 21:44:02 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-11-08 21:44:02 -0500 |
commit | b842340a108f463e66aaaca75c0831a224612190 (patch) | |
tree | f4f49ea253d1ec7fc7f62bb7f5ee342bb91bef0a /board | |
parent | f8ed9059001d803b0eae4b49178789aa0e29edec (diff) | |
parent | 990e1e4beae546ddc9c50854c0588d1bea494cd2 (diff) |
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
Diffstat (limited to 'board')
-rw-r--r-- | board/AndesTech/ax25-ae350/ax25-ae350.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c b/board/AndesTech/ax25-ae350/ax25-ae350.c index 5fb32fd0fdb..d6a4291379d 100644 --- a/board/AndesTech/ax25-ae350/ax25-ae350.c +++ b/board/AndesTech/ax25-ae350/ax25-ae350.c @@ -57,9 +57,9 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) void *board_fdt_blob_setup(int *err) { *err = 0; -#if CONFIG_IS_ENABLED(OF_BOARD) +#if defined(CONFIG_OF_BOARD) return (void *)(ulong)gd->arch.firmware_fdt_addr; -#elif CONFIG_IS_ENABLED(OF_SEPARATE) +#elif defined(CONFIG_OF_SEPARATE) return (void *)CONFIG_SYS_FDT_BASE; #else *err = -EINVAL; |