Ap152 board 32mb support

Hello everyone,
i am using reference board AP152 for my device.Device is having 32mb flash.soc device is m25p80.default m25p80 support 16mb flash only.So while rebooting device , device is getting hanged.soft reboot is not working.so how can i resolve this issue?

maybe it help: https://forum.openwrt.org/viewtopic.php?id=54505

thanks for reply. but like is for old kernel and files. is there any way to enable 32mb flash in ap152 with kerenl 4.9