1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (C) 2011-2014 Panasonic Corporation
4 // Copyright (C) 2015-2019 Socionext Inc.
8 #define SBBASE0 0x58c00100
9 #define SBBASE_BANK_ENABLE (0x00000001)
11 int uniphier_sbc_boot_is_swapped(void)
13 return !(readl(SBBASE0) & SBBASE_BANK_ENABLE);