OpenBIC
OpenSource Bridge-IC
plat_spi.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <drivers/flash.h>
#include <logging/log.h>
#include <device.h>
#include "util_spi.h"
#include "plat_spi.h"
Include dependency graph for plat_spi.c:

Macros

#define IS25WP256D_ID   0x9D7019
 

Functions

 LOG_MODULE_REGISTER (plat_spi)
 
uint8_t pal_init_cxl_flash_device (uint8_t cxl_comp_id, const struct device **flash_dev)
 
int pal_get_cxl_flash_position_by_id (uint8_t cxl_comp_id)
 
int pal_dump_cxl_flash_data (uint8_t *read_buf, uint32_t offset, size_t length, const struct device *flash_dev, uint8_t cxl_comp_id)
 

Macro Definition Documentation

◆ IS25WP256D_ID

#define IS25WP256D_ID   0x9D7019

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_spi  )

◆ pal_dump_cxl_flash_data()

int pal_dump_cxl_flash_data ( uint8_t *  read_buf,
uint32_t  offset,
size_t  length,
const struct device *  flash_dev,
uint8_t  cxl_comp_id 
)

◆ pal_get_cxl_flash_position_by_id()

int pal_get_cxl_flash_position_by_id ( uint8_t  cxl_comp_id)

◆ pal_init_cxl_flash_device()

uint8_t pal_init_cxl_flash_device ( uint8_t  cxl_comp_id,
const struct device **  flash_dev 
)
Here is the call graph for this function: