1*c76e0d13SYatharth Kochar /* 2*c76e0d13SYatharth Kochar * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. 3*c76e0d13SYatharth Kochar * 4*c76e0d13SYatharth Kochar * Redistribution and use in source and binary forms, with or without 5*c76e0d13SYatharth Kochar * modification, are permitted provided that the following conditions are met: 6*c76e0d13SYatharth Kochar * 7*c76e0d13SYatharth Kochar * Redistributions of source code must retain the above copyright notice, this 8*c76e0d13SYatharth Kochar * list of conditions and the following disclaimer. 9*c76e0d13SYatharth Kochar * 10*c76e0d13SYatharth Kochar * Redistributions in binary form must reproduce the above copyright notice, 11*c76e0d13SYatharth Kochar * this list of conditions and the following disclaimer in the documentation 12*c76e0d13SYatharth Kochar * and/or other materials provided with the distribution. 13*c76e0d13SYatharth Kochar * 14*c76e0d13SYatharth Kochar * Neither the name of ARM nor the names of its contributors may be used 15*c76e0d13SYatharth Kochar * to endorse or promote products derived from this software without specific 16*c76e0d13SYatharth Kochar * prior written permission. 17*c76e0d13SYatharth Kochar * 18*c76e0d13SYatharth Kochar * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19*c76e0d13SYatharth Kochar * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20*c76e0d13SYatharth Kochar * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21*c76e0d13SYatharth Kochar * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22*c76e0d13SYatharth Kochar * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23*c76e0d13SYatharth Kochar * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*c76e0d13SYatharth Kochar * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*c76e0d13SYatharth Kochar * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26*c76e0d13SYatharth Kochar * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*c76e0d13SYatharth Kochar * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28*c76e0d13SYatharth Kochar * POSSIBILITY OF SUCH DAMAGE. 29*c76e0d13SYatharth Kochar */ 30*c76e0d13SYatharth Kochar 31*c76e0d13SYatharth Kochar #include <bl_common.h> 32*c76e0d13SYatharth Kochar #include <debug.h> 33*c76e0d13SYatharth Kochar #include <plat_arm.h> 34*c76e0d13SYatharth Kochar #include <soc_css.h> 35*c76e0d13SYatharth Kochar 36*c76e0d13SYatharth Kochar void bl1_platform_setup(void) 37*c76e0d13SYatharth Kochar { 38*c76e0d13SYatharth Kochar arm_bl1_platform_setup(); 39*c76e0d13SYatharth Kochar /* 40*c76e0d13SYatharth Kochar * Do ARM CSS SoC security setup. 41*c76e0d13SYatharth Kochar * BL1 needs to enable normal world access to memory. 42*c76e0d13SYatharth Kochar */ 43*c76e0d13SYatharth Kochar soc_css_security_setup(); 44*c76e0d13SYatharth Kochar } 45*c76e0d13SYatharth Kochar 46