summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-04-21 21:02:40 +0200
committerMichal Simek <monstr@monstr.eu>2007-04-21 21:02:40 +0200
commit0643631aa1036cd746bf5d15f5a34bc7bc01ea4f (patch)
tree4cf723e9fd6923b10c3b9495236215f84b2297ee /include/common.h
parent9d1d6a34d26c5933bc097ce73c9348f95573cdd4 (diff)
downloadu-boot-imx-0643631aa1036cd746bf5d15f5a34bc7bc01ea4f.zip
u-boot-imx-0643631aa1036cd746bf5d15f5a34bc7bc01ea4f.tar.gz
u-boot-imx-0643631aa1036cd746bf5d15f5a34bc7bc01ea4f.tar.bz2
16bit read/write little endian
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index b162dbd..40fbba5 100644
--- a/include/common.h
+++ b/include/common.h
@@ -402,6 +402,10 @@ void ppcDcbi(unsigned long value);
void ppcSync(void);
void ppcDcbz(unsigned long value);
#endif
+#if defined (CONFIG_MICROBLAZE)
+unsigned short in16(unsigned int);
+void out16(unsigned int, unsigned short value);
+#endif
#if defined (CONFIG_MPC83XX)
void ppcDWload(unsigned int *addr, unsigned int *ret);