diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2020-07-14 01:36:33 +0530 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2020-07-22 20:22:23 +0800 |
commit | 304eaae36bf89550d005d233518d006149f8c78b (patch) | |
tree | 38e678ec1cb1a1b01471f65c424b33b5b22c653d /drivers/ram | |
parent | 618db675c8e6de4daf3e8d71185e0ae300f0307e (diff) | |
download | u-boot-304eaae36bf89550d005d233518d006149f8c78b.tar.gz |
ram: rk3399: Drop debug stride in driver
stride debug is already present in sdram_common.c via
RAM_ROCKCHIP_DEBUG.
So, drop the redundant debug stride code in rk3399 driver.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/ram')
-rw-r--r-- | drivers/ram/rockchip/sdram_rk3399.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/ram/rockchip/sdram_rk3399.c b/drivers/ram/rockchip/sdram_rk3399.c index 0fe2cedc52..73d437347d 100644 --- a/drivers/ram/rockchip/sdram_rk3399.c +++ b/drivers/ram/rockchip/sdram_rk3399.c @@ -2875,31 +2875,6 @@ static unsigned char calculate_stride(struct rk3399_sdram_params *params) if (stride == (-1)) goto error; } - switch (stride) { - case 0xc: - printf("128B stride\n"); - break; - case 5: - case 9: - case 0xd: - case 0x11: - case 0x19: - printf("256B stride\n"); - break; - case 0xa: - case 0xe: - case 0x12: - printf("512B stride\n"); - break; - case 0xf: - printf("4K stride\n"); - break; - case 0x1f: - printf("32MB + 256B stride\n"); - break; - default: - printf("no stride\n"); - } sdram_print_stride(stride); |