]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: Move sdelay() and wait_on_value() declaration
authorAndrew Davis <afd@ti.com>
Thu, 6 Apr 2023 16:38:19 +0000 (11:38 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 24 Apr 2023 17:18:48 +0000 (13:18 -0400)
These probably should be in some system wide header given their use.
Until then move them out of K3 sys_proto.h so we can finish cleaning
that header out.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
arch/arm/mach-k3/include/mach/sys_proto.h
drivers/ram/k3-am654-ddrss.c

index bbe57718e1a379b48bde40cb81421942637c0474..4b4e2a5be395da8ba2e8ce6642ac1e0c29da286f 100644 (file)
@@ -7,10 +7,6 @@
 #ifndef _SYS_PROTO_H_
 #define _SYS_PROTO_H_
 
-void sdelay(unsigned long loops);
-u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
-                 u32 bound);
-
 void k3_spl_init(void);
 void k3_mem_init(void);
 bool check_rom_loaded_sysfw(void);
index 4453c247b2984c7c2e389bafe784e21b72c36939..adac14f946464274fb163df81340e7d98f0bc329 100644 (file)
 #include <power/regulator.h>
 #include "k3-am654-ddrss.h"
 
+void sdelay(unsigned long loops);
+u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
+                 u32 bound);
+
 #define LDELAY 10000
 
 /* DDRSS PHY configuration register fixed values */