diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-12-05 09:12:47 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-12-05 09:24:23 +0100 |
commit | fc5a57f7f9c03c2426c1371be175fa5fd4434813 (patch) | |
tree | 7af621577f305200378dd06f1b8f2e51714a489d /dts/Bindings/input/elants_i2c.txt | |
parent | 77c8120e12d5e8923078eb5e618ebf329a30d5a3 (diff) | |
download | barebox-master.tar.gz barebox-master.tar.xz |
Currently, barebox ARM arch_remap_range() will hang in an infinite loop,
when called with a size that's not aligned to a page boundary.
Its Linux equivalent, ioremap(), will just rounds up to page size and
work correctly. Adopt the Linux behavior to make porting code easier,
e.g. when calling devm_ioremap().
The only other arch_remap_range() in barebox, is PowerPC's. That one
wouldn't loop indefinitely if the size isn't page aligned, so nothing to
do there.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20231205081247.4148947-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/Bindings/input/elants_i2c.txt')
0 files changed, 0 insertions, 0 deletions