/**** * FLASH burner specific macros ****/ /* pport bit mappings */ #define FB_A0 CR_SEL /* all these are inverted! */ #define FB_A1 CR_STB #define FB_A2 CR_AUTO #define FB_FLOAT CR_INIT /* true polarity */ #define FB_RYBY SR_NP /* true polarity */ /* address space map */ #define FB_DATA 0 #define FB_ALO 1 #define FB_AMID 2 #define FB_AHI 3 #define FB_CTL 4 #define FB_IDLE 7 /* control lines bitmasks */ #define FB_CS 1 #define FB_OE 2 #define FB_WR 4 /* magic numbers */ #define FLASH_SIZE 1048576 #define DOT_PERIOD 4096