diff options
Diffstat (limited to 'doc/usage')
-rw-r--r-- | doc/usage/cmd/cmp.rst | 2 | ||||
-rw-r--r-- | doc/usage/cmd/cp.rst | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/usage/cmd/cmp.rst b/doc/usage/cmd/cmp.rst index 5242dc3afc..a383074736 100644 --- a/doc/usage/cmd/cmp.rst +++ b/doc/usage/cmd/cmp.rst @@ -99,7 +99,7 @@ Configuration ------------- The cmp command is only available if CONFIG_CMD_MEMORY=y. The cmp.q command is -only available if additionally CONFIG_MEM_SUPPORT_64BIT_DATA=y. +only available on 64-bit targets. Return value ------------ diff --git a/doc/usage/cmd/cp.rst b/doc/usage/cmd/cp.rst index 518d4ed7a6..434dfedfc2 100644 --- a/doc/usage/cmd/cp.rst +++ b/doc/usage/cmd/cp.rst @@ -22,7 +22,8 @@ Description The cp command is used to copy *count* chunks of memory from the *source* address to the *target* address. If the *target* address points to NOR flash, -the flash is programmed. +the flash is programmed. When the *target* address points at ordinary memory, +memmove() is used, so the two regions may overlap. The number bytes in one chunk is defined by the suffix defaulting to 4 bytes: @@ -76,7 +77,7 @@ Configuration ------------- The cp command is available if CONFIG_CMD_MEMORY=y. Support for 64 bit words -(cp.q) depends on CONFIG_MEM_SUPPORT_64BIT_DATA=y. Copying to flash depends on +(cp.q) is only available on 64-bit targets. Copying to flash depends on CONFIG_MTD_NOR_FLASH=y. Return value |