diff options
author | Maximilian Brune <maximilian.brune@9elements.com> | 2023-03-05 04:34:40 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-03-09 19:36:32 +0000 |
commit | ab0e680c8e027ef76b47a87d4d9e13068b50c630 (patch) | |
tree | 725c0c367e58d9ffd0815380f0f61b9b46cc58de /src/mainboard/google/stout/gma-mainboard.ads | |
parent | d4712010107eab9e6ae897a7912d4407f299eecc (diff) |
util/ifdtool/ifdtool.c: Clean up
- Remove functions that are only called in one place.
- Add warning if user doesn't supply a platform, since that can lead to
dumps/layouts that do not include all IFD regions without the user
even reliazing it.
- Inform the User if IFD or Flashmap is not found.
- Inform the User if there is not a single match between FMAP and IFD
region
- Avoid printing usage if not specifically asked by the user.
It tends to obfuscate the original error message.
- Keep indentation consistent throughout the file.
- Remove typedefs (coreboot coding style)
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I7bbce63ecb2e920530394766f58b5ea6f72852e9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73448
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/mainboard/google/stout/gma-mainboard.ads')
0 files changed, 0 insertions, 0 deletions