mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
ppc: Added macro to test for specific SVR revision
Various SoC errata are specific to a given revision of silicon. This patch gives us a simple macro to use when doing such tests. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
f5ecc6e027
commit
effe4973f2
1 changed files with 3 additions and 0 deletions
|
@ -992,6 +992,9 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#define IS_SVR_REV(svr, maj, min) \
|
||||
((SVR_MAJ(svr) == maj) && (SVR_MIN(svr) == min))
|
||||
|
||||
/*
|
||||
* SVR_SOC_VER() Version Values
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue