Utilize BIT macro everywhere

This commit is contained in:
CTCaer
2020-11-26 01:41:45 +02:00
parent 94486873c1
commit cabaa6cfb8
43 changed files with 517 additions and 515 deletions

View File

@@ -20,7 +20,7 @@
int pmc_enable_partition(u32 part, int enable)
{
u32 part_mask = 1 << part;
u32 part_mask = BIT(part);
u32 desired_state = enable << part;
// Check if the partition has the state we want.