Use samll packet size and store unit size for Odroid-N2.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
struct thor_dev *dev;
};
-#define F_NAME_BUF_SIZE 32
-#define THOR_PACKET_SIZE SZ_1M /* 1 MiB */
-#define THOR_STORE_UNIT_SIZE SZ_32M /* 32 MiB */
+#define F_NAME_BUF_SIZE 64
+#if defined(CONFIG_TARGET_RPI_4) || defined (CONFIG_TARGET_RPI_4_32B) || defined (CONFIG_MESON_G12A)
+#define THOR_PACKET_SIZE SZ_256K
+#define THOR_STORE_UNIT_SIZE SZ_1M
+#else
+#define THOR_PACKET_SIZE SZ_1M
+#define THOR_STORE_UNIT_SIZE SZ_32M
+#endif
#ifdef CONFIG_THOR_RESET_OFF
#define RESET_DONE 0xFFFFFFFF
#endif