[+] Kernel: Use previous nand detection algorithm (used in 2.6.32.42_stm24_V4.0 kernel)

Signed-off-by: Anton Sergeev <Anton.Sergeev@elecard.ru>