diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-17 09:12:27 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-17 09:12:27 -0500 |
commit | 106332d6cc583c4339e07020989d09b567900a59 (patch) | |
tree | 746beb976633e80b5c824805100490bb51cb9ffb /doc/usage | |
parent | 043ca8c8a9b181cf6f17441e9b89b5ee33206309 (diff) | |
parent | a300ac3851440906a3934915bd12db2b96987a6a (diff) |
Merge branch '2024-01-16-assorted-updates-and-improvements'
- Add more pytests to exercise functionality on real hardware, cleanup
and add tests around "cp"/memmove, add phyCORE-AM62x and Phytium
Pe2201 platforms, Nuvoton NPCM BMC reset driver and improve QEMU
SMBIOS support
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 8d196ee578..66865ebd7e 100644 --- a/doc/usage/cmd/cmp.rst +++ b/doc/usage/cmd/cmp.rst @@ -96,7 +96,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 12a24e19fe..bea379ff36 100644 --- a/doc/usage/cmd/cp.rst +++ b/doc/usage/cmd/cp.rst @@ -19,7 +19,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: @@ -73,7 +74,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 |