From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 70/93] arm: Remove ap121 board
Date: Thu, 22 Nov 2018 18:23:35 -0500 [thread overview]
Message-ID: <20181122232335.GD11247@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ3zMCeTNPVDoD2dUJrMmi4mRO=v1TkouwYDBmDjp6mZfQ@mail.gmail.com>
On Thu, Nov 22, 2018 at 01:50:08PM -0700, Simon Glass wrote:
> Hi Daniel,
>
> On Wed, 21 Nov 2018 at 17:47, Daniel Schwierzeck
> <daniel.schwierzeck@gmail.com> wrote:
> >
> > Hi Simon,
> >
> > Am 19.11.18 um 16:53 schrieb Simon Glass:
> > > This board has not been converted to CONFIG_DM_BLK by the deadline.
> > > Remove it.
> > >
> > > Signed-off-by: Simon Glass <sjg@chromium.org>
> > > ---
> > >
> > > arch/mips/mach-ath79/Kconfig | 1 -
> > > board/qca/ap121/Kconfig | 27 ----------------
> > > board/qca/ap121/MAINTAINERS | 6 ----
> > > board/qca/ap121/Makefile | 3 --
> > > board/qca/ap121/ap121.c | 46 ---------------------------
> > > configs/ap121_defconfig | 60 ------------------------------------
> > > include/configs/ap121.h | 46 ---------------------------
> > > 7 files changed, 189 deletions(-)
> > > delete mode 100644 board/qca/ap121/Kconfig
> > > delete mode 100644 board/qca/ap121/MAINTAINERS
> > > delete mode 100644 board/qca/ap121/Makefile
> > > delete mode 100644 board/qca/ap121/ap121.c
> > > delete mode 100644 configs/ap121_defconfig
> > > delete mode 100644 include/configs/ap121.h
> >
> > your approach with simply forcing CONFIG_BLK is flawed. This board
> > doesn't use any block devices. If I enable CONFIG_BLK manually via
> > menuconfig, I get this link error:
> >
> > LD u-boot
> > drivers/built-in.o: In function `blk_post_probe':
> > drivers/block/blk-uclass.c:(.text.blk_post_probe+0x10): undefined
> > reference to `part_init'
> > make: *** [Makefile:1381: u-boot] Error 1
> >
> > But part_init() is defined in disk/part.c and guarded by
> > CONFIG_HAVE_BLOCK_DEVICE. If I enable that too, the board will build fine.
> >
> > So the actual bug is that CONFIG_BLK doesn't do a SELECT PARTITIONS or
> > that drivers/block/blk-uclass.c doesn't guard the call to part_init()
> > with CONFIG_HAVE_BLOCK_DEVICE. Maybe you should fix that and then try
> > again. I guess you will have much less failing boards.
>
> Unfortunately there are many things that can go wrong.
>
> CONFIG_HAVE_BLOCK_DEVICE should be removed, I think, and the 5 boards
> that use it updated. With DM we can just use CONFIG_BLK.
>
> If CONFIG_BLK is enabled, that means we have block devices. Ideally we
> would not enable it by default, and perhaps there is some Kconfig
> magic that can enable it only when USB/MMC/etc, are enabled in
> Kconfig? But that will not cause us to detect all boards that need
> updating, since boards that don't use DM for the subsystem would then
> get CONFIG_BLK enabled.
>
> Here I think the best solution is for you to send a patch which
> disables CONFIG_BLK for your boards (either in Kconfig or defconfig).
> That should take precedence over CONFIG_BLK becoming the default.
No, the problem we have right here is that the logic in
drivers/block/blk-uclass.c to call part_init() doesn't match the logic
we have around when we build disk/part.c that defines part_init().
Locally I've made disk/part.o be built with CONFIG_BLK (and SPL/TPL).
Once we've got the transition done we can see what clean-ups follow from
it.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181122/17b6c118/attachment.sig>
next prev parent reply other threads:[~2018-11-22 23:23 UTC|newest]
Thread overview: 210+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-19 15:52 [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 01/93] Add a simple script to remove boards Simon Glass
2018-11-19 18:19 ` Adam Ford
2018-11-26 22:24 ` Simon Glass
2018-11-27 0:08 ` Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 02/93] dm: mmc: Use CONFIG_IS_ENABLED to check for BLK Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 03/93] solidrun: Correct typo in MAINTAINERS Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 04/93] arm: Remove s32v234evb board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 05/93] arm: Remove ls1043ardb_sdcard_SECURE_BOOT board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 06/93] arm: Remove ls1046ardb_sdcard_SECURE_BOOT board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 07/93] arm: Remove colibri_imx6_nospl board Simon Glass
2018-11-19 21:32 ` Marek Vasut
2018-11-19 15:52 ` [U-Boot] [PATCH 08/93] arm: Remove guruplug board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 09/93] arm: Remove sniper board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 10/93] arm: Remove omap3_zoom1 board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 11/93] arm: Remove sksimx6 board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 12/93] arm: Remove tbs2910 board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 13/93] arm: Remove theadorable_debug board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 14/93] arm: Remove devkit3250 board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 15/93] arm: Remove pcm051_rev3 board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 16/93] arm: Remove ds109 board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 17/93] arm: Remove pcm058 board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 18/93] arm: Remove am335x_shc_ict board Simon Glass
2018-11-19 15:52 ` [U-Boot] [PATCH 19/93] arm: Remove vining_2000 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 20/93] arm: Remove cm_t43 board Simon Glass
2018-11-19 21:32 ` Marek Vasut
2018-11-19 15:53 ` [U-Boot] [PATCH 21/93] arm: Remove igep00x0 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 22/93] arm: Remove sheevaplug board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 23/93] arm: Remove omap3_overo board Simon Glass
[not found] ` <CAGDS+nkiuiUPGzwtU9kH1jG_hP-Xk7pZcsc7HoZw9PH34xt8jQ@mail.gmail.com>
[not found] ` <CALYyQ17Zn1yhjGA1qWTyP3E4umy+9PjvAdP1DWwqXbVA9rv7Cg@mail.gmail.com>
2018-11-20 13:20 ` Andrew C. Smith
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 24/93] arm: Remove am335x_boneblack board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 25/93] arm: Remove warp7 board Simon Glass
2018-11-19 17:56 ` Fabio Estevam
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 26/93] arm: Remove gwventana_gw5904 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 27/93] arm: Remove cairo board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 28/93] arm: Remove pico-hobbit-imx7d board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 29/93] arm: Remove mccmon6_sd board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 30/93] arm: Remove apalis_imx6_nospl_it board Simon Glass
2018-11-19 21:33 ` Marek Vasut
2018-11-19 15:53 ` [U-Boot] [PATCH 31/93] arm: Remove wandboard board Simon Glass
2018-11-19 21:33 ` Marek Vasut
2018-11-19 15:53 ` [U-Boot] [PATCH 32/93] arm: Remove birdland_bav335a board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 33/93] arm: Remove gurnard board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 34/93] arm: Remove xpress_spl board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 35/93] arm: Remove udoo_neo board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 36/93] arm: Remove nas220 board Simon Glass
2018-11-21 15:26 ` Evgeni Dobrev
2018-11-21 17:08 ` Tom Rini
2018-11-19 15:53 ` [U-Boot] [PATCH 37/93] arm: Remove am335x_pdu001 board Simon Glass
2018-11-29 10:39 ` Felix Brack
2018-11-29 18:42 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 38/93] arm: Remove snapper9260 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 39/93] arm: Remove pfla02 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 40/93] arm: Remove colibri_pxa270 board Simon Glass
2018-11-26 7:57 ` Marcel Ziswiler
2018-11-26 12:57 ` Tom Rini
2018-11-27 0:08 ` Simon Glass
2018-11-27 12:24 ` Marek Vasut
2018-11-19 15:53 ` [U-Boot] [PATCH 41/93] arm: Remove work_92105 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 42/93] arm: Remove omap3_pandora board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 43/93] arm: Remove cl-som-imx7 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 44/93] arm: Remove devkit8000 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 45/93] arm: Remove pengwyn board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 46/93] arm: Remove dreamplug board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 47/93] arm: Remove mx6sabreauto board Simon Glass
2018-11-19 23:56 ` Peng Fan
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 48/93] arm: Remove imx6q_logic board Simon Glass
2018-11-19 18:10 ` Adam Ford
2018-11-27 0:08 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 49/93] arm: Remove zc5202 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 50/93] arm: Remove imx6dl_mamoj board Simon Glass
2018-11-19 17:22 ` Jagan Teki
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 51/93] arm: Remove omap3_logic_somlv board Simon Glass
2018-11-19 18:07 ` Adam Ford
2018-11-27 0:08 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 52/93] arm: Remove cm_t335 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 53/93] arm: Remove liteboard board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 54/93] arm: Remove am43xx_evm_usbhost_boot board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 55/93] arm: Remove chiliboard board Simon Glass
2018-11-21 13:02 ` Marcin Niestrój
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 56/93] arm: Remove am335x_baltos board Simon Glass
2018-11-20 14:56 ` Yegor Yefremov
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 57/93] arm: Remove kp_imx6q_tpc board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 58/93] arm: Remove lsxhl board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 59/93] arm: Remove udoo board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 60/93] arm: Remove marsboard board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 61/93] arm: Remove mx6sabresd board Simon Glass
2018-11-19 23:58 ` Peng Fan
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 62/93] arm: Remove dh_imx6 board Simon Glass
2018-11-20 12:15 ` Ludwig Zenz
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 63/93] arm: Remove vinco board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 64/93] arm: Remove ls1021atwr_sdcard_ifc_SECURE_BOOT board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 65/93] arm: Remove mx6cuboxi board Simon Glass
2018-11-20 7:52 ` Mark Kettenis
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 66/93] arm: Remove ot1200 board Simon Glass
2018-11-22 9:25 ` Christian Gmeiner
2018-11-22 12:52 ` Tom Rini
2018-11-22 13:24 ` Marek Vasut
2018-11-22 13:28 ` Tom Rini
2018-11-22 13:30 ` Marek Vasut
2018-11-22 13:32 ` Tom Rini
2018-11-22 13:40 ` Marek Vasut
2018-11-22 14:44 ` Simon Goldschmidt
2018-11-22 17:01 ` Tom Rini
2018-11-22 20:50 ` Simon Glass
2018-11-25 21:09 ` Simon Goldschmidt
2018-11-26 3:00 ` Simon Glass
2018-11-26 6:05 ` Simon Goldschmidt
2018-12-05 13:21 ` Simon Glass
2018-12-05 13:38 ` Simon Goldschmidt
2018-12-05 13:54 ` Simon Glass
2018-12-05 14:16 ` Simon Goldschmidt
2018-12-05 15:55 ` Simon Glass
2018-12-05 16:11 ` Simon Goldschmidt
2018-11-23 0:33 ` Fabio Estevam
2018-11-19 15:53 ` [U-Boot] [PATCH 67/93] arm: Remove socfpga_stratix10 board Simon Glass
2018-11-21 1:01 ` Ley Foon Tan
2018-11-22 20:50 ` Simon Glass
2018-11-22 23:25 ` Tom Rini
2018-11-23 12:04 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 68/93] arm: Remove am65x_evm_a53 board Simon Glass
2018-11-19 16:58 ` Lokesh Vutla
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 69/93] arm: Remove ap143 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 70/93] arm: Remove ap121 board Simon Glass
2018-11-22 0:47 ` Daniel Schwierzeck
2018-11-22 0:53 ` Tom Rini
2018-11-22 20:50 ` Simon Glass
2018-11-22 23:23 ` Tom Rini [this message]
2018-11-24 19:42 ` Simon Glass
2018-11-24 21:22 ` Tom Rini
2018-11-19 15:53 ` [U-Boot] [PATCH 71/93] arm: Remove imgtec_xilfpga board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 72/93] arm: Remove socfpga_de0_nano_soc board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 73/93] arm: Remove clearfog board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 74/93] arm: Remove socfpga_arria10 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 75/93] arm: Remove omap3_beagle board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 76/93] arm: Remove helios4 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 77/93] arm: Remove socfpga_socrates board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 78/93] arm: Remove socfpga_sr1500 board Simon Glass
2018-11-19 15:53 ` [U-Boot] [PATCH 79/93] arm: Remove ls1021aiot_sdcard board Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 80/93] arm: Remove socfpga_de10_nano board Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 81/93] arm: Remove socfpga_dbm_soc1 board Simon Glass
2018-11-19 21:17 ` Marek Vasut
2018-11-19 15:54 ` [U-Boot] [PATCH 82/93] arm: Remove socfpga_de1_soc board Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 83/93] arm: Remove socfpga_sockit board Simon Glass
2018-11-19 20:54 ` Marek Vasut
2018-11-19 15:54 ` [U-Boot] [PATCH 84/93] arm: Remove dns325 board Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 85/93] arm: Remove socfpga_is1 board Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 86/93] arm: Remove brppt1_mmc board Simon Glass
2018-11-20 11:08 ` Hannes Schmelzer
2018-11-22 20:50 ` Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 87/93] arm: Remove db-mv784mp-gp board Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 88/93] arm: Remove socfpga_arria5 board Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 89/93] arm: Remove socfpga_vining_fpga board Simon Glass
2018-11-19 21:16 ` Marek Vasut
2018-11-19 15:54 ` [U-Boot] [PATCH 90/93] arm: Remove dra7xx_evm and dra7xx_hs_evm boards Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 91/93] dm: Enable CONFIG_BLK Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 92/93] dm: Update driver-model migration schedule for CONFIG_BLK Simon Glass
2018-11-19 15:54 ` [U-Boot] [PATCH 93/93] RFC: dm: Force CONFIG_BLK for all boards with DM Simon Glass
2018-11-19 16:08 ` [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration Otavio Salvador
2018-11-19 18:36 ` Tom Rini
2018-11-19 19:45 ` Adam Ford
2018-11-19 21:32 ` Marek Vasut
2018-11-19 21:54 ` Tom Rini
2018-11-19 21:58 ` Simon Glass
2018-11-20 14:29 ` Ian Campbell
2018-11-20 14:56 ` Tom Rini
2018-11-21 4:43 ` Simon Glass
2018-11-21 13:26 ` Tom Rini
2018-11-19 22:02 ` Adam Ford
2018-11-19 22:06 ` Marek Vasut
2018-11-20 11:00 ` Stefano Babic
2018-11-20 12:39 ` Peter Robinson
2018-11-20 14:55 ` Tom Rini
2018-11-20 16:27 ` Stefano Babic
2018-11-20 17:18 ` Tom Rini
2018-11-19 22:05 ` Marek Vasut
2018-11-20 12:42 ` Soeren Moch
2018-11-20 13:37 ` Tom Rini
2018-11-20 13:40 ` Marek Vasut
2018-11-20 13:42 ` Tom Rini
2018-11-20 13:45 ` Marek Vasut
2018-11-20 13:53 ` Tom Rini
2018-11-20 13:55 ` Marek Vasut
2018-11-21 15:10 ` Tom Rini
2018-11-22 20:50 ` Simon Glass
2018-11-22 23:31 ` Tom Rini
2018-11-23 12:04 ` Simon Glass
2018-11-23 19:38 ` Tom Rini
2018-11-24 19:41 ` Simon Glass
2018-11-26 1:12 ` Tom Rini
2018-11-26 2:59 ` Simon Glass
2018-11-23 0:31 ` Fabio Estevam
2018-11-23 14:35 ` Soeren Moch
2018-11-21 15:13 ` [U-Boot] [PATCH] omap3: beagle: Enable DM_MMC and BLK for u-boot only, not SPL Guillaume GARDET
2018-11-21 17:06 ` Tom Rini
2018-12-17 17:03 ` Guillaume Gardet
2018-12-17 19:34 ` Adam Ford
2018-12-17 20:44 ` Adam Ford
2018-12-18 1:41 ` Tom Rini
2018-11-22 17:45 ` [U-Boot] [PATCH 00/93] dm: Move towards completing CONFIG_BLK migration Tom Rini
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=20181122232335.GD11247@bill-the-cat \
--to=trini@konsulko.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox