.. index:: protect (command) .. _command_protect: protect - enable flash write protection ======================================= Usage ^^^^^ ``protect DEVICE [AREA]`` Synopsis ^^^^^^^^ Protect the flash memory behind the device. It depends on the device given, what area will be protected. If the device represents the whole flash memory, the whole memory will be protected. If the device represents a partition on a main flash memory, only this partition part will be protected. Use 'addpart' and 'delpart' to manage partitions. .. generated from: /ptx/work/WORK_EIHEI/sha/backup/barebox/barebox-maintainer-utils/barebox/commands/flash.c .. command function: do_protect