projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell
[platform/kernel/u-boot.git]
/
include
/
cpu.h
diff --git
a/include/cpu.h
b/include/cpu.h
index
367c5f4
..
6b1b6b3
100644
(file)
--- a/
include/cpu.h
+++ b/
include/cpu.h
@@
-14,6
+14,8
@@
* @device_id: Driver-defined device identifier
* @family: DMTF CPU Family identifier
* @id: DMTF CPU Processor identifier
* @device_id: Driver-defined device identifier
* @family: DMTF CPU Family identifier
* @id: DMTF CPU Processor identifier
+ * @timebase_freq: the current frequency at which the cpu timer timebase
+ * registers are updated (in Hz)
*
* This can be accessed with dev_get_parent_platdata() for any UCLASS_CPU
* device.
*
* This can be accessed with dev_get_parent_platdata() for any UCLASS_CPU
* device.
@@
-24,6
+26,7
@@
struct cpu_platdata {
ulong device_id;
u16 family;
u32 id[2];
ulong device_id;
u16 family;
u32 id[2];
+ u32 timebase_freq;
};
/* CPU features - mostly just a placeholder for now */
};
/* CPU features - mostly just a placeholder for now */
@@
-41,10
+44,12
@@
enum {
*
* @cpu_freq: Current CPU frequency in Hz
* @features: Flags for supported CPU features
*
* @cpu_freq: Current CPU frequency in Hz
* @features: Flags for supported CPU features
+ * @address_width: Width of the CPU address space in bits (e.g. 32)
*/
struct cpu_info {
ulong cpu_freq;
ulong features;
*/
struct cpu_info {
ulong cpu_freq;
ulong features;
+ uint address_width;
};
struct cpu_ops {
};
struct cpu_ops {