aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2023-07-21 13:39:50 +0530
committerAnup Patel <anup@brainfault.org>2023-07-31 14:09:08 +0530
commit14a35b0e0e8ceaeb664c5078d6a1fec9e7193c72 (patch)
tree10bdf4f4ff93db305a17746d43618dd6d7234532 /platform
parent44c5151293849736118090bf5230d6b298a9d0b0 (diff)
downloadopensbi-14a35b0e0e8ceaeb664c5078d6a1fec9e7193c72.zip
opensbi-14a35b0e0e8ceaeb664c5078d6a1fec9e7193c72.tar.gz
opensbi-14a35b0e0e8ceaeb664c5078d6a1fec9e7193c72.tar.bz2
lib: utils/regmap: Add generic regmap access library
We add generic regmap access library which is independent of hardware description format (FDT or ACPI). The OpenSBI platform support or regmap drivers can register regmap instances which can be discovered by different regmap clients based on the unique ID of regmap instances. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'platform')
-rw-r--r--platform/generic/configs/defconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/generic/configs/defconfig b/platform/generic/configs/defconfig
index 671281b..d8793ea 100644
--- a/platform/generic/configs/defconfig
+++ b/platform/generic/configs/defconfig
@@ -18,6 +18,7 @@ CONFIG_FDT_IRQCHIP=y
CONFIG_FDT_IRQCHIP_APLIC=y
CONFIG_FDT_IRQCHIP_IMSIC=y
CONFIG_FDT_IRQCHIP_PLIC=y
+CONFIG_REGMAP=y
CONFIG_FDT_RESET=y
CONFIG_FDT_RESET_ATCWDT200=y
CONFIG_FDT_RESET_GPIO=y
@@ -35,7 +36,7 @@ CONFIG_FDT_SERIAL_SIFIVE=y
CONFIG_FDT_SERIAL_LITEX=y
CONFIG_FDT_SERIAL_UART8250=y
CONFIG_FDT_SERIAL_XILINX_UARTLITE=y
+CONFIG_SERIAL_SEMIHOSTING=y
CONFIG_FDT_TIMER=y
CONFIG_FDT_TIMER_MTIMER=y
CONFIG_FDT_TIMER_PLMT=y
-CONFIG_SERIAL_SEMIHOSTING=y