2 * Copyright 2011-2012 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
10 #include <linux/log2.h>
40 #define atmu_size_mask(sz) (__ilog2_u64(sz) - 1)
41 #define atmu_size_bytes(x) (1ULL << ((x & 0x3f) + 1))
43 extern void srio_init(void);
44 #ifdef CONFIG_FSL_CORENET
45 extern void srio_boot_master(int port);
46 extern void srio_boot_master_release_slave(int port);