mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
ppc: qemu: Enable RTC support via I2C
The QEMU ppce500 target integrates a Freescale I2C controller and has a Pericom pt7c4338 RTC connected to it. Enable corresponding DM drivers so that 'date' command is actually useful. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
037b17d29c
commit
9a39f76c7a
2 changed files with 6 additions and 0 deletions
|
@ -31,11 +31,14 @@ CONFIG_DM=y
|
|||
CONFIG_BLK=y
|
||||
CONFIG_HAVE_BLOCK_DEVICE=y
|
||||
CONFIG_MPC8XXX_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_FSL=y
|
||||
# CONFIG_MMC is not set
|
||||
CONFIG_DM_ETH=y
|
||||
CONFIG_E1000=y
|
||||
CONFIG_DM_PCI=y
|
||||
CONFIG_PCI_MPC85XX=y
|
||||
CONFIG_DM_RTC=y
|
||||
CONFIG_DM_SERIAL=y
|
||||
CONFIG_SYS_NS16550=y
|
||||
CONFIG_SYSRESET=y
|
||||
|
|
|
@ -73,6 +73,9 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
|
|||
|
||||
#define CONFIG_LBA48
|
||||
|
||||
/* RTC */
|
||||
#define CONFIG_RTC_PT7C4338
|
||||
|
||||
/*
|
||||
* Environment
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue