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:
parent
557a80c3c6
commit
d2f569fbf2
@ -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
|
||||||
|
@ -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
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user