commit | 0643631aa1036cd746bf5d15f5a34bc7bc01ea4f | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Sat Apr 21 21:02:40 2007 +0200 |
committer | Michal Simek <monstr@monstr.eu> | Sat Apr 21 21:02:40 2007 +0200 |
tree | 4cf723e9fd6923b10c3b9495236215f84b2297ee | |
parent | 9d1d6a34d26c5933bc097ce73c9348f95573cdd4 [diff] [blame] |
16bit read/write little endian
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 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);