From a0afc6f37851fe324418fff9655abedfe2d975a2 Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Wed, 22 Jan 2014 12:02:47 +0100
Subject: config: trats: trats2: extend dfu_alt_info by env update settings
This change allows updating environment stored on MMC by dfu or thor.
New setting:
- "params.bin mmc 0x38 0x8"
File params.bin can be generated by: tools/mkenvimage.
e.g. ./mkenvimage -s 4096 -o params.bin
Every new env variable in text file should start with a new line.
Sample env text file:
- board/samsung/common/dfu_sample_env.txt
Requirements:
- file name: "params.bin"
- file size: 4096 Bytes - the same as CONFIG_ENV_SIZE.
Other size will cause CRC miscalculation at boot.
Signed-off-by: Przemyslaw Marczak
CC: Piotr Wilczek
CC: Lukasz Majewski
Acked-by: Lukasz Majewski
Acked-by: Jaehoon Chung
Signed-off-by: Minkyu Kang
---
include/configs/trats2.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'include/configs/trats2.h')
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 095f253c26..b72f4920d9 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -178,7 +178,8 @@
""PARTS_BOOT" part 0 2;" \
""PARTS_ROOT" part 0 5;" \
""PARTS_DATA" part 0 6;" \
- ""PARTS_UMS" part 0 7\0"
+ ""PARTS_UMS" part 0 7;" \
+ "params.bin mmc 0x38 0x8\0"
#define CONFIG_EXTRA_ENV_SETTINGS \
"bootk=" \
--
cgit v1.2.1