[PATCH 08/12] drm/ast: Factor mmc_test code in POST code
YC Chen
yc_chen at aspeedtech.com
Fri Feb 24 18:07:51 AEDT 2017
Tested-by: Y.C. Chen <yc_chen at aspeedtech.com>
-----Original Message-----
From: Benjamin Herrenschmidt [mailto:benh at kernel.crashing.org]
Sent: Friday, February 24, 2017 6:54 AM
To: dri-devel at lists.freedesktop.org
Cc: YC Chen <yc_chen at aspeedtech.com>; airlied at redhat.com; eich at suse.come; linuxppc-dev at ozlabs.org
Subject: [PATCH 08/12] drm/ast: Factor mmc_test code in POST code
There's a some duplication for what's essentially copies of two loops, so factor it. The upcoming AST2500 POST code adds more of them. Also cleanup return types for the test functions, most of them return a boolean, some return a u32.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
More information about the Linuxppc-dev
mailing list