aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/fx2/b100/fpga_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/fx2/b100/fpga_load.c')
-rw-r--r--firmware/fx2/b100/fpga_load.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/fx2/b100/fpga_load.c b/firmware/fx2/b100/fpga_load.c
index 394c9f50e..6604de288 100644
--- a/firmware/fx2/b100/fpga_load.c
+++ b/firmware/fx2/b100/fpga_load.c
@@ -82,9 +82,9 @@ clock_out_config_byte (unsigned char bits)
#else
static void
-clock_out_config_byte (unsigned char bits) _naked
+clock_out_config_byte (unsigned char bits) __naked
{
- _asm
+ __asm
mov a, dpl
rlc a
@@ -129,14 +129,14 @@ clock_out_config_byte (unsigned char bits) _naked
ret
- _endasm;
+ __endasm;
}
#endif
static void
clock_out_bytes (unsigned char bytecount,
- unsigned char xdata *p)
+ unsigned char __xdata *p)
{
while (bytecount-- > 0)
clock_out_config_byte (*p++);
@@ -156,7 +156,7 @@ clock_out_bytes (unsigned char bytecount,
* ALTERA_NSTATUS = 1 (input)
*/
unsigned char
-fpga_load_xfer (xdata unsigned char *p, unsigned char bytecount)
+fpga_load_xfer (__xdata unsigned char *p, unsigned char bytecount)
{
clock_out_bytes (bytecount, p);
return 1;