Re: [RFC] [PATCH] Device Tree on ARM platform

From: Peter Korsgaard
Date: Wed May 27 2009 - 14:27:16 EST


>>>>> "Scott" == Scott Wood <scottwood@xxxxxxxxxxxxx> writes:

Hi,

>> Just bundle the .dtb with the kernel and they'll always be in sync. I
>> know this isn't really in the spirit of OF, but currently imho the
>> only realistic solution.

Scott> That removes the ability to use the device tree to pass information
Scott> from the bootloader, such as MAC addresses and clock frequencies. On
Scott> the u-boot list, you'll find people trying such hacks (which were
Scott> rightly NACKed) as passing the information in the device's volatile
Scott> registers (which the Linux driver must then not reset) to deal with
Scott> ARM Linux's lack of this ability.

No, with the multi-image support U-Boot has full access to the device
tree. E.G. I adjust the flash partition list defined in the .dtb in my
board's ft_board_setup() routine.

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/