#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
-#include <linux/limits.h>
+#include <limits.h>
#include "fw.h"
typedef struct part_data {
#define DEFAULT_OUTPUT_FILE "firmware-image.bin"
#define DEFAULT_VERSION "UNKNOWN"
-#define OPTIONS "hv:o:r:k:"
+#define OPTIONS "hv:o:r:k:s:"
#define FIRMWARE_MAX_LENGTH (0x390000)
#define partition_startaddr (0xBFC30000)