[PATCH v15 28/35] crypto: amlogic: drop redundant A1 platform data

Jose Nieto jnieto.alaber at gmail.com
Wed Dec 2 02:10:29 PST 2026


meson_a1_pdata is identical to meson_g12a_pdata; drop the duplicate and
reuse
meson_g12a_pdata for the A1 and S4 match entries.

Signed-off-by: Jose Nieto <jnieto.alaber at gmail.com>
---
 drivers/crypto/amlogic/amlogic-gxl-core.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/drivers/crypto/amlogic/amlogic-gxl-core.c b/drivers/crypto/amlogic/amlogic-gxl-core.c
index c11d7d8250ea..d11319425d5f 100644
--- a/drivers/crypto/amlogic/amlogic-gxl-core.c
+++ b/drivers/crypto/amlogic/amlogic-gxl-core.c
@@ -305,14 +305,6 @@ static const struct meson_pdata meson_axg_pdata = {
 	.support_192bit_key = true,
 };
 
-static const struct meson_pdata meson_a1_pdata = {
-	.descs_reg = 0x0,
-	.status_reg = 0x8,
-	.setup_desc_cnt = 1,
-	.hasher_supported = true,
-	.support_192bit_key = false,
-};
-
 static const struct of_device_id meson_crypto_of_match_table[] = {
 	{
 		.compatible = "amlogic,gxl-crypto",
@@ -328,11 +320,11 @@ static const struct of_device_id meson_crypto_of_match_table[] = {
 	},
 	{
 		.compatible = "amlogic,a1-crypto",
-		.data = &meson_a1_pdata,
+		.data = &meson_g12a_pdata,
 	},
 	{
 		.compatible = "amlogic,s4-crypto",
-		.data = &meson_a1_pdata,
+		.data = &meson_g12a_pdata,
 	},
 	{},
 };
-- 
2.47.3




More information about the linux-arm-kernel mailing list