Skip to content

Fix compilation error if CONFIG_USB is disabled

Matthias Brugger u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest1 of 2 patches 0 repliesNew

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Fix compilation error if CONFIG_USB is disabled+0 -00 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchMatthias Brugger
1/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/2] Fix compilation error if CONFIG_USB is disabled

Hi Ajay,

Quoted 9 lines · Ajay Kaher
Quoted 5 lines · Tom Rini
Quoted 3 lines · Ajay Kaher

Tom, [PATCH v2 1/2] reviewed by 'Matthias Brugger'.
But no update on [Patch v2 2/2] (includes changes in include/configs/rpi.h)

Quoted 8 lines
Quoted 2 lines

Since Matthias is the Pi custodian, I'm expecting a PR from him with the changes. Thanks!

Matthias, please let me know if you would require any info or detail from me to review [Patch v2 2/2]. To create the [Patch v2 2/2], I have taken the reference of include/configs/rockchip-common.h. Same changes are already present in include/configs/rockchip-common.h, hope this will help you to do review and PR. Thanks.

It's on my list. On the first look it seems good for me. Bear with me, I'll take it netxt week and push it out.

Regards,
Matthias

Quoted 35 lines

- Ajay

Quoted 31 lines
Quoted 31 lines

On 11/04/19, 10:56 AM, "akaher" <[email protected]> wrote:

Fix compilation error if CONFIG_USB is disabled

[Patch v2 1/2]:
CONFIG_CMD_USB depends upon CONFIG_USB, so CONFIG_CMD_USB should not be enabled if CONFIG_USB is disabled.

[Patch v2 2/2]:
This patch is to fix the following compilation error when disabling CONFIG_USB for Rpi3:

include/config_distro_bootcmd.h:242:2: error: expected ‘}’ before ‘BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB’
BOOT_TARGET_DEVICES_references_USB_without_CONFIG_CMD_USB

Changes from v1:
Split the patch.

cmd/Kconfig | 1 +
include/configs/rpi.h | 36 +++++++++++++++++++++++++++++++-----

2 file changed, 32 insertions(+), 5 deletions(-)

--
2.14.2