misc: flexram: allow RAM type node to be disabled in DT
Use DT_NODE_HAS_COMPAT_STATUS to skip disabled child nodes. This
avoids build errors when setting a RAM type to 0 banks.
Signed-off-by:
Ofir Shemesh <ofirshemesh777@gmail.com>
Loading
Please sign in to comment