Tegra: define CACHE_WRITEBACK_GRANULE for scatterfile
authorKalyani Chidambaram <kalyanic@nvidia.com>
Fri, 14 Dec 2018 19:36:43 +0000 (11:36 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 7 Feb 2019 16:46:52 +0000 (08:46 -0800)
The scatterfile to support armlink, does not seem to support
shift operator. To handle this define CACHE_WRITEBACK_GRANULE with
the direct value.

Change-Id: I19afc7cb9c55a08cb0703f284d91018d3214353f
Signed-off-by: Kalyani Chidambaram <kalyanic@nvidia.com>
plat/nvidia/tegra/include/platform_def.h

index 334ad129a196385d2edfcdd1f5cb449c8d1720e2..106882ac87d948396d08779a9d1fa691d5456c56 100644 (file)
@@ -59,6 +59,6 @@
  * integrated and external caches.
  ******************************************************************************/
 #define CACHE_WRITEBACK_SHIFT          6
-#define CACHE_WRITEBACK_GRANULE                (U(1) << CACHE_WRITEBACK_SHIFT)
+#define CACHE_WRITEBACK_GRANULE                (0x40) /* (U(1) << CACHE_WRITEBACK_SHIFT) */
 
 #endif /* PLATFORM_DEF_H */