9
0
Fork 0
barebox/drivers/base
Sascha Hauer 501ca464e2 platform driver: Drop check for resource conflicts
The check is wrong since it would have to check whether the
new iomem region overlaps with an existing region. Checking
for the base address only is not enough.
Currently this is not possible because every device conflicts
with the top iomem region which covers the whole address space.

This at least fixes the regression that devices whose memory region
begins at 0x0 can no longer be succesfully registered.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Alexander Shiyan <shc_work@mail.ru>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-10-13 14:19:35 +02:00
..
Makefile driver: register bus 2012-09-23 21:15:13 +02:00
bus.c driver: make get_bus_by_name static 2012-10-04 15:34:47 +02:00
driver.c Merge branch 'pu/misc-fixes' 2012-10-07 18:45:56 +02:00
platform.c platform driver: Drop check for resource conflicts 2012-10-13 14:19:35 +02:00
resource.c switch all platform_bus device/driver registering to platform_driver/device_register 2012-10-04 15:19:12 +02:00