summaryrefslogtreecommitdiffstats
path: root/board/cogent/serial.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-30 07:28:52 +0000
committerHeiko Schocher <hs@denx.de>2013-07-23 08:34:54 +0200
commitd84eb856c4385c90f4f68594819744b638f77a02 (patch)
tree67f57a86d918126a9559fe58fd8883d8b2e2df72 /board/cogent/serial.c
parentf3e9361771af69b12699c8e58b174d72f0bb545e (diff)
downloadu-boot-d84eb856c4385c90f4f68594819744b638f77a02.tar.gz
u-boot-d84eb856c4385c90f4f68594819744b638f77a02.tar.xz
u-boot-d84eb856c4385c90f4f68594819744b638f77a02.zip
tegra: i2c: Add function to know about current bus
Rather than using a variable in various places, add a single function, tegra_i2c_get_bus(), which returns a pointer to information about a bus. This will make it easier to move to the new i2c framework. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/cogent/serial.c')
0 files changed, 0 insertions, 0 deletions