sh: Add handling of CONFIG_SYS_NO_FLASH for board.c