]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rk3399: Fix faulty frequency change reports
authorLee Jones <lee@kernel.org>
Thu, 11 Aug 2022 07:58:47 +0000 (08:58 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 4 Sep 2022 12:00:38 +0000 (20:00 +0800)
commitdaef678cffb9fb387c44d45d827d2b8ea199eb5b
tree17ed9d4e3173c3af918a9c000137a8dcba106811
parent7b561e2ab8ac980023c5e5325f45a8ca1951c0dd
ram: rk3399: Fix faulty frequency change reports

Frequency changes to 400MHz are presently reported as:

  lpddr4_set_rate_0: change freq to 400000000 mhz 0, 1

This is obviously wrong by 6 orders of magnitude.

Ensure frequency changes are reported accurately.

Signed-off-by: Lee Jones <lee@kernel.org>
Tested-by: Xavier Drudis Ferran <xdrudis@tinet.cat>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/ram/rockchip/sdram_rk3399.c