simplify the test overlay for NXP platforms also add check for read_ptr to avoid build warning Signed-off-by: Hake Huang <hake.huang@nxp.com>