* libgloss/ChangeLog.or1k

2012-10-02  Stefan Kristiansson  <[email protected]>

        * or1k/Makefile.in: add atlys and de0_nano to BOARDS
        * or1k/atlys.S: new file
        * or1k/de0_nano.S: ditto
---
 libgloss/ChangeLog.or1k   |    6 ++++++
 libgloss/or1k/Makefile.in |    9 ++++++++-
 libgloss/or1k/atlys.S     |   27 +++++++++++++++++++++++++++
 libgloss/or1k/de0_nano.S  |   27 +++++++++++++++++++++++++++
 4 files changed, 68 insertions(+), 1 deletion(-)
 create mode 100644 libgloss/or1k/atlys.S
 create mode 100644 libgloss/or1k/de0_nano.S

diff --git a/libgloss/ChangeLog.or1k b/libgloss/ChangeLog.or1k
index b8d07d4..2877ed5 100644
--- a/libgloss/ChangeLog.or1k
+++ b/libgloss/ChangeLog.or1k
@@ -1,5 +1,11 @@
 2012-10-02  Stefan Kristiansson  <[email protected]>
 
+       * or1k/Makefile.in: add atlys and de0_nano to BOARDS
+       * or1k/atlys.S: new file
+       * or1k/de0_nano.S: ditto
+
+2012-10-02  Stefan Kristiansson  <[email protected]>
+
        * or1k/ml501.S: make board globals weak
        * or1k/or1ksim-uart.S: ditto
        * or1k/or1ksim.S: ditto
diff --git a/libgloss/or1k/Makefile.in b/libgloss/or1k/Makefile.in
index ba23070..086c055 100644
--- a/libgloss/or1k/Makefile.in
+++ b/libgloss/or1k/Makefile.in
@@ -73,7 +73,14 @@ OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
 CFLAGS =  -g
 
 # List new boards here - should be accompanied by own <board>.[cS]
-BOARDS   = or1ksim or1ksim-uart orpsocrefdesign ordb1a3pe1500 ml501 ordb2a
+BOARDS =       or1ksim         \
+               or1ksim-uart    \
+               orpsocrefdesign \
+               ordb1a3pe1500   \
+               ml501           \
+               ordb2a          \
+               atlys           \
+               de0_nano
 
 BOARD_OBJS = $(addsuffix .o,$(BOARDS))
 BOARD_LIBS = $(addsuffix .a,$(BOARDS))
diff --git a/libgloss/or1k/atlys.S b/libgloss/or1k/atlys.S
new file mode 100644
index 0000000..e258a75
--- /dev/null
+++ b/libgloss/or1k/atlys.S
@@ -0,0 +1,27 @@
+#include "or1k-asm.h"
+
+/*
+ * Define symbols to be used during startup - file is linked at compile time
+ *
+ */
+.weak _board_mem_base
+.weak _board_mem_size
+.weak _board_clk_freq
+
+_board_mem_base:       .long   0x0
+_board_mem_size:       .long   0x2000000
+
+_board_clk_freq:       .long   50000000
+
+/* Peripheral information - Set base to 0 if not present*/
+.weak _board_uart_base
+.weak _board_uart_baud
+.weak _board_uart_IRQ
+
+_board_uart_base:      .long   0x90000000
+_board_uart_baud:      .long   115200
+_board_uart_IRQ:       .long   13
+
+.weak _board_exit
+_board_exit:
+        OR1K_DELAYED_NOP(l.j _board_exit)
diff --git a/libgloss/or1k/de0_nano.S b/libgloss/or1k/de0_nano.S
new file mode 100644
index 0000000..e258a75
--- /dev/null
+++ b/libgloss/or1k/de0_nano.S
@@ -0,0 +1,27 @@
+#include "or1k-asm.h"
+
+/*
+ * Define symbols to be used during startup - file is linked at compile time
+ *
+ */
+.weak _board_mem_base
+.weak _board_mem_size
+.weak _board_clk_freq
+
+_board_mem_base:       .long   0x0
+_board_mem_size:       .long   0x2000000
+
+_board_clk_freq:       .long   50000000
+
+/* Peripheral information - Set base to 0 if not present*/
+.weak _board_uart_base
+.weak _board_uart_baud
+.weak _board_uart_IRQ
+
+_board_uart_base:      .long   0x90000000
+_board_uart_baud:      .long   115200
+_board_uart_IRQ:       .long   13
+
+.weak _board_exit
+_board_exit:
+        OR1K_DELAYED_NOP(l.j _board_exit)
-- 
1.7.9.5

_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to