diff options
author | Adam Muhle <armuhle@us.ibm.com> | 2011-07-26 09:57:45 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2011-08-03 08:12:22 -0500 |
commit | 5867b512c1592fce1a5bab56e4320efd6598645f (patch) | |
tree | dc0e33872419bd649b8015b04c4272fbaedd72b8 /src/include | |
parent | 937c177a8f2decfc05aa4c36788cb14a84631b05 (diff) | |
download | talos-hostboot-5867b512c1592fce1a5bab56e4320efd6598645f.tar.gz talos-hostboot-5867b512c1592fce1a5bab56e4320efd6598645f.zip |
Adding fake PNOR Device Driver Support
Change-Id: Ic434159183bc4dd91c8ba588730cda7e0766c6c0
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/223
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/devicefw/userif.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H index 794577312..c1bbd864b 100644 --- a/src/include/usr/devicefw/userif.H +++ b/src/include/usr/devicefw/userif.H @@ -48,7 +48,7 @@ namespace DeviceFW * @return 64-bit address to pass into PNOR device commands */ #define DEVICE_PNOR_ADDRESS( chip, addr ) \ - DeviceFW::PNOR, (((chip)<<32)|(addr)) + DeviceFW::PNOR, ((static_cast<uint64_t>(chip)<<32)|static_cast<uint64_t>(addr)) /** |