spltest_sandbox.c 449 B

123456789101112131415161718192021
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2016 Google, Inc
  4. * Written by Simon Glass <sjg@chromium.org>
  5. */
  6. #include <common.h>
  7. #include <dm.h>
  8. #include <dt-structs.h>
  9. static const struct udevice_id sandbox_spl_ids[] = {
  10. { .compatible = "sandbox,spl-test", },
  11. {} /* sentinel */
  12. };
  13. U_BOOT_DRIVER(sandbox_spl_test) = {
  14. .name = "sandbox_spl_test",
  15. .id = UCLASS_MISC,
  16. .of_match = sandbox_spl_ids,
  17. .flags = DM_FLAG_PRE_RELOC,
  18. };