[Top] [All Lists]

Re: [PATCH] Fix board type in db1x00

To: "Jordan Crouse" <>
Subject: Re: [PATCH] Fix board type in db1x00
From: Dan Malek <>
Date: Tue, 22 Nov 2005 17:31:20 -0500
In-reply-to: <>
Original-recipient: rfc822;
References: <>

On Nov 22, 2005, at 5:15 PM, Jordan Crouse wrote:

+       /* Set the platform # */
+#if    defined (CONFIG_MIPS_DB1550)
+       mips_machtype = MACH_DB1550;
+#elif  defined (CONFIG_MIPS_DB1500)
+       mips_machtype = MACH_DB1500;
+#elif  defined (CONFIG_MIPS_DB1100)
+       mips_machtype = MACH_DB1100;
+       mips_machtype = MACH_DB1000;

Can't we just do something like
        #define MACH_ALCHEMY_TYPE  xxxxx

in the include files and not have this mess in the
actual code?  Then, all we have to do here is:

        mips_machtype = MACH_ALCHEMY_TYPE;


        -- Dan

<Prev in Thread] Current Thread [Next in Thread>