2c2
< * Copyright (c) 2014 ARM Limited
---
> * Copyright (c) 2014, 2017 ARM Limited
41a42
> #include "base/bitfield.hh"
52d52
< BARSize[0] = BAR0_SIZE_BASE + vio.configSize;
53a54,59
> // The kernel driver expects the BAR size to be an exact power of
> // two. Nothing else is supported. Therefore, we need to force
> // that alignment here. We do not touch vio.configSize as this is
> // used to check accesses later on.
> BARSize[0] = alignToPowerOfTwo(BAR0_SIZE_BASE + vio.configSize);
>