ntb: move platform detection to separate function
ntb: move platform detection to separate function

Move the platform detection function to separate functions to allow
easier maintenence.

Signed-off-by: Dave Jiang <7a72b0ecdf501e4593e842e1a61bf3d5b53699e6@intel.com>
Signed-off-by: Jon Mason <cac3dbc234078e69b21f0609d62c20cd232525f0@kudzu.us>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs