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> (cherry picked from commit 169b47ce)
Loading
Please sign in to comment