mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 14:13:39 +00:00

Enable access to internal non-volatile memory on DGFX with GSC/CSC devices via a child device. The nvm child device is exposed via auxiliary bus. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Link: https://lore.kernel.org/r/20250617145159.3803852-7-alexander.usyskin@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
16 lines
259 B
C
16 lines
259 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright(c) 2019-2025 Intel Corporation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __XE_NVM_H__
|
|
#define __XE_NVM_H__
|
|
|
|
struct xe_device;
|
|
|
|
int xe_nvm_init(struct xe_device *xe);
|
|
|
|
void xe_nvm_fini(struct xe_device *xe);
|
|
|
|
#endif
|