Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 1 | @startuml |
| 2 | |
| 3 | box "BL2 common code" |
| 4 | participant bl2_entrypoint |
| 5 | participant bl2_main |
| 6 | end box |
| 7 | |
| 8 | box "platform common code" |
| 9 | participant fconf |
| 10 | participant fconf_tbbr_getter |
| 11 | end box |
| 12 | |
| 13 | box "arm platform code" #LightBlue |
| 14 | participant arm_bl2_setup |
| 15 | participant arm_io_storage |
| 16 | participant arm_fconf_io |
| 17 | end box |
| 18 | |
| 19 | == bl2 setup == |
| 20 | bl2_entrypoint -> bl2_main : bl2_setup() |
| 21 | bl2_main -> arm_bl2_setup : bl2_early_platform_setup2(\n\t arg0, arg1, arg2, arg3) |
| 22 | note over arm_bl2_setup |
Louis Mayencourt | 13a97a2 | 2020-03-27 11:02:05 +0000 | [diff] [blame] | 23 | arg0 = fw_config |
Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 24 | arg1 = mem_layout |
| 25 | end note |
Louis Mayencourt | 13a97a2 | 2020-03-27 11:02:05 +0000 | [diff] [blame] | 26 | arm_bl2_setup -> arm_bl2_setup : arm_bl2_early_platform_setup(\n\t fw_config, mem_layout) |
Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 27 | activate arm_bl2_setup |
Louis Mayencourt | 13a97a2 | 2020-03-27 11:02:05 +0000 | [diff] [blame] | 28 | arm_bl2_setup -> fconf: fconf_polulate("TB_FW", fw_config) |
Louis Mayencourt | 8ac387c | 2019-11-08 15:09:15 +0000 | [diff] [blame] | 29 | activate fconf |
| 30 | fconf -> fconf_tbbr_getter: fconf_populate_tbbr_dyn_config(uintptr_t dtb) |
| 31 | note over fconf_tbbr_getter: read tbbr propeties from dtb |
| 32 | fconf -> arm_fconf_io: fconf_populate_arm_io_policies(uintptr_t dtb) |
| 33 | note over arm_fconf_io: read arm io propeties from dtb |
| 34 | deactivate fconf |
| 35 | arm_bl2_setup -> arm_io_storage : plat_arm_io_setup() |
| 36 | note over arm_io_storage: use populated properties |
| 37 | deactivate arm_bl2_setup |
| 38 | |
| 39 | == bl2 main == |
| 40 | |
| 41 | @enduml |