u-boot/arch/mips/mach-mtmips
Stefan Roese 896449fa29 mips: mt76x8: ddr_cal: Rename dqs_test_valid() to dqs_test_error()
This function returns "-1" (true) upon error. So the function name does
not match its implementation which is confusing. This patch renames the
function to dqs_test_error() which makes the code easier to read.

Also change the return type to bool and return "true" or "false".

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Weijie Gao <weijie.gao@mediatek.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Weijie Gao <weijie.gao@mediatek.com>
2020-04-27 20:30:13 +02:00
..
include/mach mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00
mt7628 mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00
cpu.c mips: mtmips: rewrite lowlevel codes of mt7628 2020-04-27 20:29:33 +02:00
ddr_cal.c mips: mt76x8: ddr_cal: Rename dqs_test_valid() to dqs_test_error() 2020-04-27 20:30:13 +02:00
ddr_init.c mips: mtmips: rewrite lowlevel codes of mt7628 2020-04-27 20:29:33 +02:00
Kconfig mips: mtmips: add support for mt7628-rfb 2020-04-27 20:30:13 +02:00
Makefile mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00
spl.c mips: mtmips: add SPL support 2020-04-27 20:30:12 +02:00