For flash program algorithm creating, please refer to C:\Program Files (x86)\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Tools\FlashProgrammer\Documentation\AN3630.CreatingFlashAlgorithm.pdf, please refer to the section "Creating a Flash Programming Algorithm for NOR Flash Devices", please refer to flash programmer algorithm example in C:\Program Files (x86)\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Tools\FlashProgrammer\AMD16x1_Example, please modify the example project according to the section "Flash Programming Algorithm for AMD 16x1 Flash Devices".
For adding flash device in CodeWarrior IDE, please refer to the application note AddFlashDevs.pdf, please refer to C:\Program Files (x86)\Freescale\CodeWarrior PA V8.8\bin\Plugins\Support\Flash_Programmer\EPPC\FPDeviceConfig.xml and add your flash device in it.