summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/configstring.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commonlib/configstring.c b/src/commonlib/configstring.c
index 40beb1659c..4eca6af39a 100644
--- a/src/commonlib/configstring.c
+++ b/src/commonlib/configstring.c
@@ -28,7 +28,6 @@
*/
#include <config.h>
-#include <assert.h>
#include <string.h>
#include <commonlib/configstring.h>
@@ -49,6 +48,6 @@ void query_rtc(const char *config_string, uintptr_t *mtime)
const char *configstring(void)
{
- uint32_t addr = *(uint32_t *)CONFIG_ARCH_CONFIGSTRING_RISCV;
+ uint32_t addr = *(uint32_t *)CONFIG_RISCV_CONFIGSTRING;
return (const char *)(uintptr_t)addr;
}