dacf211d36
Since there are times that we include a base .dtsi file and change the reg address we tend to end up with warnings that the reg address and unit-address don't match. To handle this introduce a simple DT_ADDR(x) macro that will prepend '0x' to a 'unit-address' style address. #define DCCM_ADDR 80000000 /* in unit-address format */ dccm0: dccm@DCCM_ADDR { reg = <DT_ADDR(DCCM_ADDR) 0x1>; ... }; This allows the dts file to override the value of DCCM_ADDR and than to have the unit-address of the node and the reg address match. Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
---|---|---|
.. | ||
mem.h | ||
skeleton.dtsi |