diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2025-03-05 14:34:10 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-03-10 21:35:54 -0400 |
commit | c4e83573c3d01b3679f241ecf78080d67fec3159 (patch) | |
tree | 3e44931987824ae3c660f7f75252d2cbf28181c0 /net/lapb/lapb_timer.c | |
parent | 67407b84e0ed3915d77bfd1d05e7bd51ddbf03ee (diff) |
scsi: ufs: renesas: Replace init data by init code
Since initialization of the UFS controller on R-Car S4-8 ES1.0 requires
only static values, the driver uses initialization data stored in the const
ufs_param[] array. However, other UFS controller variants (R-Car S4-8
ES1.2) require dynamic values, like those obtained from E-FUSE. Refactor
the initialization code to prepare for this.
This also reduces kernel size by almost 30 KiB.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/3520e27ac7ff512de6508f630eee3c1689a7c73d.1741179611.git.geert+renesas@glider.be
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions