initvals.h 562 Bytes
Newer Older
Michael Büsch's avatar
Michael Büsch committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#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,
15
		IVAL_W_TRAM,
Michael Büsch's avatar
Michael Büsch committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
	} 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_ */