upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
427 B
22 lines
427 B
/*
|
|
* Copyright 2015 Broadcom Corporation.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __BCM_UDC_OTG_H
|
|
#define __BCM_UDC_OTG_H
|
|
|
|
#include <common.h>
|
|
|
|
static inline void wfld_set(uintptr_t addr, uint32_t fld_val, uint32_t fld_mask)
|
|
{
|
|
writel(((readl(addr) & ~(fld_mask)) | (fld_val)), (addr));
|
|
}
|
|
|
|
static inline void wfld_clear(uintptr_t addr, uint32_t fld_mask)
|
|
{
|
|
writel((readl(addr) & ~(fld_mask)), (addr));
|
|
}
|
|
|
|
#endif
|
|
|