This patch allows the user to define platform-specific NAND lock and unlock functions. Signed-off-by: Steven J. Hill