rtc: add support for Micro Crystal RV-3029-C2 RTC
PATCH 1/2 rtc: add support for Micro Crystal RV-3029-C2 RTC
--- drivers/rtc/Makefile | 1 + drivers/rtc/rv3029.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 0 deletions(-) create mode 100644 drivers/rtc/rv3029.c
drivers/rtc/Makefile +1 -0
@@ -60,6 +60,7 @@ COBJS-$(CONFIG_RTC_PL031) += pl031.o COBJS-$(CONFIG_RTC_PT7C4338) += pt7c4338.o COBJS-$(CONFIG_RTC_RS5C372A) += rs5c372.o COBJS-$(CONFIG_RTC_RTC4543) += rtc4543.o +COBJS-$(CONFIG_RTC_RV3029) += rv3029.o COBJS-$(CONFIG_RTC_RX8025) += rx8025.o COBJS-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o COBJS-$(CONFIG_RTC_S3C44B0) += s3c44b0_rtc.o
drivers/rtc/rv3029.c new file +124 -0
124 lines not on this page · raw message
Signature · 1 line
1.7.3.4
PATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
difference to previous board version:
- M29W128GH flash from Numonyx
- SDRAM ISSI IS45S16800 (Option A2 105?C)
- rev5 uses RTC RV-3029-C2
- update cs0 and cs1 baseaddr and length depending on the detected flash size.
- added Werner Pfister <[email protected]> as maintainer for the digsy board variants
- As the M29W128GH needs a special flash_cmd_reset() document that in the new file doc/README.cfi.
--- MAINTAINERS | 4 ++ board/digsy_mtc/digsy_mtc.c | 102 +++++++++++++++++++++++++++++++++++++++- board/digsy_mtc/is45s16800a2.h | 27 +++++++++++ boards.cfg | 3 + doc/README.cfi | 15 ++++++ include/configs/digsy_mtc.h | 27 +++++++++- 6 files changed, 173 insertions(+), 5 deletions(-) create mode 100644 board/digsy_mtc/is45s16800a2.h create mode 100644 doc/README.cfi
MAINTAINERS +4 -0
@@ -340,6 +340,10 @@ Denis Peter <[email protected]> MIP405 PPC4xx PIP405 PPC4xx +Werner Pfister <[email protected]> + digsy_mtc mpc5200 + digsy_mtc_rev5 mpc5200 + Kim Phillips <[email protected]> MPC8349EMDS MPC8349
board/digsy_mtc/digsy_mtc.c +100 -2
130 lines not on this page · raw message
board/digsy_mtc/is45s16800a2.h new file +27 -0
@@ -0,0 +1,27 @@ +/* +* (C) Copyright 2004-2009 +* Mark Jonas, Freescale Semiconductor, mark.jonas at motorola.com. +* +* See file CREDITS for list of people who contributed to this +* project. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +*/ + +#define SDRAM_MODE 0x00CD0000 +#define SDRAM_CONTROL 0x50470000 +#define SDRAM_CONFIG1 0xD2322900 +#define SDRAM_CONFIG2 0x8AD70000
boards.cfg +3 -0
@@ -241,6 +241,9 @@ cm5200 powerpc mpc5xxx digsy_mtc powerpc mpc5xxx digsy_mtc digsy_mtc_LOWBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0xFF000000 digsy_mtc_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000 +digsy_mtc_rev5 powerpc mpc5xxx digsy_mtc - - digsy_mtc:DIGSY_REV5 +digsy_mtc_rev5_LOWBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0xFF000000,DIGSY_REV5 +digsy_mtc_rev5_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000,DIGSY_REV5 galaxy5200 powerpc mpc5xxx galaxy5200 - - galaxy5200:galaxy5200 galaxy5200_LOWBOOT powerpc mpc5xxx galaxy5200 - - galaxy5200:galaxy5200_LOWBOOT icecube_5200 powerpc mpc5xxx icecube - - IceCube
doc/README.cfi new file +15 -0
@@ -0,0 +1,15 @@ +known issues: + +using M29W128GH from Numonyx: + +You need to add a board specific flash_cmd_reset() function +for this chip to work correctly. Something like this should +work (tested on the digsy_mtc board): + +void flash_cmd_reset(flash_info_t *info) +{ + flash_write_cmd(info, 0, 0, AMD_CMD_RESET); +} + +see also: +http://www.mail-archive.com/u-boot at lists.denx.de/msg24368.html
include/configs/digsy_mtc.h +24 -3
@@ -249,9 +249,14 @@/* * RTC configuration */ +#if defined(CONFIG_DIGSY_REV5 ) +#define CONFIG_SYS_I2C_RTC_ADDR 0x56 +#define CONFIG_RTC_RV3029 +#else #define CONFIG_RTC_DS1337 #define CONFIG_SYS_I2C_RTC_ADDR 0x68#define CONFIG_SYS_DS1339_TCR_VAL 0xAB/* diode + 4k resistor */ +#endif /* * Flash configuration
@@ -259,14 +264,24 @@#define CONFIG_SYS_FLASH_CFI 1#define CONFIG_FLASH_CFI_DRIVER 1 +#if defined(CONFIG_DIGSY_REV5 ) +#define CONFIG_SYS_FLASH_BASE 0xFE000000 +#define CONFIG_SYS_FLASH_BASE_CS1 0xFC000000 +#define CONFIG_SYS_MAX_FLASH_BANKS 2 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE_CS1, \ + CONFIG_SYS_FLASH_BASE} +#define CONFIG_SYS_UPDATE_FLASH_SIZE +#define CONFIG_FDT_FIXUP_NOR_FLASH_SIZE +#else #define CONFIG_SYS_FLASH_BASE 0xFF000000 -#define CONFIG_SYS_FLASH_SIZE 0x01000000 -#define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE } +#endif +#define CONFIG_SYS_MAX_FLASH_SECT 256#define CONFIG_FLASH_16BIT #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT -#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE } +#define CONFIG_SYS_FLASH_SIZE 0x01000000#define CONFIG_SYS_FLASH_ERASE_TOUT 240000#define CONFIG_SYS_FLASH_WRITE_TOUT 500
@@ -409,6 +424,12 @@#define CONFIG_SYS_CS0_SIZE CONFIG_SYS_FLASH_SIZE#define CONFIG_SYS_CS0_CFG 0x0002DD00 +#if defined(CONFIG_DIGSY_REV5 ) +#define CONFIG_SYS_CS1_START CONFIG_SYS_FLASH_BASE_CS1 +#define CONFIG_SYS_CS1_SIZE CONFIG_SYS_FLASH_SIZE +#define CONFIG_SYS_CS1_CFG 0x0002DD00 +#endif +#define CONFIG_SYS_CS_BURST 0x00000000#define CONFIG_SYS_CS_DEADCYCLE 0x11111111
Signature · 1 line
1.7.3.4
PATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
Dear Heiko Schocher,
Quoted 1 line · In message <[email protected]> you wrote:
Global question: do we really need an CONFIG_DIGSY_REV5? Is there not a way to determine the revision by probing the hardware? For example, the RTC's show up at different addresses on the bus - but ther emight be even easier ways?
Quoted 4 lines
board/digsy_mtc/digsy_mtc.c +0
-0
....
Quoted 2 lines
#endif /*
CONFIG_IDE_RESET*/
+#endif /*CONFIG_CMD_IDE*/
This looks wrong to me. You did not add a matching "#if" or "#ifdef" anywhere?
Quoted 18 lines
board/digsy_mtc/digsy_mtc.c +18
-0+/* Update the Flash Baseaddr settings */ +int update_flash_size (int flash_size) +{ +volatile struct mpc5xxx_mmap_ctl *mm = + (struct mpc5xxx_mmap_ctl *)CONFIG_SYS_MBAR ; +flash_info_t *dev; +int i; +int size =0 ; +unsigned long base =0x0 ; +u32 *cs_reg = (u32 *)&mm->cs0_start; + +for (i =0 ; i <2 ; i++) { + dev = &flash_info[i]; + +if (dev->size) { +/* calculate new base addr for this chipselect */ + base -= dev->size; +out_be32 (cs_reg,START_REG (base));
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 396
Quoted 10 lines
board/digsy_mtc/digsy_mtc.c +10
-0+ cs_reg++; +out_be32 (cs_reg,STOP_REG (base, dev->size)); + cs_reg++; +/* recalculate the sectoraddr in the cfi driver */ + size +=flash_get_size (base, i); + } + } +#if defined(CONFIG_DIGSY_REV5 ) + gd->bd->bi_flashstart = base; +#endif
Why is this #if needed? Why not always set bi_flashstart ?
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 409
Quoted 9 lines
void
ft_board_setup(void *blob, bd_t *bd)
{board/digsy_mtc/digsy_mtc.c +6
-0ft_cpu_setup (blob, bd); +/* remove RTC */ +#if defined(CONFIG_DIGSY_REV5 ) +ft_delete_node (blob,"dallas,ds1339" ); +#else +ft_delete_node (blob,"mc,rv3029c2" ); +#endif
You should add a comment here what you are doing, and why.
ft_delete_node() returns int - why do you ignore the return codes?
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 412
Quoted 3 lines
board/digsy_mtc/digsy_mtc.c +3
-0+#if defined(CONFIG_SYS_UPDATE_FLASH_SIZE ) +ft_adapt_flash_base (blob); +#endif
ft_adapt_flash_base() returns int - why do you ignore the return code?
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 316
Quoted 4 lines
}
#endif /*defined(CONFIG_OF_LIBFDT)&&defined(CONFIG_OF_BOARD_SETUP)*/board/digsy_mtc/digsy_mtc.c +0
-2- -#endif /* CONFIG_CMD_IDE */
Ah! So this is a bug fix?
board/digsy_mtc/is45s16800a2.h line 3
Quoted 9 lines
board/digsy_mtc/is45s16800a2.h new file +3
-0@@ -0,0 +1,27 @@ +/* +* (C) Copyright 2004-2009 +* Mark Jonas, Freescale Semiconductor, mark.jonas at motorola.com.
Are you sure that Mark wrote any of this code?
boards.cfg cm5200 powerpc mpc5xxx · line 246
Quoted 11 lines
boards.cfg +3
-0@@ -241,6 +241,9 @@ cm5200 powerpc mpc5xxx digsy_mtc powerpc mpc5xxx digsy_mtc digsy_mtc_LOWBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0xFF000000 digsy_mtc_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000 +digsy_mtc_rev5 powerpc mpc5xxx digsy_mtc - - digsy_mtc:DIGSY_REV5 +digsy_mtc_rev5_LOWBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0xFF000000,DIGSY_REV5 +digsy_mtc_rev5_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000,DIGSY_REV5
Do we really need all these 6 configurations for the digsy_mtc board? Are all of them actively being used?
Quoted 8 lines
doc/README.cfi new file +2
-0@@ -0,0 +1,15 @@ +known issues: +
doc/README.cfi line 12
Quoted 10 lines
doc/README.cfi new file +10
-0+using M29W128GH from Numonyx: + +You need to add a board specific flash_cmd_reset() function +for this chip to work correctly. Something like this should +work (tested on the digsy_mtc board): + +void flash_cmd_reset(flash_info_t *info) +{ + flash_write_cmd(info, 0, 0, AMD_CMD_RESET); +}
Stefan, can you please send an explicit ACK for this part?
Quoted 5 lines
doc/README.cfi new file +5
-0+#if defined(CONFIG_DIGSY_REV5) +#define CONFIG_SYS_FLASH_BASE 0xFE000000 +#define CONFIG_SYS_FLASH_BASE_CS1 0xFC000000 +#define CONFIG_SYS_MAX_FLASH_BANKS 2 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE_CS1, \
doc/README.cfi
Quoted 10 lines
doc/README.cfi new file +6
-2+ CONFIG_SYS_FLASH_BASE} +#define CONFIG_SYS_UPDATE_FLASH_SIZE +#define CONFIG_FDT_FIXUP_NOR_FLASH_SIZE +#else #define CONFIG_SYS_FLASH_BASE 0xFF000000 -#define CONFIG_SYS_FLASH_SIZE 0x01000000 - #define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE } +#endif
Is this really needed? I understand you map the flash at the end of the address space? I used to use code like this in similar situations:
#define CONFIG_SYS_FLASH_BASE (0-flash_info[0].size)
This will auto-adjust depending on the actual size of the flash, and avoids all these ifdef's. Maybe you can do something similar?
Best regards,
Wolfgang Denk
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The good Christian should beware of mathematicians and all those who make empty prophecies. The danger already exists that mathematicians have made a covenant with the devil to darken the spirit and confine man in the bonds of Hell." - Saint Augustine
PATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
Hello Wolfgang,
Quoted 6 lines · Wolfgang Denk
In message <[email protected]> you wrote:
Global question: do we really need an
CONFIG_DIGSY_REV5? Is there not a way to determine the revision by probing the hardware? For example, the RTC's show up at different addresses on the bus - but ther emight be even easier ways?
Good question ... as I know, there is no possibility to detect the hardware on an other way then over the RTC ... and I don;t want to go this way ... what if the RTC is not responding?
Quoted 10 lines
Quoted 4 lines
board/digsy_mtc/digsy_mtc.c +0
-0....
Quoted 2 lines
#endif /*
CONFIG_IDE_RESET*/
+#endif /*CONFIG_CMD_IDE*/This looks wrong to me. You did not add a matching "#if" or "#ifdef" anywhere?
The "#endif" is actual on the wrong place ...
Quoted 22 lines
Quoted 22 lines
board/digsy_mtc/digsy_mtc.c +22
-0+/* Update the Flash Baseaddr settings */ +int update_flash_size (int flash_size) +{ +volatile struct mpc5xxx_mmap_ctl *mm = + (struct mpc5xxx_mmap_ctl *)CONFIG_SYS_MBAR ; +flash_info_t *dev; +int i; +int size =0 ; +unsigned long base =0x0 ; +u32 *cs_reg = (u32 *)&mm->cs0_start; + +for (i =0 ; i <2 ; i++) { + dev = &flash_info[i]; + +if (dev->size) { +/* calculate new base addr for this chipselect */ + base -= dev->size; +out_be32 (cs_reg,START_REG (base)); + cs_reg++; +out_be32 (cs_reg,STOP_REG (base, dev->size)); + cs_reg++; +/* recalculate the sectoraddr in the cfi driver */
Quoted 8 lines
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 396
Quoted 6 lines
board/digsy_mtc/digsy_mtc.c +6
-0+ size +=flash_get_size (base, i); + } + } +#if defined(CONFIG_DIGSY_REV5 ) + gd->bd->bi_flashstart = base; +#endif Why is this #if needed? Why not always set
bi_flashstart?
It is set in arch/powerpc/lib/board.c before calling update_flash_size(), so this adaption is only needed, if the baseaddr is changing on different flash sizes, what is valid for the rev5 board ...
Quoted 11 lines
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 409
Quoted 9 lines
void
ft_board_setup(void *blob, bd_t *bd)
{board/digsy_mtc/digsy_mtc.c +6
-0ft_cpu_setup (blob, bd); +/* remove RTC */ +#if defined(CONFIG_DIGSY_REV5 ) +ft_delete_node (blob,"dallas,ds1339" ); +#else +ft_delete_node (blob,"mc,rv3029c2" ); +#endif You should add a comment here what you are doing, and why.
Ok, you are right. (In the DTS there are two RTC nodes defined, and this code removes the not existing one in the dts)
Quoted 1 line
ft_delete_node()returns int - why do you ignore the return codes?
You are right, add a warning, thanks.
Quoted 5 lines
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 412
Quoted 3 lines
board/digsy_mtc/digsy_mtc.c +3
-0+#if defined(CONFIG_SYS_UPDATE_FLASH_SIZE ) +ft_adapt_flash_base (blob); +#endif
ft_adapt_flash_base()returns int - why do you ignore the return code?
Yep, add here also a warning.
Quoted 6 lines
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 316
Quoted 4 lines
}
#endif /*defined(CONFIG_OF_LIBFDT)&&defined(CONFIG_OF_BOARD_SETUP)*/board/digsy_mtc/digsy_mtc.c +0
-2- -#endif /* CONFIG_CMD_IDE */ Ah! So this is a bug fix?
Yep. Should I seperate this in an extra patch?
Quoted 11 lines
board/digsy_mtc/is45s16800a2.h line 3
Quoted 9 lines
board/digsy_mtc/is45s16800a2.h new file +3
-0@@ -0,0 +1,27 @@ +/* +* (C) Copyright 2004-2009 +* Mark Jonas, Freescale Semiconductor, mark.jonas at motorola.com. Are you sure that Mark wrote any of this code?
No, I just copied this from board/digsy_mtc/is42s16800a-7t.h, so add my name to it.
Quoted 6 lines
Quoted 6 lines
boards.cfg +0
-0@@ -241,6 +241,9 @@ cm5200 powerpc mpc5xxx digsy_mtc powerpc mpc5xxx digsy_mtc
Quoted 8 lines
boards.cfg cm5200 powerpc mpc5xxx · line 246
Quoted 5 lines
boards.cfg +3
-0digsy_mtc_LOWBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0xFF000000 digsy_mtc_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000 +digsy_mtc_rev5 powerpc mpc5xxx digsy_mtc - - digsy_mtc:DIGSY_REV5 +digsy_mtc_rev5_LOWBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0xFF000000,DIGSY_REV5 +digsy_mtc_rev5_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000,DIGSY_REV5Do we really need all these 6 configurations for the
digsy_mtcboard? Are all of them actively being used?
Good question, I just used digsy_mtc_rev5, digsy_mtc_rev5_RAMBOOT, maybe the LOWBOOT case could be deleted.
Quoted 42 lines
Quoted 8 lines
doc/README.cfi new file +2
-0@@ -0,0 +1,15 @@ +known issues: +doc/README.cfi line 12
Quoted 10 lines
doc/README.cfi new file +10
-0+using M29W128GH from Numonyx: + +You need to add a board specific flash_cmd_reset() function +for this chip to work correctly. Something like this should +work (tested on the digsy_mtc board): + +void flash_cmd_reset(flash_info_t *info) +{ + flash_write_cmd(info, 0, 0, AMD_CMD_RESET); +}Stefan, can you please send an explicit ACK for this part?
Quoted 5 lines
doc/README.cfi new file +5
-0+#if defined(CONFIG_DIGSY_REV5) +#define CONFIG_SYS_FLASH_BASE 0xFE000000 +#define CONFIG_SYS_FLASH_BASE_CS1 0xFC000000 +#define CONFIG_SYS_MAX_FLASH_BANKS 2 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE_CS1, \doc/README.cfi
Quoted 10 lines
doc/README.cfi new file +6
-2+ CONFIG_SYS_FLASH_BASE} +#define CONFIG_SYS_UPDATE_FLASH_SIZE +#define CONFIG_FDT_FIXUP_NOR_FLASH_SIZE +#else #define CONFIG_SYS_FLASH_BASE 0xFF000000 -#define CONFIG_SYS_FLASH_SIZE 0x01000000 - #define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE } +#endifIs this really needed? I understand you map the flash at the end of the address space? I used to use code like this in similar situations:
Quoted 4 lines
#define CONFIG_SYS_FLASH_BASE (0-flash_info[0].size)This will auto-adjust depending on the actual size of the flash, and avoids all these ifdef's. Maybe you can do something similar?
Hmm.. I have only one flash on the !rev5 board, so I need this differentiation here, or?
Hmm.. after looking in code, can your proposal work?:
Is flash_info[0].size valid, when the cfi driver detects the flash?
I see in drivers/mtd/cfi_flash.c:
flash_info_t flash_info[CFI_MAX_FLASH_BANKS]; /* FLASH chips info */
[...]
static phys_addr_t __cfi_flash_bank_addr(int i)
{
return ((phys_addr_t [])CONFIG_SYS_FLASH_BANKS_LIST)[i];
}
[...]
ulong flash_get_size (phys_addr_t base, int banknum)
{
flash_info_t *info = &flash_info[banknum];
[...]
info->start[0] = (ulong)map_physmem(base, info->portwidth, MAP_NOCACHE);
if (flash_detect_cfi (info, &qry)) {[...]
unsigned long flash_init (void)
[...]
if (!flash_detect_legacy(cfi_flash_bank_addr(i), i))
flash_get_size(cfi_flash_bank_addr(i), i);
and flash_info[0].size is initialized only in flash_get_size() after detecting the flash (so, after accessing it with base = 0-flash_info[0].size)... that must fail, or did I miss something?
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
PATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
Dear Heiko Schocher,
Quoted 9 lines · In message <[email protected]> you wrote:
Quoted 5 lines
Global question: do we really need an
CONFIG_DIGSY_REV5? Is there not a way to determine the revision by probing the hardware? For example, the RTC's show up at different addresses on the bus - but ther emight be even easier ways?Good question ... as I know, there is no possibility to detect the hardware on an other way then over the RTC ... and I don;t want to go this way ... what if the RTC is not responding?
Maybe you can ask the hardware guys again?
Quoted 20 lines
Quoted 11 lines
Quoted 11 lines
board/digsy_mtc/digsy_mtc.c +11
-0+for (i =0 ; i <2 ; i++) { + dev = &flash_info[i]; + +if (dev->size) { +/* calculate new base addr for this chipselect */ + base -= dev->size; +out_be32 (cs_reg,START_REG (base)); + cs_reg++; +out_be32 (cs_reg,STOP_REG (base, dev->size)); + cs_reg++; +/* recalculate the sectoraddr in the cfi driver */ Quoted 8 lines
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 396
Quoted 6 lines
board/digsy_mtc/digsy_mtc.c +6
-0+ size +=flash_get_size (base, i); + } + } +#if defined(CONFIG_DIGSY_REV5 ) + gd->bd->bi_flashstart = base; +#endif Why is this #if needed? Why not always set
bi_flashstart?
Quoted 3 lines
It is set in
arch/powerpc/lib/board.cbefore callingupdate_flash_size(), so this adaption is only needed, if the baseaddr is changing on different flash sizes, what is valid for the rev5 board ...
It may not be needed, but I think it should compute the same result, so you should be able to omit the "#if" and the "#endif".
If you should compute a different result, then I'd wonder if the code is actually correct?
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
-#endif /*
CONFIG_CMD_IDE*/Ah! So this is a bug fix?
Yep. Should I seperate this in an extra patch?
At least mention it in the commit message.
Quoted 2 lines
Hmm.. I have only one flash on the !rev5 board, so I need this differentiation here, or?
Yes.
Quoted 2 lines
Hmm.. after looking in code, can your proposal work?:
Is flash_info[0].size valid, when the cfi driver detects the flash?
For the probing, a temporary address can be used. You set up the final mapping only after the sizes are knows, similar to what we do when we have several banks of RAM.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de People are always a lot more complicated than you think. It's very important to remember that. - Terry Pratchett, _Truckers_
PATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
Hi Wolfgang,
Quoted 9 lines
Dear Heiko Schocher,
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 5 lines
Global question: do we really need an
CONFIG_DIGSY_REV5? Is there not a way to determine the revision by probing the hardware? For example, the RTC's show up at different addresses on the bus - but ther emight be even easier ways?
Quoted 5 lines
Quoted 3 lines
Good question ... as I know, there is no possibility to detect the hardware on an other way then over the RTC ... and I don;t want to go this way ... what if the RTC is not responding?
Maybe you can ask the hardware guys again?
We did this and we are sure that there is no better way.
Cheers
Detlev
Signature · 8 lines
When you loosen yourself from all the obvious delusions - religion,
ideology, Communism - you're still left with the myth of your own
goodness. Which is the final delusion.
-- Philip Roth
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.dePATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
In reply to Wolfgang DenkHello Wolfgang,
Quoted 10 lines · Wolfgang Denk
Quoted 7 lines · In message <[email protected]> you wrote:
Quoted 4 lines
Global question: do we really need an
CONFIG_DIGSY_REV5? Is there not a way to determine the revision by probing the hardware? For example, the RTC's show up at different addresses on the bus - but ther emight be even easier ways?Good question ... as I know, there is no possibility to detect the hardware on an other way then over the RTC ... and I don;t want to go this way ... what if the RTC is not responding?
Maybe you can ask the hardware guys again?
Ok. done. As Detlev mentioned in the meantime the "LOWBOOT" cases can be removed, done.
Quoted 22 lines
Quoted 18 lines
Quoted 10 lines
Quoted 10 lines
board/digsy_mtc/digsy_mtc.c +10
-0+for (i =0 ; i <2 ; i++) { + dev = &flash_info[i]; + +if (dev->size) { +/* calculate new base addr for this chipselect */ + base -= dev->size; +out_be32 (cs_reg,START_REG (base)); + cs_reg++; +out_be32 (cs_reg,STOP_REG (base, dev->size)); + cs_reg++;Quoted 8 lines
board/digsy_mtc/digsy_mtc.c void ide_set_reset(int idereset) · line 396
Quoted 7 lines
board/digsy_mtc/digsy_mtc.c +7
-0+/* recalculate the sectoraddr in the cfi driver */ + size +=flash_get_size (base, i); + } + } +#if defined(CONFIG_DIGSY_REV5 ) + gd->bd->bi_flashstart = base; +#endif Why is this #if needed? Why not always set
bi_flashstart?Quoted 3 lines
It is set in
arch/powerpc/lib/board.cbefore callingupdate_flash_size(), so this adaption is only needed, if the baseaddr is changing on different flash sizes, what is valid for the rev5 board ...
Quoted 5 lines
It may not be needed, but I think it should compute the same result, so you should be able to omit the "#if" and the "#endif".
If you should compute a different result, then I'd wonder if the code is actually correct?
Yep, you are right, the "#if ... #endif" is not needed here.
Quoted 5 lines
Quoted 3 lines
Quoted 2 lines
Quoted 1 line
-#endif /*
CONFIG_CMD_IDE*/Ah! So this is a bug fix?
Yep. Should I seperate this in an extra patch?
At least mention it in the commit message.
Ok, add this to the commit message.
Quoted 11 lines
Quoted 2 lines
Hmm.. I have only one flash on the !rev5 board, so I need this differentiation here, or?
Yes.
Quoted 2 lines
Hmm.. after looking in code, can your proposal work?:
Is flash_info[0].size valid, when the cfi driver detects the flash?For the probing, a temporary address can be used. You set up the final mapping only after the sizes are knows, similar to what we do when we have several banks of RAM.
But thats exactly what I do with the defines in include/configs/digsy_mtc.h
#define CONFIG_SYS_FLASH_BASE 0xFE000000
#define CONFIG_SYS_FLASH_BASE_CS1 0xFC000000
#define CONFIG_SYS_MAX_FLASH_BANKS 2
#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE_CS1, \
CONFIG_SYS_FLASH_BASE}and after detecting the real size through the cfi driver on this temporary addresses, the flash_info gets updated with the new baseaddr through the call:
int update_flash_size (int flash_size)
[...]
if (dev->size) {
/* calculate new base addr for this chipselect */
base -= dev->size;
[...]
/* recalculate the sectoraddr in the cfi driver */
size += flash_get_size(base, i);so after that, flash_info has the right values and I update the chip selects in board specific code ...
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
PATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
Dear Heiko Schocher,
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 2 lines
Maybe you can ask the hardware guys again?
Ok. done. As Detlev mentioned in the meantime the "LOWBOOT" cases can be removed, done.
Thanks.
Quoted 5 lines
Quoted 3 lines
For the probing, a temporary address can be used. You set up the final mapping only after the sizes are knows, similar to what we do when we have several banks of RAM.
But thats exactly what I do with the defines in
include/configs/digsy_mtc.h
Ah, OK. did not notice that.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Use C++ to confuse your enemies; use C to produce stable code.
PATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
In reply to Heiko SchocherHello Heiko,
[...]
Quoted 19 lines
Quoted 10 lines
Quoted 10 lines
boards.cfg +0
-0@@ -241,6 +241,9 @@ cm5200 powerpc mpc5xxx digsy_mtc powerpc mpc5xxx digsy_mtc digsy_mtc_LOWBOOT powerpc mpc5xxx digsy_mtc - -digsy_mtc:SYS_TEXT_BASE=0xFF000000
digsy_mtc_RAMBOOTpowerpc mpc5xxxdigsy_mtc- -
digsy_mtc:SYS_TEXT_BASE=0x00100000Quoted 8 lines
Quoted 5 lines
boards.cfg +2
-0+digsy_mtc_rev5 powerpc mpc5xxx digsy_mtc - - digsy_mtc:DIGSY_REV5 +digsy_mtc_rev5_LOWBOOT powerpc mpc5xxx digsy_mtc - -digsy_mtc:SYS_TEXT_BASE=0xFF000000,DIGSY_REV5 +digsy_mtc_rev5_RAMBOOT powerpc mpc5xxx
digsy_mtc- - digsy_mtc:SYS_TEXT_BASE=0x00100000,DIGSY_REV5Do we really need all these 6 configurations for the
digsy_mtcboard? Are all of them actively being used?
Quoted 2 lines
Good question, I just used
digsy_mtc_rev5,digsy_mtc_rev5_RAMBOOT, maybe the LOWBOOT case could be deleted.
Yes, the LOWBOOT cases can be removed. The hardware can not be configured in a way to use them.
Cheers
Detlev
Signature · 8 lines
We can forgive a man for making a useful thing as long as he does not
admire it. The only excuse for making a useless thing is that one
admires it intensely.
--- Oscar Wilde
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.dePATCH 2/2 mpc5200, digsy_mtc: add support for rev5 board version
In reply to Wolfgang DenkHi Wolfgang & Heiko,
Quoted 12 lines · On Wednesday 12 January 2011 08:59:20 Wolfgang Denk wrote:
Quoted 12 lines
doc/README.cfi new file +6
-0@@ -0,0 +1,15 @@ +known issues: + +using M29W128GH from Numonyx: + +You need to add a board specific flash_cmd_reset() function +for this chip to work correctly. Something like this should
Quoted 8 lines
doc/README.cfi line 12
Quoted 6 lines
doc/README.cfi new file +6
-0+work (tested on the digsy_mtc board): + +void flash_cmd_reset(flash_info_t *info) +{ + flash_write_cmd(info, 0, 0, AMD_CMD_RESET); +}Stefan, can you please send an explicit ACK for this part?
If we put something like this into this new README, we should make the description a bit better. Something like:
--- <snip> ---
The common CFI driver provides this weak default implementation for flash_cmd_reset():
void __flash_cmd_reset(flash_info_t *info)
{
/*
* We do not yet know what kind of commandset to use, so we issue
* the reset command in both Intel and AMD variants, in the hope
* that AMD flash roms ignore the Intel command.
*/
flash_write_cmd(info, 0, 0, AMD_CMD_RESET);
flash_write_cmd(info, 0, 0, FLASH_CMD_RESET);
}
void flash_cmd_reset(flash_info_t *info)
__attribute__((weak,alias("__flash_cmd_reset")));Some flash chips seems to have trouble with this reset sequence. In this case the board specific code can override this weak default version with a board specific function. For example the digsy_mtc board equipped with the M29W128GH from Numonyx needs this version to function properly:
void flash_cmd_reset(flash_info_t *info)
{
flash_write_cmd(info, 0, 0, AMD_CMD_RESET);
}--- <snip> ---
Heiko, if nobody objects then please include this version into your next patch version. Here my:
Thanks.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
PATCH v2 2/2 mpc5200, digsy_mtc: add support for rev5 board version
In reply to Heiko Schocherdifference to previous board version:
- M29W128GH flash from Numonyx
- SDRAM ISSI IS45S16800 (Option A2 105?C)
- rev5 uses RTC RV-3029-C2
- update cs0 and cs1 baseaddr and length
depending on the detected flash size.
- added Werner Pfister <[email protected]> as maintainer for the digsy board variants
- As the M29W128GH needs a special flash_cmd_reset() document that in the new file doc/README.cfi.
- move "#endif /* CONFIG_CMD_IDE */" to the right place
- remove LOWBOOT config option for digsy_mtc and digsy_mtc_rev5 boards
- change doc/README.cfi as Stefan Roese suggested
---
changes against v1:
- add comments from Wolfgang Denk
- add Copyright to board/digsy_mtc/is45s16800a2.h
- change ft_adapt_flash_base() and ft_delete_node()
to void functions, and add printf warnings in it,
if they fail
- to commit message:
- move "#endif /* CONFIG_CMD_IDE */" to the right place
- remove LOWBOOT config option for digsy_mtc and digsy_mtc_rev5 boards
- change doc/README.cfi as Stefan suggested
- remove unneccessary "#if defined(CONFIG_DIGSY_REV5)... #endif"
around gd->bd->bi_flashstart = base;
- add comment why deleting the RTC node in ft_board_setup()
- add Detlev Zundel to cc:
MAINTAINERS | 4 ++ board/digsy_mtc/digsy_mtc.c | 109 +++++++++++++++++++++++++++++++++++++++- board/digsy_mtc/is45s16800a2.h | 31 +++++++++++ boards.cfg | 3 +- doc/README.cfi | 29 +++++++++++ include/configs/digsy_mtc.h | 27 +++++++++- 6 files changed, 197 insertions(+), 6 deletions(-) create mode 100644 board/digsy_mtc/is45s16800a2.h create mode 100644 doc/README.cfi
MAINTAINERS +4 -0
@@ -340,6 +340,10 @@ Denis Peter <[email protected]> MIP405 PPC4xx PIP405 PPC4xx +Werner Pfister <[email protected]> + digsy_mtc mpc5200 + digsy_mtc_rev5 mpc5200 + Kim Phillips <[email protected]> MPC8349EMDS MPC8349
board/digsy_mtc/digsy_mtc.c +107 -2
137 lines not on this page · raw message
board/digsy_mtc/is45s16800a2.h new file +31 -0
@@ -0,0 +1,31 @@ +/* +* (C) Copyright 2010 +* Heiko Schocher, DENX Software Engineering, hs at denx.de. +* +* based on: +* (C) Copyright 2004-2009 +* Mark Jonas, Freescale Semiconductor, mark.jonas at motorola.com. +* +* See file CREDITS for list of people who contributed to this +* project. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +*/ + +#define SDRAM_MODE 0x00CD0000 +#define SDRAM_CONTROL 0x50470000 +#define SDRAM_CONFIG1 0xD2322900 +#define SDRAM_CONFIG2 0x8AD70000
boards.cfg +2 -1
@@ -239,8 +239,9 @@ BC3450 powerpc mpc5xxx bc3450 canmb powerpc mpc5xxx cm5200 powerpc mpc5xxx digsy_mtc powerpc mpc5xxx digsy_mtc -digsy_mtc_LOWBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0xFF000000 digsy_mtc_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000 +digsy_mtc_rev5 powerpc mpc5xxx digsy_mtc - - digsy_mtc:DIGSY_REV5 +digsy_mtc_rev5_RAMBOOT powerpc mpc5xxx digsy_mtc - - digsy_mtc:SYS_TEXT_BASE=0x00100000,DIGSY_REV5 galaxy5200 powerpc mpc5xxx galaxy5200 - - galaxy5200:galaxy5200 galaxy5200_LOWBOOT powerpc mpc5xxx galaxy5200 - - galaxy5200:galaxy5200_LOWBOOT icecube_5200 powerpc mpc5xxx icecube - - IceCube
doc/README.cfi new file +29 -0
@@ -0,0 +1,29 @@ +The common CFI driver provides this weak default implementation for +flash_cmd_reset(): + +void __flash_cmd_reset(flash_info_t *info) +{ + /* + * We do not yet know what kind of commandset to use, so we issue + * the reset command in both Intel and AMD variants, in the hope + * that AMD flash roms ignore the Intel command. + */ + flash_write_cmd(info, 0, 0, AMD_CMD_RESET); + flash_write_cmd(info, 0, 0, FLASH_CMD_RESET); +} +void flash_cmd_reset(flash_info_t *info) + __attribute__((weak,alias("__flash_cmd_reset"))); + + +Some flash chips seems to have trouble with this reset sequence. In this case +the board specific code can override this weak default version with a board +specific function. For example the digsy_mtc board equipped with the M29W128GH +from Numonyx needs this version to function properly: + +void flash_cmd_reset(flash_info_t *info) +{ + flash_write_cmd(info, 0, 0, AMD_CMD_RESET); +} + +see also: +http://www.mail-archive.com/u-boot at lists.denx.de/msg24368.html
include/configs/digsy_mtc.h +24 -3
@@ -249,9 +249,14 @@/* * RTC configuration */ +#if defined(CONFIG_DIGSY_REV5 ) +#define CONFIG_SYS_I2C_RTC_ADDR 0x56 +#define CONFIG_RTC_RV3029 +#else #define CONFIG_RTC_DS1337 #define CONFIG_SYS_I2C_RTC_ADDR 0x68#define CONFIG_SYS_DS1339_TCR_VAL 0xAB/* diode + 4k resistor */ +#endif /* * Flash configuration
@@ -259,14 +264,24 @@#define CONFIG_SYS_FLASH_CFI 1#define CONFIG_FLASH_CFI_DRIVER 1 +#if defined(CONFIG_DIGSY_REV5 ) +#define CONFIG_SYS_FLASH_BASE 0xFE000000 +#define CONFIG_SYS_FLASH_BASE_CS1 0xFC000000 +#define CONFIG_SYS_MAX_FLASH_BANKS 2 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE_CS1, \ + CONFIG_SYS_FLASH_BASE} +#define CONFIG_SYS_UPDATE_FLASH_SIZE +#define CONFIG_FDT_FIXUP_NOR_FLASH_SIZE +#else #define CONFIG_SYS_FLASH_BASE 0xFF000000 -#define CONFIG_SYS_FLASH_SIZE 0x01000000 -#define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE } +#endif +#define CONFIG_SYS_MAX_FLASH_SECT 256#define CONFIG_FLASH_16BIT #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT -#define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE } +#define CONFIG_SYS_FLASH_SIZE 0x01000000#define CONFIG_SYS_FLASH_ERASE_TOUT 240000#define CONFIG_SYS_FLASH_WRITE_TOUT 500
@@ -409,6 +424,12 @@#define CONFIG_SYS_CS0_SIZE CONFIG_SYS_FLASH_SIZE#define CONFIG_SYS_CS0_CFG 0x0002DD00 +#if defined(CONFIG_DIGSY_REV5 ) +#define CONFIG_SYS_CS1_START CONFIG_SYS_FLASH_BASE_CS1 +#define CONFIG_SYS_CS1_SIZE CONFIG_SYS_FLASH_SIZE +#define CONFIG_SYS_CS1_CFG 0x0002DD00 +#endif +#define CONFIG_SYS_CS_BURST 0x00000000#define CONFIG_SYS_CS_DEADCYCLE 0x11111111
Signature · 1 line
1.7.3.4
PATCH v2 2/2 mpc5200, digsy_mtc: add support for rev5 board version
Hi Heiko,
Quoted 15 lines
difference to previous board version:
- M29W128GH flash from Numonyx
- SDRAM ISSI IS45S16800 (Option A2 105?C)
- rev5 uses RTC RV-3029-C2
- update cs0 and cs1 baseaddr and length
depending on the detected flash size.
- added Werner Pfister <[email protected]> as maintainer for the digsy board variants
- As the M29W128GH needs a specialflash_cmd_reset()document that in the new file doc/README.cfi.
- move "#endif /*CONFIG_CMD_IDE*/" to the right place
- remove LOWBOOT config option fordigsy_mtcanddigsy_mtc_rev5boards
- change doc/README.cfi as Stefan Roese suggested
Quoted 6 lines
Signed-off-by Heiko Schocher <[email protected]>Signed-off-by Stefan Roese <[email protected]>cc Wolfgang Denk <[email protected]>cc Stefan Roese <[email protected]>cc Werner Pfister <[email protected]>cc Detlev Zundel <[email protected]>
Thanks!
Detlev
Signature · 8 lines
LISP has jokingly been described as "the most intelligent way to misuse a computer". I think that description a great compliment because it transmits the full flavour of liberation: it has assisted a number of our most gifted fellow humans in thinking previously impossible thoughts. - Edsger W. Dijkstra -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
Wolfgang Denk
AppliedPATCH v2 2/2 mpc5200, digsy_mtc: add support for rev5 board version
In reply to Heiko SchocherDear Heiko Schocher,
Quoted 15 lines · In message <[email protected]> you wrote:
difference to previous board version:
- M29W128GH flash from Numonyx
- SDRAM ISSI IS45S16800 (Option A2 105??C)
- rev5 uses RTC RV-3029-C2
- update cs0 and cs1 baseaddr and length
depending on the detected flash size.
- added Werner Pfister <[email protected]> as maintainer for the digsy board variants
- As the M29W128GH needs a specialflash_cmd_reset()document that in the new file doc/README.cfi.
- move "#endif /*CONFIG_CMD_IDE*/" to the right place
- remove LOWBOOT config option fordigsy_mtcanddigsy_mtc_rev5boards
- change doc/README.cfi as Stefan Roese suggested
Quoted 6 lines
Signed-off-by Heiko Schocher <[email protected]>Signed-off-by Stefan Roese <[email protected]>cc Wolfgang Denk <[email protected]>cc Stefan Roese <[email protected]>cc Werner Pfister <[email protected]>cc Detlev Zundel <[email protected]>
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You're dead, Jim. -- McCoy, "Amok Time", stardate 3372.7
Wolfgang Denk
AppliedPATCH 1/2 rtc: add support for Micro Crystal RV-3029-C2 RTC
In reply to Heiko SchocherDear Heiko Schocher,
Quoted 6 lines · In message <[email protected]> you wrote:
Signed-off-by Heiko Schocher <[email protected]>--- drivers/rtc/Makefile | 1 + drivers/rtc/rv3029.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 0 deletions(-) create mode 100644 drivers/rtc/rv3029.c
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's all Klatchian to me.
- Terry Pratchett & Stephen Briggs, _The Discworld Companion_