summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-05-18 19:20:05 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-05-18 19:26:47 +0100
commit6852efe4a621a52e82ec5371a4b9fc10cc1bea88 (patch)
tree8b9954d397a1ef51ec2375095d6299396c9b37f4
parentd091b5a0950ea94f66d20eba33e5e96b7b9d5e83 (diff)
downloadfmk-6852efe4a621a52e82ec5371a4b9fc10cc1bea88.tar.gz
fmk-6852efe4a621a52e82ec5371a4b9fc10cc1bea88.tar.xz
fmk-6852efe4a621a52e82ec5371a4b9fc10cc1bea88.zip
asm.h -> lib/asm.h
-rw-r--r--fmk.c2
-rw-r--r--lib/asm.h (renamed from asm.h)0
-rw-r--r--setup.c2
-rw-r--r--uart/uart.c4
4 files changed, 4 insertions, 4 deletions
diff --git a/fmk.c b/fmk.c
index bf2fb79..5e8462e 100644
--- a/fmk.c
+++ b/fmk.c
@@ -1,4 +1,4 @@
-#include "asm.h"
+#include <asm.h>
int main(void)
{
diff --git a/asm.h b/lib/asm.h
index 63310b5..63310b5 100644
--- a/asm.h
+++ b/lib/asm.h
diff --git a/setup.c b/setup.c
index 1e002f1..57ef649 100644
--- a/setup.c
+++ b/setup.c
@@ -16,11 +16,11 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <asm.h>
#include <reg.h>
#include <stddef.h>
#include <string.h>
-#include "asm.h"
#include "usb/usb.h"
#include "uart/uart.h"
diff --git a/uart/uart.c b/uart/uart.c
index ff467eb..aef64ce 100644
--- a/uart/uart.c
+++ b/uart/uart.c
@@ -16,16 +16,16 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <asm.h>
#include <cm4.h>
#include <reg/gpio.h>
#include <reg/port.h>
#include <reg/sim.h>
#include <reg/uart.h>
-#include <stddef.h>
#include <stdarg.h>
+#include <stddef.h>
#include "uart.h"
-#include "../asm.h"
enum {
SBR_VAL = 39,