diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2013-04-06 12:53:54 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-04-06 12:53:54 +0000 |
commit | 9196dd411d580c27f85daa209ff9a501d719ebc0 (patch) | |
tree | 48f15e89b2be219c1d106328c044d250b2f9cb05 /hw/onenand.c | |
parent | 893986fe94eb229f2317f50fac0e35e068eb66ba (diff) | |
parent | 32aea752f47f30c00878dcc323ac4debf0c9e645 (diff) | |
download | hqemu-9196dd411d580c27f85daa209ff9a501d719ebc0.zip hqemu-9196dd411d580c27f85daa209ff9a501d719ebc0.tar.gz |
Merge branch 'arm-devs.next' of git://git.linaro.org/people/pmaydell/qemu-arm
* 'arm-devs.next' of git://git.linaro.org/people/pmaydell/qemu-arm:
hw/nand.c: Fix nand erase operation
cadence_uart: Flush queued characters on reset
pl330: Don't inhibit ES bits on INTEN
pflash_cfi01: Implement migration support
pflash_cfi01: Drop unused 'bypass' field
hw/arm_gic_common: Use vmstate struct rather than save/load functions
arm_gic: Fix sizes of state fields in preparation for vmstate support
vmstate: Add support for two dimensional arrays
hw/onenand.c: fix migration of dynamically allocated buffer "otp"
hw/sd.c: fix migration of dynamically allocated buffer "buf"
vmstate.h: introduce VMSTATE_BUFFER_POINTER_UNSAFE macro
hw/arm_mptimer: Save the timer state
pl050: Don't send always-constant is_mouse field
hw/arm/nseries: don't print to stdout or stderr
Diffstat (limited to 'hw/onenand.c')
-rw-r--r-- | hw/onenand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/onenand.c b/hw/onenand.c index ddba366..57a346d 100644 --- a/hw/onenand.c +++ b/hw/onenand.c @@ -185,7 +185,8 @@ static const VMStateDescription vmstate_onenand = { VMSTATE_UINT8(ecc.cp, OneNANDState), VMSTATE_UINT16_ARRAY(ecc.lp, OneNANDState, 2), VMSTATE_UINT16(ecc.count, OneNANDState), - VMSTATE_BUFFER_UNSAFE(otp, OneNANDState, 0, ((64 + 2) << PAGE_SHIFT)), + VMSTATE_BUFFER_POINTER_UNSAFE(otp, OneNANDState, 0, + ((64 + 2) << PAGE_SHIFT)), VMSTATE_END_OF_LIST() } }; |