mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-26 20:09:02 +09:00
14 lines
269 B
C
14 lines
269 B
C
![]() |
// SPDX-License-Identifier: GPL-2.0+
|
||
|
//
|
||
|
// Copyright (C) 2011-2014 Panasonic Corporation
|
||
|
// Copyright (C) 2015-2019 Socionext Inc.
|
||
|
|
||
|
#include <linux/io.h>
|
||
|
|
||
|
#include "sbc-regs.h"
|
||
|
|
||
|
int uniphier_sbc_boot_is_swapped(void)
|
||
|
{
|
||
|
return !(readl(SBBASE0) & SBBASE_BANK_ENABLE);
|
||
|
}
|