mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user