
Hi,
On 7 February 2015 at 11:53, Simon Glass sjg@chromium.org wrote:
Hi,
On 7 February 2015 at 11:51, Simon Glass sjg@chromium.org wrote:
This series does a small amount of tweaking to support device tree control (CONFIG_OF_CONTROL) on PowerPC platforms. It also adds support for driver model. In both cases the main effort is to set things up correctly before calling board_init_f().
A new generic function, board_init_f_mem() is introduced. This does the various memory calculations in C code, since they are messy in assembler and every architecture should in fact be the same. A later series will adjust ARM and x86 to use this function.
As an example, the Canyonlands boards are converted over to use device tree control and driver model for their serial console. It should be fairly straightforward to convert over other boards.
Changes in v2:
- Reduce reserved stack space for board_init_f_mem() to 64 bytes
- Add SYS_MALLOC_F to Kconfig
I'm trying to catch up on a few things I haven't got to.
If it suits I can apply this to u-boot-dm since it is a driver-model-enablement series and Stefan has tested it.
OK unless I hear any screams I'm going ahead with that plan this week.
Regards, Simon