[RFC 22/24] m68k/mac: Adopt nvram module

2015-05-30 Thread Finn Thain
Implement arch_nvram_ops and adjust calling conventions of mac_pram_* functions to match the ops struct methods. Rename via_pram_readbyte and via_pram_writebyte to avoid confusion and follow the existing nvram_*_read_byte and nvram_*_write_byte naming convention. Enable CONFIG_HAVE_ARCH_NVRAM_OPS

[RFC 22/24] m68k/mac: Adopt nvram module

2015-05-30 Thread Finn Thain
Implement arch_nvram_ops and adjust calling conventions of mac_pram_* functions to match the ops struct methods. Rename via_pram_readbyte and via_pram_writebyte to avoid confusion and follow the existing nvram_*_read_byte and nvram_*_write_byte naming convention. Enable CONFIG_HAVE_ARCH_NVRAM_OPS