powerpc: Introduce device tree control and driver model
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest1 of 19 patches 0 repliesNew
1 of 19 patches is in this archive. The cover letter announces 19.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 17/19 | powerpc: ppc4xx: Change from OF_SEPARATE to OF_EMBED | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [U-Boot] [PATCH v2 0/19] powerpc: Introduce device tree control and driver model
Hi Simon,
Quoted 19 lines · Simon Glass
Quoted 19 lines · Simon Glass
Quoted 17 lines
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 callingboard_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 forboard_init_f_mem()to 64 bytes
- AddSYS_MALLOC_FtoKconfig
Quoted 6 lines
Quoted 4 lines
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.
Yes, please go ahead. Lazy people (like me) tend to only scream when really forced to test the "latest and greatest" stuff. ;)
Thanks,
Stefan