Lines Matching +full:bd +full:- +full:address
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2016-2017 Texas Instruments, Inc.
23 int ft_hs_disable_rng(void *fdt, bd_t *bd) in ft_hs_disable_rng() argument
48 * fdt_pack_reg - pack address and size array into the "reg"-suitable stream
50 static int fdt_pack_reg(const void *fdt, void *buf, u64 address, u64 size) in fdt_pack_reg() argument
57 *(fdt64_t *)p = cpu_to_fdt64(address); in fdt_pack_reg()
59 *(fdt32_t *)p = cpu_to_fdt32(address); in fdt_pack_reg()
68 return p - (char *)buf; in fdt_pack_reg()
71 int ft_hs_fixup_dram(void *fdt, bd_t *bd) in ft_hs_fixup_dram() argument
79 u8 temp[16]; /* Up to 64-bit address + 64-bit size */ in ft_hs_fixup_dram()
82 path = "/reserved-memory/secure_reserved"; in ft_hs_fixup_dram()
88 path = "/reserved-memory"; in ft_hs_fixup_dram()
93 subpath = "reserved-memory"; in ft_hs_fixup_dram()
100 path = "/reserved-memory"; in ft_hs_fixup_dram()
103 fdt_setprop(fdt, offs, "#address-cells", &address_cells, sizeof(address_cells)); in ft_hs_fixup_dram()
104 fdt_setprop(fdt, offs, "#size-cells", &size_cells, sizeof(size_cells)); in ft_hs_fixup_dram()
115 fdt_setprop_string(fdt, offs, "compatible", "ti,secure-memory"); in ft_hs_fixup_dram()
117 fdt_setprop(fdt, offs, "no-map", NULL, 0); in ft_hs_fixup_dram()
124 int ft_hs_fixup_dram(void *fdt, bd_t *bd) { return 0; } in ft_hs_fixup_dram() argument
127 int ft_hs_add_tee(void *fdt, bd_t *bd) in ft_hs_add_tee() argument
161 fdt_setprop_string(fdt, offs, "compatible", "linaro,optee-tz"); in ft_hs_add_tee()