Thread (11 messages) flat view 11 messages, 3 authors, 2002-03-19

Re: [PATCH] another for ibm_ocp_enet gzip'd

From: Tom Rini <hidden>
Date: 2002-03-15 20:05:58

On Fri, Mar 15, 2002 at 11:41:37AM -0800, andrew may wrote:
3. added mal.sh to generate a new ibm_ocp_mal.c
        mal.sh  DCRN_MAL_BASE >ibm_ocp_mal.c
or      mal.sh  DCRN_MAL_BASE DCRN_MAL1_BASE >ibm_ocp_mal.c
will work. It seems that the second on generates a smaller
object file even though the code is bigger for the 405GP.
I would think it is because MAL1 is 0.
This condenses all the get/set mal calls into one for get
and one for set. I also changed mal_num to mal, just to help
me find/change things.

I think this is a better approach than what was in the _mal.c,
but I didn't change the makefile to generate the code on the
fly yet.
This looks very cool.  Can you add in some comments to the shell script,
and I didn't see any bashisms in there, can you verify it works with
pdksh or one of the other script shells which can be /bin/sh ?

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help