mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
ram: renesas: dbsc: Use macro in renesas_dbsc5_board_config channel count
Use DRAM_CH_CNT macro in renesas_dbsc5_board_config channel count. The macro is defined in the same file a few lines above. This way, the maximum channel count in the structure and the macro can not diverge. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
@@ -50,7 +50,7 @@ struct renesas_dbsc5_board_config {
|
||||
u8 bdcfg_dm_swap[SLICE_CNT];
|
||||
/* SoC ckeX([1][0]) -> MEM csY */
|
||||
u8 bdcfg_cs_swap;
|
||||
} ch[4];
|
||||
} ch[DRAM_CH_CNT];
|
||||
};
|
||||
|
||||
#endif /* __INCLUDE_DBSC5_H__ */
|
||||
|
||||
Reference in New Issue
Block a user