summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2025-09-09 11:15:29 +0200
committerJakub Kicinski <kuba@kernel.org>2025-09-15 08:08:39 -0700
commit3639bd087679f77c3fdedc6922f2cb01bb6ecbaf (patch)
treea3844049e348aa447635ac5b5573e005c2bfd276 /rust/helpers/build_bug.c
parent259ede9da4ec8159c312aa60015a3aecbb67f348 (diff)
dpll: zl3073x: Add low-level flash functions
To implement the devlink device flash functionality, the driver needs to access both the device memory and the internal flash memory. The flash memory is accessed using a device-specific program (called the flash utility). This flash utility must be downloaded by the driver into the device memory and then executed by the device CPU. Once running, the flash utility provides a flash API to access the flash memory itself. During this operation, the normal functionality provided by the standard firmware is not available. Therefore, the driver must ensure that DPLL callbacks and monitoring functions are not executed during the flash operation. Add all necessary functions for downloading the utility to device memory, entering and exiting flash mode, and performing flash operations. Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Link: https://patch.msgid.link/20250909091532.11790-3-ivecera@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions