diff mbox series

doc: Remove special handling of "data" volume

Message ID 20200207150323.15387-1-ceggers@arri.de
State Accepted
Headers show
Series doc: Remove special handling of "data" volume | expand

Commit Message

Christian Eggers Feb. 7, 2020, 3:03 p.m. UTC
Special handling of an UBI volume with the name "data" seems not to
exist anymore. So remove the remaining documentation and also remove
orphan defines.

Signed-off-by: Christian Eggers <ceggers@arri.de>
---
 doc/source/swupdate.rst | 6 +-----
 include/flash.h         | 3 ---
 2 files changed, 1 insertion(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/doc/source/swupdate.rst b/doc/source/swupdate.rst
index 25c265a..9157d1d 100644
--- a/doc/source/swupdate.rst
+++ b/doc/source/swupdate.rst
@@ -52,9 +52,7 @@  General Overview
 
 - new partition schema. This is bound with UBI volume.
   SWUpdate can recreate UBI volumes, resizing them and
-  copying the new software. A special UBI volume with the name "data"
-  is saved and restored after repartitioning with all data
-  it contains,  to maintain user's data.
+  copying the new software.
 
 - support for compressed images, using the zlib and zstd library.
   tarball (tgz file) are supported.
@@ -345,8 +343,6 @@  A run of SWUpdate consists mainly of the following steps:
   really in the cpio archive.
 - modify partitions, if required. This consists in a resize
   of UBI volumes, not a resize of MTD partition.
-  A volume with the name "data" is saved and restored after
-  resizing.
 - runs pre-install scripts
 - iterates through all images and call the corresponding
   handler for installing on target.
diff --git a/include/flash.h b/include/flash.h
index e180e79..2999c8d 100644
--- a/include/flash.h
+++ b/include/flash.h
@@ -15,9 +15,6 @@ 
 #include "bsdqueue.h"
 
 #define DEFAULT_CTRL_DEV "/dev/ubi_ctrl"
-#define UBI_DATA_VOLNAME	"data"
-#define UBI_DATACPY_VOLNAME	"datacpy"
-#define MTD_FS_DEVICE		7
 
 struct ubi_part {
 	struct ubi_vol_info vol_info;