X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcpu.h;h=28dd48feb8f0a6c1ce8aceaa2d8d15b8d49c39aa;hb=96383bdfe421f01de9c339570de40e9bfd9ef455;hp=367c5f46a00f8499f93027653946c15bc75c4033;hpb=333279af23ac08ebc8d8056c677c98964dd013b6;p=oweals%2Fu-boot.git diff --git a/include/cpu.h b/include/cpu.h index 367c5f46a0..28dd48feb8 100644 --- 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 + * @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. @@ -24,6 +26,7 @@ struct cpu_platdata { ulong device_id; u16 family; u32 id[2]; + u32 timebase_freq; }; /* CPU features - mostly just a placeholder for now */