Skip to content
Snippets Groups Projects
Commit b68ef0db authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Merge branch 'master' of git://git.denx.de/u-boot-blackfin

parents bcde82a2 49508d4c
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,7 @@ ...@@ -71,6 +71,7 @@
*/ */
#define COMMON_INS(func, ops) \ #define COMMON_INS(func, ops) \
.section .text._ins##func; \
ENTRY(_ins##func) \ ENTRY(_ins##func) \
P0 = R0; /* P0 = port */ \ P0 = R0; /* P0 = port */ \
CLI_OUTER; /* 3 instructions before first read access */ \ CLI_OUTER; /* 3 instructions before first read access */ \
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
.align 2 .align 2
.section .text._outsl
ENTRY(_outsl) ENTRY(_outsl)
P0 = R0; /* P0 = port */ P0 = R0; /* P0 = port */
P1 = R1; /* P1 = address */ P1 = R1; /* P1 = address */
...@@ -23,6 +24,7 @@ ENTRY(_outsl) ...@@ -23,6 +24,7 @@ ENTRY(_outsl)
RTS; RTS;
ENDPROC(_outsl) ENDPROC(_outsl)
.section .text._outsw
ENTRY(_outsw) ENTRY(_outsw)
P0 = R0; /* P0 = port */ P0 = R0; /* P0 = port */
P1 = R1; /* P1 = address */ P1 = R1; /* P1 = address */
...@@ -34,6 +36,7 @@ ENTRY(_outsw) ...@@ -34,6 +36,7 @@ ENTRY(_outsw)
RTS; RTS;
ENDPROC(_outsw) ENDPROC(_outsw)
.section .text._outsb
ENTRY(_outsb) ENTRY(_outsb)
P0 = R0; /* P0 = port */ P0 = R0; /* P0 = port */
P1 = R1; /* P1 = address */ P1 = R1; /* P1 = address */
...@@ -45,6 +48,7 @@ ENTRY(_outsb) ...@@ -45,6 +48,7 @@ ENTRY(_outsb)
RTS; RTS;
ENDPROC(_outsb) ENDPROC(_outsb)
.section .text._outsw_8
ENTRY(_outsw_8) ENTRY(_outsw_8)
P0 = R0; /* P0 = port */ P0 = R0; /* P0 = port */
P1 = R1; /* P1 = address */ P1 = R1; /* P1 = address */
......
...@@ -147,6 +147,7 @@ SECTIONS ...@@ -147,6 +147,7 @@ SECTIONS
*(.dynbss) *(.dynbss)
*(.bss .bss.*) *(.bss .bss.*)
*(COMMON) *(COMMON)
. = ALIGN(4);
} >ram_data } >ram_data
__bss_vma = ADDR(.bss); __bss_vma = ADDR(.bss);
__bss_len = SIZEOF(.bss); __bss_len = SIZEOF(.bss);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment