smpinterface fix: missing rampZ-write for atmega1284p
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Fri, 31 Aug 2012 05:56:48 +0000 (07:56 +0200)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Sun, 2 Sep 2012 11:46:33 +0000 (11:46 +0000)
commit1b7dc6a065378c465ec8ddec57938a25e62b4d35
tree8b2c9d94f83657aae6b44315ca325f689de7a2c4
parentcb68c1f53c40874aaaf6a2330c4b4378fa787b14
smpinterface fix: missing rampZ-write for atmega1284p

Since atmega1284p has 128kiB of flash and because SPM addresses bytes,
the usual 16bit addresses are not sufficient enough.
Althought "bootloader__do_spm" already supports 3byte adresses (r11-r13),
the write of r11 into rampZ was missing in the device-depended
maschine codepart.

This patch exchanges the already designed placeholder "NOP" with
an out-opcode writing r11 into rampZ.

Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
firmware/spminterface.h