102-minify-spl.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Index: u-boot-2017.01/configs/omap3_beagle_defconfig
  2. ===================================================================
  3. --- u-boot-2017.01.orig/configs/omap3_beagle_defconfig
  4. +++ u-boot-2017.01/configs/omap3_beagle_defconfig
  5. @@ -7,7 +7,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
  6. CONFIG_VERSION_VARIABLE=y
  7. CONFIG_SPL=y
  8. CONFIG_SPL_MTD_SUPPORT=y
  9. -CONFIG_SPL_OS_BOOT=y
  10. +# CONFIG_SPL_EXT_SUPPORT is not set
  11. # CONFIG_CMD_IMLS is not set
  12. CONFIG_CMD_ASKENV=y
  13. # CONFIG_CMD_FLASH is not set
  14. Index: u-boot-2017.01/common/Makefile
  15. ===================================================================
  16. --- u-boot-2017.01.orig/common/Makefile
  17. +++ u-boot-2017.01/common/Makefile
  18. @@ -174,8 +174,11 @@ obj-$(CONFIG_CMDLINE) += cli_simple.o
  19. obj-y += cli.o
  20. obj-$(CONFIG_CMDLINE) += cli_readline.o
  21. obj-$(CONFIG_CMD_DFU) += dfu.o
  22. +
  23. +ifndef CONFIG_SPL_BUILD
  24. obj-y += command.o
  25. obj-y += s_record.o
  26. obj-y += xyzModem.o
  27. +endif
  28. CFLAGS_env_embedded.o := -Wa,--no-warn -DENV_CRC=$(shell tools/envcrc 2>/dev/null)
  29. Index: u-boot-2017.01/cmd/Makefile
  30. ===================================================================
  31. --- u-boot-2017.01.orig/cmd/Makefile
  32. +++ u-boot-2017.01/cmd/Makefile
  33. @@ -161,7 +161,10 @@ endif # !CONFIG_SPL_BUILD
  34. obj-$(CONFIG_CMD_BLOB) += blob.o
  35. +
  36. +# ifndef CONFIG_SPL_BUILD
  37. # core command
  38. obj-y += nvedit.o
  39. +# endif # !CONFIG_SPL_BUILD
  40. obj-$(CONFIG_ARCH_MVEBU) += mvebu/