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.
 
 
 
 
 
 
u-boot/arch/arm/mach-at91/include/mach/at91_sck.h

21 lines
580 B

/*
* Copyright (C) 2016 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef AT91_SCK_H
#define AT91_SCK_H
/*
* SCKCR flags
*/
#define AT91SAM9G45_SCKCR_RCEN (1 << 0) /* RC Oscillator Enable */
#define AT91SAM9G45_SCKCR_OSC32EN (1 << 1) /* 32kHz Oscillator Enable */
#define AT91SAM9G45_SCKCR_OSC32BYP (1 << 2) /* 32kHz Oscillator Bypass */
#define AT91SAM9G45_SCKCR_OSCSEL (1 << 3) /* Slow Clock Selector */
#define AT91SAM9G45_SCKCR_OSCSEL_RC (0 << 3)
#define AT91SAM9G45_SCKCR_OSCSEL_32 (1 << 3)
#endif