ram: renesas: dbsc5: Improve dbsc5_send_dbcmd2() signature
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 25 Mar 2025 22:43:31 +0000 (23:43 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 29 Mar 2025 01:33:24 +0000 (02:33 +0100)
commitc238bc3b0fd2ef25368f8ce886a17f9f4e0b43cc
tree7e12cbe957228d5b9dce8505cc314bd94c01c939
parent34cf3a269c269241de46ea4c04aa3ec750da4ea5
ram: renesas: dbsc5: Improve dbsc5_send_dbcmd2() signature

Update dbsc5_send_dbcmd2() such that it takes multiple parameters
instead of one magic register content value. These parameters are
used to form the same resulting register value internally in the
dbsc5_send_dbcmd2() function, but from well defined input constants.
The new input constants are the operation code, channel, rank, and
operation argument. The argument is operation code specific, therefore
it is still a 16-bit magic number, but the rest of the arguments are
now split up. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/ram/renesas/dbsc5/dram.c