Microchip 23LC1024 driver for Atmel XMega
Application note AVR107, "Interfacing AVR microcontrollers with serial memories", covers interfacing with 25XX devices. With a few modifications the code can be made to work with 23XX devices instead.