]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: versal: Add missing prototype for initialize_tcm
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>
Fri, 9 Jun 2023 09:05:30 +0000 (03:05 -0600)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:25:02 +0000 (13:25 +0200)
Add the missing prototype pointed by below sparse warning
warning: no previous prototype for 'initialize_tcm'
[-Wmissing-prototypes]

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230609090531.31794-2-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/mach-versal/include/mach/sys_proto.h

index 3f01508ecb5631ad72f23336cdc6d29981e56cb8..433f9ba07c7791414f77246d1c28bc90b8fe3894 100644 (file)
@@ -10,6 +10,7 @@ enum {
        TCM_SPLIT,
 };
 
+void initialize_tcm(bool mode);
 void tcm_init(u8 mode);
 void mem_map_fill(void);