Right now the `platform_gen.json` and `platform_gen.yaml` files contain regions that are not actually used by the kernel. This is fine for `platform_gen.h` because they are guarded by #ifdefs with kernel config defines but the same approach does not work for YAML and JSON. So, this patch changes the Python scripts that generate this files so that they only generate the regions that actually end up being used. Signed-off-by: Ivan-Velickovic <i.velickovic@unsw.edu.au> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| c_header.py | ||
| compat_strings.py | ||
| elfloader.py | ||
| json.py | ||
| yaml.py | ||