boards: arm: Use DT_SIZE macros for nxp external memories
Refactors nxp i.mx, kinetis, and lpc board-level device trees to use DT_SIZE_K and DT_SIZE_M macros to define external memory sizes. This is self documenting and easier to read. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
25ddc4e0f5
commit
2edfb89db8
9 changed files with 13 additions and 13 deletions
|
@ -30,7 +30,7 @@
|
|||
sdram0: memory@80000000 {
|
||||
/* Micron MT48LC16M16A2B4-6AIT:G */
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x2000000>;
|
||||
reg = <0x80000000 DT_SIZE_M(32)>;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue