| 1962 | } |
| 1963 | |
| 1964 | static void usage(void) |
| 1965 | { |
| 1966 | printf("Usage: sconfig <options>\n"); |
| 1967 | printf(" -c | --output_c : Path to output static.c file (required)\n"); |
| 1968 | printf(" -r | --output_h : Path to header static.h file (required)\n"); |
| 1969 | printf(" -d | --output_d : Path to header static_devices.h file (required)\n"); |
| 1970 | printf(" -f | --output_f : Path to header static_fw_config.h file (required)\n"); |
| 1971 | printf(" -m | --mainboard_devtree : Path to mainboard devicetree file (required)\n"); |
| 1972 | printf(" -o | --override_devtree : Path to override devicetree file (optional)\n"); |
| 1973 | printf(" -p | --chipset_devtree : Path to chipset/SOC devicetree file (optional)\n"); |
| 1974 | |
| 1975 | exit(1); |
| 1976 | } |
| 1977 | |
| 1978 | int main(int argc, char **argv) |
| 1979 | { |