[PATCH] ppc32: ppc_sys SOC identification additions

Wolfgang Denk wd at denx.de
Thu Aug 18 06:49:32 EST 2005


In message <430372E9.7040700 at ru.mvista.com> you wrote:
>
> +	while (strcmp(ppc_sys_specs[i].ppc_sys_name, "")) {
...
> +	while (strcmp(ppc_sys_specs[i].ppc_sys_name, ""))
...
> +	while (strcmp(ppc_sys_specs[i].ppc_sys_name, "")) {

What about:

	while (ppc_sys_specs[i].ppc_sys_name[0]) ... ???

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
What we anticipate seldom occurs;  what  we  least  expect  generally
happens.                                          - Bengamin Disraeli



More information about the Linuxppc-embedded mailing list