Merge git://git.denx.de/u-boot-x86

This commit is contained in:
Tom Rini
2017-04-10 08:07:29 -04:00
23 changed files with 484 additions and 9 deletions

View File

@@ -16,7 +16,6 @@
* (easy to change)
*/
#define CONFIG_SHOW_BOOT_PROGRESS
#define CONFIG_ZBOOT_32
#define CONFIG_PHYSMEM
#define CONFIG_DISPLAY_BOARDINFO_LATE
#define CONFIG_LAST_STAGE_INIT

View File

@@ -127,6 +127,26 @@ int rtc_read8(struct udevice *dev, unsigned int reg);
*/
int rtc_write8(struct udevice *dev, unsigned int reg, int val);
/**
* rtc_read16() - Read a 16-bit value from the RTC
*
* @dev: Device to read from
* @reg: Offset to start reading from
* @valuep: Place to put the value that is read
* @return 0 if OK, -ve on error
*/
int rtc_read16(struct udevice *dev, unsigned int reg, u16 *valuep);
/**
* rtc_write16() - Write a 16-bit value to the RTC
*
* @dev: Device to write to
* @reg: Register to start writing to
* @value: Value to write
* @return 0 if OK, -ve on error
*/
int rtc_write16(struct udevice *dev, unsigned int reg, u16 value);
/**
* rtc_read32() - Read a 32-bit value from the RTC
*