diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-10 11:39:16 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-13 14:19:35 +0200 |
commit | 501ca464e243c54345619a1dd2a11b5d1eda10cd (patch) | |
tree | 53a48130ca4ee22a37ae7d70c5a6c41232b33ff9 /arch | |
parent | 68e3e14a64693f7b601c0d5599dc9fbb3133bdcc (diff) | |
download | barebox-501ca464e243c54345619a1dd2a11b5d1eda10cd.tar.gz barebox-501ca464e243c54345619a1dd2a11b5d1eda10cd.tar.xz |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions