]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: reorganize mctl_mem_matches_* functions
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 27 Dec 2023 21:28:42 +0000 (00:28 +0300)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 5 Mar 2024 01:16:44 +0000 (01:16 +0000)
commit978808d2b9f46db5e9782090ed3c168e6d4183e6
treeea57c4c58a31999bd85478c8adeabb7457130626
parentbc6e594104caaa25b3b2b53ea1db3df69623dc61
sunxi: reorganize mctl_mem_matches_* functions

mctl_mem_matches and mctl_mem_matches_base identical functions. To
avoid code duplication move them to dram_helpers and make
mctl_mem_matches use generic mctl_mem_matches_base.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/include/asm/arch-sunxi/dram.h
arch/arm/mach-sunxi/dram_helpers.c
arch/arm/mach-sunxi/dram_sunxi_dw.c