From: Dimitris Papastamos Date: Thu, 29 Mar 2018 08:59:52 +0000 (+0100) Subject: Merge pull request #1335 from JoelHutton/jh/cleanup_void_pointers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e74af2afd0886a1b425757ff348396bffd0a580e;p=project%2Fbcm63xx%2Fatf.git Merge pull request #1335 from JoelHutton/jh/cleanup_void_pointers Clean usage of void pointers to access symbols --- e74af2afd0886a1b425757ff348396bffd0a580e diff --cc plat/hisilicon/hikey/hikey_bl1_setup.c index b19de053,9ede1dbc..28ad9df2 --- a/plat/hisilicon/hikey/hikey_bl1_setup.c +++ b/plat/hisilicon/hikey/hikey_bl1_setup.c @@@ -21,25 -20,9 +21,8 @@@ #include #include "../../bl1/bl1_private.h" -#include "hikey_def.h" #include "hikey_private.h" - /* - * Declarations of linker defined symbols which will help us find the layout - * of trusted RAM - */ - extern unsigned long __COHERENT_RAM_START__; - extern unsigned long __COHERENT_RAM_END__; - - /* - * The next 2 constants identify the extents of the coherent memory region. - * These addresses are used by the MMU setup code and therefore they must be - * page-aligned. It is the responsibility of the linker script to ensure that - * __COHERENT_RAM_START__ and __COHERENT_RAM_END__ linker symbols refer to - * page-aligned addresses. - */ - #define BL1_COHERENT_RAM_BASE (unsigned long)(&__COHERENT_RAM_START__) - #define BL1_COHERENT_RAM_LIMIT (unsigned long)(&__COHERENT_RAM_END__) - /* Data structure which holds the extents of the trusted RAM for BL1 */ static meminfo_t bl1_tzram_layout;