git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea3c0a
)
arm: meson: sm: get rid of SM_CHIP_ID_SIZE
author
Evgeny Bachinin
<EABachinin@salutedevices.com>
Mon, 10 Feb 2025 17:50:15 +0000
(20:50 +0300)
committer
Neil Armstrong
<neil.armstrong@linaro.org>
Tue, 18 Mar 2025 14:27:25 +0000
(15:27 +0100)
SM_CHIP_ID_SIZE is used nowhere. Moreover, it specifies wrong
chip_id size: Amlogic chip_id v1 and v2 is always 16 bytes long.
Signed-off-by: Evgeny Bachinin <EABachinin@salutedevices.com>
Link:
https://lore.kernel.org/r/20250210-meson_chip_id_all_vers-v1-2-b98f8b6880b8@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/mach-meson/sm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-meson/sm.c
b/arch/arm/mach-meson/sm.c
index
4d9f83d
..
43a259d
100644
(file)
--- a/
arch/arm/mach-meson/sm.c
+++ b/
arch/arm/mach-meson/sm.c
@@
-78,7
+78,6
@@
ssize_t meson_sm_write_efuse(uintptr_t offset, void *buffer, size_t size)
#define SM_CHIP_ID_LENGTH 119
#define SM_CHIP_ID_OFFSET 4
-#define SM_CHIP_ID_SIZE 12
int meson_sm_get_serial(void *buffer, size_t size)
{