diff options
author | Stefan Roese <sr@denx.de> | 2007-08-29 16:31:18 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-08-29 16:31:18 +0200 |
commit | 04625764cc93ce8a61625ac19d7fe2a2ceee8143 (patch) | |
tree | 9513a16e31c18c42bd5069ba83623a796e10906f | |
parent | 9c02defc29b57945b600714cf61ddfd02b02fb14 (diff) | |
download | u-boot-imx-04625764cc93ce8a61625ac19d7fe2a2ceee8143.zip u-boot-imx-04625764cc93ce8a61625ac19d7fe2a2ceee8143.tar.gz u-boot-imx-04625764cc93ce8a61625ac19d7fe2a2ceee8143.tar.bz2 |
ppc4xx: Change lwmon5 default environment to support Linux RTC
The Linux PCF8563 RTC driver doesn't do autoprobing, so we need
to supply the RTC I2C address as bootline parameter. This patch
adds support for this rtc probing parameter to the bootargs:
"rtc-pcf8563.probe=0,0x51"
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | include/configs/lwmon5.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h index be48324..50df848 100644 --- a/include/configs/lwmon5.h +++ b/include/configs/lwmon5.h @@ -200,12 +200,13 @@ "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}" \ ":${hostname}:${netdev}:off panic=1\0" \ "addtty=setenv bootargs ${bootargs} console=ttyS1,${baudrate}\0"\ - "flash_nfs=run nfsargs addip addtty;" \ + "addmisc=setenv bootargs ${bootargs} rtc-pcf8563.probe=0,0x51\0"\ + "flash_nfs=run nfsargs addip addtty addmisc;" \ "bootm ${kernel_addr}\0" \ - "flash_self=run ramargs addip addtty;" \ + "flash_self=run ramargs addip addtty addmisc;" \ "bootm ${kernel_addr} ${ramdisk_addr}\0" \ - "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;" \ - "bootm\0" \ + "net_nfs=tftp 200000 ${bootfile};" \ + "run nfsargs addip addtty addmisc;bootm\0" \ "rootpath=/opt/eldk/ppc_4xxFP\0" \ "bootfile=/tftpboot/lwmon5/uImage\0" \ "kernel_addr=FC000000\0" \ |