diff options
author | Andrew Davis <afd@ti.com> | 2023-04-06 11:38:19 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-24 13:18:48 -0400 |
commit | ef538cc26e490544d48084897472cbcee0430dde (patch) | |
tree | 7fc6795efe935837fd8d570e364a5ffcd91941cd /drivers/ram | |
parent | ee12d64f2d01d3103836dac08c0b571e8df10b18 (diff) | |
download | u-boot-ef538cc26e490544d48084897472cbcee0430dde.zip u-boot-ef538cc26e490544d48084897472cbcee0430dde.tar.gz u-boot-ef538cc26e490544d48084897472cbcee0430dde.tar.bz2 |
arm: mach-k3: Move sdelay() and wait_on_value() declaration
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>
Diffstat (limited to 'drivers/ram')
-rw-r--r-- | drivers/ram/k3-am654-ddrss.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ram/k3-am654-ddrss.c b/drivers/ram/k3-am654-ddrss.c index 4453c24..adac14f 100644 --- a/drivers/ram/k3-am654-ddrss.c +++ b/drivers/ram/k3-am654-ddrss.c @@ -18,6 +18,10 @@ #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 */ |