Skip to content
Snippets Groups Projects
Commit effe4973 authored by Kumar Gala's avatar Kumar Gala
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent f5ecc6e0
No related branches found
No related tags found
No related merge requests found
...@@ -992,6 +992,9 @@ ...@@ -992,6 +992,9 @@
#endif #endif
#endif #endif
#define IS_SVR_REV(svr, maj, min) \
((SVR_MAJ(svr) == maj) && (SVR_MIN(svr) == min))
/* /*
* SVR_SOC_VER() Version Values * SVR_SOC_VER() Version Values
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment