summaryrefslogtreecommitdiffstats
path: root/include/ns16550.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-29 11:35:50 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-08-01 16:33:09 +0800
commitc71a77ab878c3d9d14e91ea4fa5bd4ff8fe1c421 (patch)
treebaa9253468338c34d06d8ebdfc56aa1e7abae4ba /include/ns16550.h
parent3f59bab47cc40bb0b6076143cc2e6b96be396771 (diff)
downloadbarebox-c71a77ab878c3d9d14e91ea4fa5bd4ff8fe1c421.tar.gz
barebox-c71a77ab878c3d9d14e91ea4fa5bd4ff8fe1c421.tar.xz
ns16550: switch to resource
use generic read/write depending on the memory size if no reg_read/write defined Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/ns16550.h')
-rw-r--r--include/ns16550.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ns16550.h b/include/ns16550.h
index b40d1fa5ae..5fd52fa744 100644
--- a/include/ns16550.h
+++ b/include/ns16550.h
@@ -50,6 +50,8 @@ struct NS16550_plat {
*/
void (*reg_write) (unsigned int val, unsigned long base,
unsigned char reg_offset);
+
+ int shift;
};
#endif /* __NS16650_PLATFORM_H_ */