j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: agraf Date: Sun Jun 23 00:32:07 2013 New Revision: 1158 URL: http://tracker.coreboot.org/trac/openbios/changeset/1158
Log: fwcfg: Rename CPUFREQ to CLOCKFREQ
The CPUFREQ fwcfg variable was a misnomer that never got into QEMU in that form. What we really implemented was a variable that exposes the "clock-frequency" property, so name it accordingly.
Signed-off-by: Alexander Graf agraf@suse.de
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c trunk/openbios-devel/include/arch/common/fw_cfg.h
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c ============================================================================== --- trunk/openbios-devel/arch/ppc/qemu/init.c Sun Jun 23 00:30:31 2013 (r1157) +++ trunk/openbios-devel/arch/ppc/qemu/init.c Sun Jun 23 00:32:07 2013 (r1158) @@ -263,7 +263,7 @@ push_str("timebase-frequency"); fword("property");
- PUSH(fw_cfg_read_i32(FW_CFG_PPC_CPUFREQ)); + PUSH(fw_cfg_read_i32(FW_CFG_PPC_CLOCKFREQ)); fword("encode-int"); push_str("clock-frequency"); fword("property");
Modified: trunk/openbios-devel/include/arch/common/fw_cfg.h ============================================================================== --- trunk/openbios-devel/include/arch/common/fw_cfg.h Sun Jun 23 00:30:31 2013 (r1157) +++ trunk/openbios-devel/include/arch/common/fw_cfg.h Sun Jun 23 00:32:07 2013 (r1158) @@ -40,7 +40,7 @@ #define FW_CFG_PPC_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01) #define FW_CFG_PPC_DEPTH (FW_CFG_ARCH_LOCAL + 0x02) #define FW_CFG_PPC_TBFREQ (FW_CFG_ARCH_LOCAL + 0x03) -#define FW_CFG_PPC_CPUFREQ (FW_CFG_ARCH_LOCAL + 0x04) +#define FW_CFG_PPC_CLOCKFREQ (FW_CFG_ARCH_LOCAL + 0x04) #define FW_CFG_PPC_IS_KVM (FW_CFG_ARCH_LOCAL + 0x05) #define FW_CFG_PPC_KVM_HC (FW_CFG_ARCH_LOCAL + 0x06) #define FW_CFG_PPC_KVM_PID (FW_CFG_ARCH_LOCAL + 0x07)