Skip to content
  • Masahiro Yamada's avatar
    kconfig: switch to single .config configuration · e02ee254
    Masahiro Yamada authored and Tom Rini's avatar Tom Rini committed
    When Kconfig for U-boot was examined, one of the biggest issues was
    how to support multiple images (Normal, SPL, TPL).  There were
    actually two options, "single .config" and "multiple .config".
    After some discussions and thought experiments, I chose the latter,
    i.e. to create ".config", "spl/.config", "tpl/.config" for Normal,
    SPL, TPL, respectively.
    
    It is true that the "multiple .config" strategy provided us the
    maximum flexibility and helped to avoid duplicating CONFIGs among
    Normal, SPL, TPL, but I have noticed some fatal problems:
    
    [1] It is impossible to share CONFIG options across the images.
      If you change the configuration of Main image, you often have to
      adjust some SPL configurations correspondingly.  Currently, we
      cannot handle the dependencies between them.  It means one of the
      biggest advantages of Kconfig is lost.
    
    [2] It is too painful to change both ".config" and "spl/.config".
      Sunxi guys started to work around this problem by creat...
    e02ee254