aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-07-13 16:19:50 +0000
committerAlexander Graf <agraf@suse.de>2014-07-13 16:19:50 +0000
commitba8822fcf805da1eff69b5ff0678acf06b2dbb34 (patch)
tree86b3a6a9e65be649db4888052c42a844a03a57ca /include
parentf1fb52d6884180e2c32631507cad57fdc203b3e6 (diff)
downloadopenbios-ba8822fcf805da1eff69b5ff0678acf06b2dbb34.zip
openbios-ba8822fcf805da1eff69b5ff0678acf06b2dbb34.tar.gz
openbios-ba8822fcf805da1eff69b5ff0678acf06b2dbb34.tar.bz2
Mac99: Support flat NVRAM
The mac99 machine is switching to use a flat NVRAM layout. Support that hint and treat NVRAM as flat when we find it. We keep the old (broken) shifted-by-1 way of accessing NVRAM around to be able to use new OpenBIOS binaries on older QEMU versions. Signed-off-by: Alexander Graf <agraf@suse.de> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@1307 f158a5a8-5612-0410-a976-696ce0be7e32
Diffstat (limited to 'include')
-rw-r--r--include/arch/common/fw_cfg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/arch/common/fw_cfg.h b/include/arch/common/fw_cfg.h
index bd4808b..df44c2e 100644
--- a/include/arch/common/fw_cfg.h
+++ b/include/arch/common/fw_cfg.h
@@ -46,6 +46,7 @@
#define FW_CFG_PPC_KVM_PID (FW_CFG_ARCH_LOCAL + 0x07)
#define FW_CFG_PPC_NVRAM_ADDR (FW_CFG_ARCH_LOCAL + 0x08)
#define FW_CFG_PPC_BUSFREQ (FW_CFG_ARCH_LOCAL + 0x09)
+#define FW_CFG_PPC_NVRAM_FLAT (FW_CFG_ARCH_LOCAL + 0x0a)
#define FW_CFG_INVALID 0xffff