[PATCH 0/5] arm: mvebu: Automatically detect CONFIG_SYS_TCLK

Stefan Roese sr at denx.de
Wed Aug 11 10:27:09 CEST 2021


On 31.07.21 14:22, Pali Rohár wrote:
> This patch series automatically detects CONFIG_SYS_TCLK value, set it in
> global mach/soc.h file and remove manual CONFIG_SYS_TCLK value from all
> mvebu/kirkwood board config files.
> 
> So it just a cleanup to avoid defining custom macros in board config
> files which can be automatically detected.
> 
> Could you test these patches on a38x and a37x platforms that nothing is
> broken? I tested them on a38x Turris Omnia.
> 
> Pali Rohár (5):
>    arm: mvebu: a38x: Detect CONFIG_SYS_TCLK from SAR register
>    arm: mvebu: a37x: Detect CONFIG_SYS_TCLK from SAR register
>    arm: mvebu: msys: Set CONFIG_SYS_TCLK globally
>    arm: mvebu: axp: Set CONFIG_SYS_TCLK globally
>    arm: kirkwood: Do not overwrite CONFIG_SYS_TCLK

Applied to u-boot-marvell/master

Thanks,
Stefan


>   arch/arm/mach-kirkwood/include/mach/kw88f6281.h |  2 --
>   arch/arm/mach-mvebu/include/mach/soc.h          | 15 ++++++++++-----
>   include/configs/clearfog.h                      |  1 -
>   include/configs/controlcenterdc.h               |  2 --
>   include/configs/crs3xx-98dx3236.h               |  1 -
>   include/configs/db-88f6720.h                    |  1 -
>   include/configs/db-88f6820-amc.h                |  2 --
>   include/configs/db-88f6820-gp.h                 |  2 --
>   include/configs/db-mv784mp-gp.h                 |  1 -
>   include/configs/db-xc3-24g4xg.h                 |  1 -
>   include/configs/ds414.h                         |  1 -
>   include/configs/helios4.h                       |  1 -
>   include/configs/lacie_kw.h                      |  5 -----
>   include/configs/lsxl.h                          |  2 --
>   include/configs/maxbcm.h                        |  1 -
>   include/configs/theadorable.h                   |  1 -
>   include/configs/turris_omnia.h                  |  1 -
>   include/configs/x530.h                          |  2 --
>   18 files changed, 10 insertions(+), 32 deletions(-)
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list