[PATCH] ARM: Add lsxhl machine type to mach-types
Marek Vasut
marek.vasut at gmail.com
Sat Nov 12 19:29:56 EST 2011
> On Sun, Nov 13, 2011 at 12:40:42AM +0100, Michael Walle wrote:
> > then, i guess, the problem is on the uboot side, at least if they want to
> > support both device tree based and old-fashioned setup code (eg.
> > backported device support.)
>
> If uboot wants to carry the full list, rather than copying it from
> the kernel source, they should be going straight to the main source
> of the file (which is given inside the file itself.)
>
> Otherwise, if they want to be purely dependent on the version shipped
> with the kernel, which will have entries for platforms not merged into
> the kernel source deleted from it once they're older than 12 months -
> but which may be in u-boot, they can continue taking it out of the
> kernel tree. I think that's sub-optimal as they'll see regressions
> from time to time when platforms have been merged into u-boot but not
> the kernel.
Hey,
U-Boot follows the in-kernel mach-types file. We had a few issues with boards
not building due to the removal of old mach types.
So basically, you should fix your patches for the Linkstation to support DT,
resubmit them, get them mainline, then enable DT in U-Boot and boot that way. I
see now problem.
And if your platform is a broken crap, please define CONFIG_MACH_TYPE
MACH_TYPE_SOMETHING and MACH_TYPE_SOMETHING in your include/configs/something.h
config file.
M
More information about the linux-arm-kernel
mailing list