how to handle TARGET_CPM in cuboot-85xx?
scottwood at freescale.com
Fri Jan 25 03:23:49 EST 2008
On Thu, Jan 24, 2008 at 08:24:42AM -0600, Kumar Gala wrote:
> diff --git a/arch/powerpc/boot/cuboot-85xx.c b/arch/powerpc/boot/
> index 6776a1a..e2616f2 100644
> --- a/arch/powerpc/boot/cuboot-85xx.c
> +++ b/arch/powerpc/boot/cuboot-85xx.c
> @@ -15,6 +15,7 @@
> #include "cuboot.h"
> #define TARGET_85xx
> +#define TARGET_CPM2
> #include "ppcboot.h"
> static bd_t bd;
> however it varies which boards need this. Should I just duplicate
> cuboot-85xx.c into cuboot-<boardname>.c as the way to handle this
> right now?
I don't think we need to go that fine grained -- one cuboot-85xx and one
cuboot-85xx-cpm2 should suffice.
More information about the Linuxppc-dev