Message ID | 20200908072104.10067-3-chiawei_wang@aspeedtech.com |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show |
Series | Refactor AST2500 reset control | expand |
> -----Original Message----- > From: ChiaWei Wang <chiawei_wang@aspeedtech.com> > Sent: Tuesday, September 8, 2020 3:21 PM > To: Ryan Chen <ryan_chen@aspeedtech.com>; maxims@google.com; > u-boot@lists.denx.de > Cc: BMC-SW <BMC-SW@aspeedtech.com> > Subject: [PATCH 2/2] cosmetic: reset: ast2500: Rename driver and configs > > 1. Rename AST2500 reset driver from ast2500-reset.c > to reset-ast2500.c > 2. Rename AST2500 reset kconfig option from AST2500_RESET > to RESET_AST2500 > > Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com> > --- > drivers/reset/Kconfig | 2 +- > drivers/reset/{ast2500-reset.c => reset-ast2500.c} | 0 > 2 files changed, 1 insertion(+), 1 deletion(-) rename > drivers/reset/{ast2500-reset.c => reset-ast2500.c} (100%) > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index > 796aa267c5..381d222524 100644 > --- a/drivers/reset/Kconfig > +++ b/drivers/reset/Kconfig > @@ -72,7 +72,7 @@ config RESET_UNIPHIER > Say Y if you want to control reset signals provided by System Control > block, Media I/O block, Peripheral Block. > > -config AST2500_RESET > +config RESET_AST2500 > bool "Reset controller driver for AST2500 SoCs" > depends on DM_RESET > default y if ASPEED_AST2500 > diff --git a/drivers/reset/ast2500-reset.c b/drivers/reset/reset-ast2500.c > similarity index 100% rename from drivers/reset/ast2500-reset.c rename to > drivers/reset/reset-ast2500.c > -- > 2.17.1
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 796aa267c5..381d222524 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig @@ -72,7 +72,7 @@ config RESET_UNIPHIER Say Y if you want to control reset signals provided by System Control block, Media I/O block, Peripheral Block. -config AST2500_RESET +config RESET_AST2500 bool "Reset controller driver for AST2500 SoCs" depends on DM_RESET default y if ASPEED_AST2500 diff --git a/drivers/reset/ast2500-reset.c b/drivers/reset/reset-ast2500.c similarity index 100% rename from drivers/reset/ast2500-reset.c rename to drivers/reset/reset-ast2500.c
1. Rename AST2500 reset driver from ast2500-reset.c to reset-ast2500.c 2. Rename AST2500 reset kconfig option from AST2500_RESET to RESET_AST2500 Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com> --- drivers/reset/Kconfig | 2 +- drivers/reset/{ast2500-reset.c => reset-ast2500.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/reset/{ast2500-reset.c => reset-ast2500.c} (100%)