[coreboot] Unifying IO accessor macros

Patrick Georgi pgeorgi at google.com
Wed Feb 18 17:35:30 CET 2015


2015-02-18 17:23 GMT+01:00 Vadim Bendebury <vbendeb at chromium.org>:
>> kernel, u-boot, etc. They all have the write(val, addr) semantics. I
>> see no good reason to artificially erect an ever present barrier for
>> integrating code into a coreboot system.
>>
Since all imported code requires some rework before it works for us,
and redoing that particular issue is a matter of a simple spatch
(http://coccinelle.lip6.fr/), I'm not sure that's actually that big a
concern.

@@
expression a,v;
@@
-writel(v,a)
+write32(a, v)


Patrick
-- 
Google Germany GmbH
ABC-Str. 19
20354 Hamburg

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores



More information about the coreboot mailing list