aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-24 23:32:09 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2024-04-15 15:19:12 +0900
commitd1343522e509ea78dd53615846bd7b0a0049e97a (patch)
tree404b1e2586144331efbedf2daa596d0909a4ac85 /include
parent12859c2219a61bf4ce8b33de267d2b0e3e11ef37 (diff)
downloadu-boot-d1343522e509ea78dd53615846bd7b0a0049e97a.zip
u-boot-d1343522e509ea78dd53615846bd7b0a0049e97a.tar.gz
u-boot-d1343522e509ea78dd53615846bd7b0a0049e97a.tar.bz2
mmc: Convert hs400_tuning flag from u8 to bool
This hs400_tuning is a flag, make it bool. No functional change. This will be useful in the following patch, which adds another more generic flag, where the compiler can better use the space now reserved for the u8 to store more flags in it. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 8df1413..a4584f8 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -736,7 +736,7 @@ struct mmc {
* accessing the boot partitions
*/
u32 quirks;
- u8 hs400_tuning;
+ bool hs400_tuning:1;
enum bus_mode user_speed_mode; /* input speed mode from user */
};