Removes duplicated code for atmega platforms. They were all basically the same, only with the exception of atmegarfr2, for which there is an #if statement to use the code in the same file.
Signed-off-by: Josua Arndt <josuaarndt@live.de> Signed-off-by: Steffen Robertz <steffen.robertz@online.de>