UPSTREAM: coresight: tmc: Make memory width mask computation into a function
(Upstream commit 00bb485ce7b8d1186a5166fc9e38822797fae7d4). Make the computation of a memory mask representing the width of the memory bus into a function so that it can be re-used by the ETR driver. Signed-off-by:Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by:
Leo Yan <leo.yan@linaro.org> Link: https://lore.kernel.org/r/20190829202842.580-16-mathieu.poirier@linaro.org Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Bug: 140266694 Change-Id: I99aff4c3c8c8daedbaf83934805318000db68e5c Signed-off-by:
Yabin Cui <yabinc@google.com>
Loading
Please register or sign in to comment