ram: stm32: replace fdtdec_get by ofnode calls
authorPatrice Chotard <[email protected]>
Tue, 18 Jul 2017 15:37:26 +0000 (17:37 +0200)
committerTom Rini <[email protected]>
Wed, 26 Jul 2017 15:29:14 +0000 (11:29 -0400)
commitf39b90dc8c2b6da6665fa4c7dcd47d32cbe07a29
tree6e2cf1b7333c48315800d664d5cd34d4be1e610a
parent1421e0a375334d8ff2f996a95dccbc5e9a1a02f0
ram: stm32: replace fdtdec_get by ofnode calls

Replace all fdtdec_get..() calls by ofnode_read...() or dev_read..().
This will allow drivers to support a live device tree.

Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/ram/stm32_sdram.c