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
|
@ -72,7 +72,7 @@
|
|||
arduino_serial: &lpuart4 {};
|
||||
|
||||
&flexspi {
|
||||
reg = <0x402a8000 0x4000>, <0x60000000 0x1000000>;
|
||||
reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(16)>;
|
||||
at25sf128a: at25sf128a@0 {
|
||||
compatible = "adesto,at25sf128a", "jedec,spi-nor";
|
||||
size = <134217728>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue