summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd
diff options
context:
space:
mode:
authorDavid Barbion <[email protected]>2025-09-10 23:18:55 +0200
committerTom Rini <[email protected]>2025-11-02 12:15:23 -0600
commit60d8819d2f8eeecd05b5b9576ac0f7d45490d908 (patch)
treefd8833be0b2b3cab020d00c3f3ed95051a475e5c /doc/develop/bootstd
parenteb92fd0831e073a401954ada3efe59a81137e6d9 (diff)
board: rockchip: Fix RG353M model renaming
Anbernic RG353M is hardware compatible with RG353P. Only the form-factor differs. So only one DTS is created for both machines with "Anbernic RG353P" as default model. If a RG353M is detected, the model should be overwritten with the correct name. Actually, it's overwritten with "Anbernic" only making the process of machine detection a little harder. However, to determine the size of the string "Anbernic RG353M", it is sizeof() which is used resulting in obtaining the size of the pointer (which is 8 bytes on ARM64) not the size of the pointed string. strlen() should be used instead. Signed-off-by: David Barbion <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'doc/develop/bootstd')
0 files changed, 0 insertions, 0 deletions