Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
3b062da3
Commit
3b062da3
authored
15 years ago
by
Mike Frysinger
Browse files
Options
Downloads
Patches
Plain Diff
Blackfin: drop unused funcs from io.h
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
5f79644d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/asm-blackfin/io.h
+0
-38
0 additions, 38 deletions
include/asm-blackfin/io.h
with
0 additions
and
38 deletions
include/asm-blackfin/io.h
+
0
−
38
View file @
3b062da3
...
@@ -147,43 +147,5 @@ static inline unsigned int readl(const volatile void *addr)
...
@@ -147,43 +147,5 @@ static inline unsigned int readl(const volatile void *addr)
#define outsw(port, addr, count) cf_outsw((unsigned short *)(port), (unsigned short *)addr, (count))
#define outsw(port, addr, count) cf_outsw((unsigned short *)(port), (unsigned short *)addr, (count))
#define IO_SPACE_LIMIT 0xffff
/* Values for nocacheflag and cmode */
#define IOMAP_FULL_CACHING 0
#define IOMAP_NOCACHE_SER 1
#define IOMAP_NOCACHE_NONSER 2
#define IOMAP_WRITETHROUGH 3
extern
void
*
__ioremap
(
unsigned
long
physaddr
,
unsigned
long
size
,
int
cacheflag
);
extern
void
__iounmap
(
void
*
addr
,
unsigned
long
size
);
extern
inline
void
*
ioremap
(
unsigned
long
physaddr
,
unsigned
long
size
)
{
return
__ioremap
(
physaddr
,
size
,
IOMAP_NOCACHE_SER
);
}
extern
inline
void
*
ioremap_nocache
(
unsigned
long
physaddr
,
unsigned
long
size
)
{
return
__ioremap
(
physaddr
,
size
,
IOMAP_NOCACHE_SER
);
}
extern
inline
void
*
ioremap_writethrough
(
unsigned
long
physaddr
,
unsigned
long
size
)
{
return
__ioremap
(
physaddr
,
size
,
IOMAP_WRITETHROUGH
);
}
extern
inline
void
*
ioremap_fullcache
(
unsigned
long
physaddr
,
unsigned
long
size
)
{
return
__ioremap
(
physaddr
,
size
,
IOMAP_FULL_CACHING
);
}
extern
void
iounmap
(
void
*
addr
);
extern
void
blkfin_inv_cache_all
(
void
);
#define dma_cache_inv(_start, _size) do { blkfin_inv_cache_all(); } while (0)
#define dma_cache_wback(_start, _size) do { } while (0)
#define dma_cache_wback_inv(_start, _size) do { blkfin_inv_cache_all(); } while (0)
#endif
#endif
#endif
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment