All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 10/22] x86: kconfig: Imply DM uclass drivers
Date: Tue, 1 Aug 2017 03:12:00 -0600	[thread overview]
Message-ID: <CAPnjgZ29Ee6Rc_9+7Gu0nPjyB-goV6T=AkaQqUQDtXrS6msDWw@mail.gmail.com> (raw)
In-Reply-To: <1501421008-5737-11-git-send-email-bmeng.cn@gmail.com>

On 30 July 2017 at 07:23, Bin Meng <bmeng.cn@gmail.com> wrote:
> Now that all x86 boards have been converted to use DM, we can imply
> these uclass drivers (DM_ETH, DM_RTC, DM_USB, DM_VIDEO) from the
> top level.
>
> Previously DM_GPIO, DM_KEYBOARD, DM_SERIAL, DM_SPI, DM_SPI_FLASH
> are selected. Change to use 'imply' to allow them to be removed.
>
> Note with this change, chromebook_link64 build fails:
>
> common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
> lib/built-in.o: In function `hsearch_r':
> lib/hashtable.c:380: undefined reference to 'env_callback_init'
> lib/hashtable.c:382: undefined reference to 'env_flags_init'
> make[1]: *** [spl/u-boot-spl] Error 1
>
> CONFIG_SPL_ENV_SUPPORT is required for chromebook_link64 to build
> again. This is just a workaround as it is not needed at all. See
> commit bda40d5 "x86: qemu: Add a config for 64-bit U-Boot" for
> the same issue seen on QEMU 64-bit target.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> ---
>
> Changes in v2: None
>
>  arch/Kconfig                                            | 16 ++++++++++------
>  configs/bayleybay_defconfig                             |  4 ----
>  configs/chromebook_link64_defconfig                     |  4 +---
>  configs/chromebook_link_defconfig                       |  3 ---
>  configs/chromebook_samus_defconfig                      |  3 ---
>  configs/chromebox_panther_defconfig                     |  4 ----
>  configs/conga-qeval20-qa3-e3845-internal-uart_defconfig |  4 ----
>  configs/conga-qeval20-qa3-e3845_defconfig               |  4 ----
>  configs/coreboot-x86_defconfig                          |  4 ----
>  configs/cougarcanyon2_defconfig                         |  3 ---
>  configs/crownbay_defconfig                              |  4 ----
>  configs/dfi-bt700-q7x-151_defconfig                     |  4 ----
>  configs/edison_defconfig                                |  1 -
>  configs/efi-x86_defconfig                               |  3 +--
>  configs/galileo_defconfig                               |  4 ----
>  configs/minnowmax_defconfig                             |  4 ----
>  configs/qemu-x86_64_defconfig                           |  4 ----
>  configs/qemu-x86_defconfig                              |  4 ----
>  configs/qemu-x86_efi_payload32_defconfig                |  4 ----
>  configs/qemu-x86_efi_payload64_defconfig                |  4 ----
>  configs/som-db5800-som-6867_defconfig                   |  4 ----
>  configs/theadorable-x86-dfi-bt700_defconfig             |  4 ----
>  22 files changed, 12 insertions(+), 81 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

  reply	other threads:[~2017-08-01  9:12 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-30 13:23 [U-Boot] [PATCH v2 00/22] x86: kconfig clean up Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 01/22] x86: kconfig: Select TIMER and X86_TSC_TIMER Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 02/22] x86: kconfig: Select USE_PRIVATE_LIBGCC Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 03/22] x86: kconfig: Select PCI and DM_PCI Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 04/22] x86: kconfig: Imply HAVE_INTEL_ME in the platform Kconfig Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 05/22] x86: kconfig: Let board select BOARD_EARLY_INIT_F Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01  9:17     ` Bin Meng
2017-08-01 12:22       ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 06/22] x86: kconfig: Select ARCH_MISC_INIT in the platform Kconfig Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01  9:18     ` Bin Meng
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 07/22] x86: kconfig: Select ARCH_EARLY_INIT_R " Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:22     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 08/22] x86: kconfig: Imply ENABLE_MRC_CACHE " Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 09/22] x86: kconfig: Select OF_CONTROL Bin Meng
2017-08-01  9:11   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 10/22] x86: kconfig: Imply DM uclass drivers Bin Meng
2017-08-01  9:12   ` Simon Glass [this message]
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 11/22] x86: baytrail: kconfig: Imply platform specific drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 12/22] x86: ivybridge: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 13/22] x86: broadwell: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 14/22] x86: coreboot: kconfig: Imply drivers that are useful Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 15/22] x86: queensbay: kconfig: Imply platform specific drivers Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 16/22] x86: tangier: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 17/22] x86: quark: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 18/22] x86: qemu: " Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:23     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 19/22] x86: qemu: Remove SPI flash from defconfigs Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 20/22] x86: kconfig: Let board select SPI flash Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 21/22] x86: kconfig: Move USB to platform Kconfig Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng
2017-07-30 13:23 ` [U-Boot] [PATCH v2 22/22] x86: Convert INTEL_ICH6_GPIO to Kconfig Bin Meng
2017-08-01  9:12   ` Simon Glass
2017-08-01 12:24     ` Bin Meng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPnjgZ29Ee6Rc_9+7Gu0nPjyB-goV6T=AkaQqUQDtXrS6msDWw@mail.gmail.com' \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.