summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2021-11-16 12:43:56 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2021-11-18 13:54:50 +0100
commit441e1ae850c4c22cada3230f864f0333e0b444b6 (patch)
treec74465db8fe9b83f510bc7e2f4f669a3a1804dc0
parent70b6ce375220f356b5b13a2a97fbeda9ae6cb22d (diff)
downloadu-boot-441e1ae850c4c22cada3230f864f0333e0b444b6.tar.gz
u-boot-441e1ae850c4c22cada3230f864f0333e0b444b6.tar.bz2
u-boot-441e1ae850c4c22cada3230f864f0333e0b444b6.zip
tizen: amlogic: defconfig: adjust symbols after v2021.10 rebase
Move DFU related symbols to defconfig as needed by v2021.10 release. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
-rw-r--r--configs/khadas-vim3_defconfig2
-rw-r--r--configs/khadas-vim3l_defconfig2
-rw-r--r--configs/odroid-c4_defconfig2
-rw-r--r--configs/odroid-n2_defconfig2
-rw-r--r--include/samsung/tizen_amlogic.h6
5 files changed, 8 insertions, 6 deletions
diff --git a/configs/khadas-vim3_defconfig b/configs/khadas-vim3_defconfig
index f6fe69878e..0b45c54336 100644
--- a/configs/khadas-vim3_defconfig
+++ b/configs/khadas-vim3_defconfig
@@ -111,3 +111,5 @@ CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y
CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
+CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000
diff --git a/configs/khadas-vim3l_defconfig b/configs/khadas-vim3l_defconfig
index 72735e4518..b781329f82 100644
--- a/configs/khadas-vim3l_defconfig
+++ b/configs/khadas-vim3l_defconfig
@@ -109,3 +109,5 @@ CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y
CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
+CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000
diff --git a/configs/odroid-c4_defconfig b/configs/odroid-c4_defconfig
index 19c738a906..fb22924d8e 100644
--- a/configs/odroid-c4_defconfig
+++ b/configs/odroid-c4_defconfig
@@ -91,3 +91,5 @@ CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y
CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
+CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000
diff --git a/configs/odroid-n2_defconfig b/configs/odroid-n2_defconfig
index 851d1d7d04..3b7fc39703 100644
--- a/configs/odroid-n2_defconfig
+++ b/configs/odroid-n2_defconfig
@@ -90,3 +90,5 @@ CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y
CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
+CONFIG_SYS_DFU_MAX_FILE_SIZE=0x200000
diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h
index c0f05a6ccb..6703913219 100644
--- a/include/samsung/tizen_amlogic.h
+++ b/include/samsung/tizen_amlogic.h
@@ -92,12 +92,6 @@
"name=reserved1,size=128M,id=0x83;" \
""
-/* DFU over USB/UDC */
-#if defined(CONFIG_CMD_DFU) || defined(CONFIG_CMD_THOR)
-#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
-#define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_2M
-#endif
-
#undef CONFIG_SYS_BOARD
#ifdef CONFIG_TIZEN_KHADAS_VIM3