[U-Boot] [PATCH 09/11] dma: ti-edma3: Add BIT(x) macro definition

Andy Pont andy.pont at sdcsystems.com
Fri Jul 3 15:57:16 CEST 2015


Vignesh wrote...

[snip]

> +#define BIT(x)					(1 << (x))
> +

Is this not something that would be better in a global header file somewhere rather than it starting a trend of a per-driver, per-arch, etc. definitions?

Andy.





More information about the U-Boot mailing list