At Thu, 04 Nov 2004 01:57:51 +0900,
yashi wrote:
>
> At Wed, 03 Nov 2004 08:05:10 +1000,
> John Williams wrote:
> > > John, do you want me to define platform for suzaku so that I can just
> > > put whatever suzaku need to arch/microblaze/platform/suzaku/, or wait
> > > till restructure is done?
> >
> > Well I would certainly encourage you to move towards the /platform/xxx
> > approach, but I really tried to maintain backwards compatability..
> >
> > Short term fix will be an #ifdef conditional on Suzaku in
> > include/asm-microblaze/autoconfig.h - but a better solution will be
> > create your own /platform/suzaku subdir. Just use platform/uclinux-auto
> > as a template.
>
> Ok, I'll leave it for homework for now ;P
I've done the homework. but I have one question. John, why did you
need the following patch?
--- uClinux-2.4.x/include/asm-microblaze/microblaze.h 2003/09/22 06:13:21 1.4
+++ uClinux-2.4.x/include/asm-microblaze/microblaze.h 2004/10/29 09:39:24 1.5
@@ -17,6 +17,8 @@
#define __MICROBLAZE_H__
#include <asm/clinkage.h>
+#include <asm/autoconfig.h>
+
#define CPU_MODEL "Microblaze"
#define CPU_MODEL_LONG "Xilinx Microblaze"
#define CPU_ARCH "microblaze"
I had to revert this change to make suzaku work. Attached patch have
everything except reverting the above. John, do you mind sharing your
problem?
if you can revert it, please test the attached patch to see it doesn't
break yours.
thanks,
--
yashi
Attachment:
migrate-to-platform.patch.gz
Description: Binary data