coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mtk_nor_regs Struct Reference

#include <flash_controller_common.h>

Collaboration diagram for mtk_nor_regs:
Collaboration graph

Data Fields

u32 cmd
 
u32 cnt
 
u32 rdsr
 
u32 rdata
 
u32 radr [3]
 
u32 wdata
 
u32 prgdata [6]
 
u32 shreg [10]
 
u32 cfg [2]
 
u32 shreg10
 
u32 status [5]
 
u32 timing
 
u32 flash_cfg
 
u32 reserved2 [3]
 
u32 sf_time
 
u32 reserved3
 
u32 diff_addr
 
u32 del_sel [2]
 
u32 intrstus
 
u32 intren
 
u32 pp_ctl
 
u32 cfg3
 
u32 chksum_ctl
 
u32 chksum
 
u32 aaicmd
 
u32 wrprot
 
u32 radr3
 
u32 read_dual
 
u32 delsel [3]
 
u32 reserved [397]
 
u32 cfg1_bri [2]
 
u32 fdma_ctl
 
u32 fdma_fadr
 
u32 fdma_dadr
 
u32 fdma_end_dadr
 

Detailed Description

Definition at line 39 of file flash_controller_common.h.

Field Documentation

◆ aaicmd

u32 mtk_nor_regs::aaicmd

Definition at line 64 of file flash_controller_common.h.

◆ cfg

u32 mtk_nor_regs::cfg[2]

Definition at line 48 of file flash_controller_common.h.

◆ cfg1_bri

u32 mtk_nor_regs::cfg1_bri[2]

Definition at line 70 of file flash_controller_common.h.

◆ cfg3

u32 mtk_nor_regs::cfg3

Definition at line 61 of file flash_controller_common.h.

◆ chksum

u32 mtk_nor_regs::chksum

Definition at line 63 of file flash_controller_common.h.

◆ chksum_ctl

u32 mtk_nor_regs::chksum_ctl

Definition at line 62 of file flash_controller_common.h.

◆ cmd

u32 mtk_nor_regs::cmd

Definition at line 40 of file flash_controller_common.h.

Referenced by mtk_nor_execute_cmd(), and polling_cmd().

◆ cnt

u32 mtk_nor_regs::cnt

Definition at line 41 of file flash_controller_common.h.

Referenced by sector_erase().

◆ del_sel

u32 mtk_nor_regs::del_sel[2]

Definition at line 57 of file flash_controller_common.h.

◆ delsel

u32 mtk_nor_regs::delsel[3]

Definition at line 68 of file flash_controller_common.h.

◆ diff_addr

u32 mtk_nor_regs::diff_addr

Definition at line 56 of file flash_controller_common.h.

◆ fdma_ctl

u32 mtk_nor_regs::fdma_ctl

Definition at line 71 of file flash_controller_common.h.

Referenced by dma_read().

◆ fdma_dadr

u32 mtk_nor_regs::fdma_dadr

Definition at line 73 of file flash_controller_common.h.

Referenced by dma_read().

◆ fdma_end_dadr

u32 mtk_nor_regs::fdma_end_dadr

Definition at line 74 of file flash_controller_common.h.

Referenced by dma_read().

◆ fdma_fadr

u32 mtk_nor_regs::fdma_fadr

Definition at line 72 of file flash_controller_common.h.

Referenced by dma_read().

◆ flash_cfg

u32 mtk_nor_regs::flash_cfg

Definition at line 52 of file flash_controller_common.h.

◆ intren

u32 mtk_nor_regs::intren

Definition at line 59 of file flash_controller_common.h.

◆ intrstus

u32 mtk_nor_regs::intrstus

Definition at line 58 of file flash_controller_common.h.

◆ pp_ctl

u32 mtk_nor_regs::pp_ctl

Definition at line 60 of file flash_controller_common.h.

◆ prgdata

u32 mtk_nor_regs::prgdata[6]

Definition at line 46 of file flash_controller_common.h.

Referenced by nor_read(), and sector_erase().

◆ radr

u32 mtk_nor_regs::radr[3]

Definition at line 44 of file flash_controller_common.h.

Referenced by set_sfpaddr().

◆ radr3

u32 mtk_nor_regs::radr3

Definition at line 66 of file flash_controller_common.h.

◆ rdata

u32 mtk_nor_regs::rdata

Definition at line 43 of file flash_controller_common.h.

◆ rdsr

u32 mtk_nor_regs::rdsr

Definition at line 42 of file flash_controller_common.h.

Referenced by sflashhw_read_flash_status().

◆ read_dual

u32 mtk_nor_regs::read_dual

Definition at line 67 of file flash_controller_common.h.

Referenced by nor_read().

◆ reserved

u32 mtk_nor_regs::reserved[397]

Definition at line 69 of file flash_controller_common.h.

◆ reserved2

u32 mtk_nor_regs::reserved2[3]

Definition at line 53 of file flash_controller_common.h.

◆ reserved3

u32 mtk_nor_regs::reserved3

Definition at line 55 of file flash_controller_common.h.

◆ sf_time

u32 mtk_nor_regs::sf_time

Definition at line 54 of file flash_controller_common.h.

◆ shreg

u32 mtk_nor_regs::shreg[10]

Definition at line 47 of file flash_controller_common.h.

◆ shreg10

u32 mtk_nor_regs::shreg10

Definition at line 49 of file flash_controller_common.h.

◆ status

u32 mtk_nor_regs::status[5]

Definition at line 50 of file flash_controller_common.h.

◆ timing

u32 mtk_nor_regs::timing

Definition at line 51 of file flash_controller_common.h.

◆ wdata

u32 mtk_nor_regs::wdata

Definition at line 45 of file flash_controller_common.h.

Referenced by nor_write().

◆ wrprot

u32 mtk_nor_regs::wrprot

Definition at line 65 of file flash_controller_common.h.

Referenced by mtk_spi_flash_probe().


The documentation for this struct was generated from the following file: