ntb: conslidate reading of PPD to move platform detection earlier
authorDave Jiang <dave.jiang@intel.com>
Thu, 28 Aug 2014 20:53:13 +0000 (13:53 -0700)
committerJon Mason <jdmason@kudzu.us>
Fri, 17 Oct 2014 11:08:50 +0000 (07:08 -0400)
commit1db97f258966878317ece10868eaca99201d5884
tree3e4449c9c4eda5aaeeca60cbf4d0a10875e4cf14
parentb775e85bdb0395077a23bc072c4a62986883e276
ntb: conslidate reading of PPD to move platform detection earlier

To simplify some of the platform detection code. Move the platform detection
to a function to be called earlier.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_hw.c