1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-25 19:10:18 +02:00

tornado/fw/: apply platform separation by include also to io.h

This commit is contained in:
Werner Almesberger 2012-12-05 11:32:41 -03:00
parent 557a80c3c6
commit d2f569fbf2
4 changed files with 2 additions and 11 deletions

View File

@ -16,7 +16,7 @@
#include <sys/mman.h> #include <sys/mman.h>
#include "../mmc.h" #include "../mmc.h"
#include "ben-io.h" #include "io.h"
#define SOC_BASE 0x10000000 #define SOC_BASE 0x10000000

View File

@ -1,5 +1,5 @@
/* /*
* ben/ben-io.h - I/O helper macros (for cross-platform testing on the Ben) * ben/io.h - I/O helper macros (for cross-platform testing on the Ben)
* *
* Written 2012 by Werner Almesberger * Written 2012 by Werner Almesberger
* Copyright 2012 Werner Almesberger * Copyright 2012 Werner Almesberger

View File

@ -13,16 +13,7 @@
#include <stdint.h> #include <stdint.h>
#ifdef AVR
#include "io.h" #include "io.h"
#else /* AVR */
#include "ben-io.h"
#endif /* !AVR */
#include "delay.h" #include "delay.h"
#include "mmc-hw.h" #include "mmc-hw.h"