u-boot/drivers
Simon Glass 940dd16242 exynos: i2c: Change FDT bus setup code to enumerate ports correctly
At present the i2c ports are enumerated in a strange way - the
fdtdec_find_aliases_for_id() function is used, but then the ID returned
is ignored and the ports are renumbered. The effect is the same provided
that the device tree has the ports in the same order, or uses aliases,
and has no gaps, but it is not correct.

Adjust the code to use the function as intended. This will allows device
tree aliases to change the device order if required.

As a result, the i2c_busses variable is dropped. We can't be sure that
there are no 'holes' in the list of buses, so must check the whole
array.

Note: it seems that non-FDT operation is now broken in this drive and
will need to be reinstated for upstream.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/59369
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
2013-10-17 07:20:26 +02:00
..
bios_emulator biosemu: include <asm/io.h> header 2013-04-02 16:23:35 -04:00
block Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
bootcount Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
crypto Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
dfu dfu: ram support 2013-09-24 17:51:35 +02:00
dma dma: apbh: Add special circular mode for LCD 2013-08-09 21:48:34 +02:00
fpga Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
gpio Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master' 2013-09-04 11:50:25 +02:00
hwmon Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
i2c exynos: i2c: Change FDT bus setup code to enumerate ports correctly 2013-10-17 07:20:26 +02:00
input Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
misc Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
mmc Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-10-02 11:45:22 -04:00
mtd sf: probe: Add missing Atmel at25df321 flash 2013-10-16 00:14:03 +05:30
net Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
pci pci: Properly configure prefetchable memory region 2013-10-07 08:21:23 -04:00
pcmcia Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
power Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-10-14 11:20:32 -04:00
qe Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
rtc Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
serial drivers: serial_s3c44b0: delete an unused driver 2013-09-19 09:52:04 +02:00
sound Sound: MAX98095: Support I2S0 channel 2013-09-24 09:10:33 -04:00
spi spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers 2013-10-16 00:14:30 +05:30
tpm Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
twserial Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
usb Coding Style cleanup: drop some excessive empty lines 2013-10-14 16:06:54 -04:00
video Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
watchdog microblaze: Fix watchdog initialization 2013-10-16 09:24:38 -04:00