summaryrefslogtreecommitdiffstats
path: root/assembler/initvals.h
blob: 0530a8f05b2afe724a15ba1bb1bd8ee9dc489a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef BCM43xx_ASM_INITVALS_H_
#define BCM43xx_ASM_INITVALS_H_

#include "main.h"


struct initval_op {
	enum {
		IVAL_W_MMIO16,
		IVAL_W_MMIO32,
		IVAL_W_PHY,
		IVAL_W_RADIO,
		IVAL_W_SHM16,
		IVAL_W_SHM32,
		IVAL_W_TRAM,
	} type;
	unsigned int args[3];

	struct lineinfo info;

	struct list_head list;
};

struct initvals_sect {
	/* The name string for this initvals section */
	const char *name;
	/* List of initval operations */
	struct list_head ops;

	struct list_head list;
};


extern void assemble_initvals(void);

#endif /* BCM43xx_ASM_INITVALS_H_ */
bues.ch cgit interface