OSDN Git Service

PPC: mac_nvram: Allow 2 and 4 byte accesses
authorAlexander Graf <agraf@suse.de>
Sun, 13 Jul 2014 14:55:53 +0000 (16:55 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 8 Sep 2014 10:50:51 +0000 (12:50 +0200)
commitb19eae18c1cdf053fd85a39902cf77d8b561ef76
treea74692c935ee2fba876d72ba33bd9d3f5d2e0bd8
parenta8b0503701ed8de9353834b0955260f4d9f08640
PPC: mac_nvram: Allow 2 and 4 byte accesses

The NVRAM in our Core99 machine really supports 2byte and 4byte accesses
just as well as 1byte accesses. In fact, Mac OS X uses those.

Add support for higher register size granularities.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/nvram/mac_nvram.c