Rockbox mail archive
Subject: Re: Linus: bootloader main.c,1.17,1.18
Re: Linus: bootloader main.c,1.17,1.18
> and_l(~0x01000000, &GPIO_OUT); -> /* GPIO24 is the Cypress chip
> power */
> GPIO_ENABLE |= 0x01000000; -> or_l(0x01000000, &GPIO_ENABLE);
> GPIO_FUNCTION |= 0x01000000; -> or_l(0x01000000, &GPIO_FUNCTION);
Not that I'm very into the rockbox code not deep c programming, but I'm
curious about the above code change. It seems to me that the original code
(left) is more like standard c and probably faster (no function calls).
Can someone enlighten me on this one?
Received on Tue Jul 12 14:42:39 2005
Page was last modified "Jan 10 2012" The Rockbox Crew