From: Tom Rini Date: Tue, 10 Apr 2018 08:32:49 -0400 Subject: [U-Boot] [U-Boot, 36/36] rockchip: add common board file for rockchip platform In-Reply-To: References: <1522142971-20739-37-git-send-email-kever.yang@rock-chips.com> <5f670ca9-55e0-89a0-6d15-21c6768c46c3@rock-chips.com> <20180408223531.GG10996@bill-the-cat.ec.rr.com> Message-ID: <20180410123249.GF10996@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Tue, Apr 10, 2018 at 02:54:09PM +0800, Kever Yang wrote: > Hi Tom, > > > On 04/09/2018 06:35 AM, Tom Rini wrote: > >> I have do a lot of test and re-work in my local branch and at last make > >> it landed in > >> rockchip vendor U-Boot, with testing in most of SoCs(not including > >> rk3066/rk3188). > >> Well, I do try to split it into pieces, but I found that actually not > >> help very much > >> except waste much more time: > >> - The target is(very clear) to make rockchip soc board file in a good > >> shape with common files, > >>     instead of copy-paste for each soc(more than 10 of them now) > >> - then we need to identify what's common and what should go to soc and > >> board; > >> - remove using common rockchip timer and use arm generic timer instead > >> for armv7 > >>     SoCs(rk3066 and rk3188 need still using rockchip timer) > >> - most soc need to do uart init, boot order select, and some > >> arch_cpu_init(). > >> - don't break the boards already working, so I still leave some code > >> which not so common > >>     in board file, but I would like to remove or move them into right > >> place if I got a board > >>     to verify; > >> > >> @Simon, @Tom, > >> This patch set is to remove some common files and add some other common > >> files for > >> all Rockchip SoCs, I have to make sure the whole patch set can running > >> good for all SoCs, > >> but it's really hard to make every patch to build and work perfect for > >> all SoCs, is there > >> any mandatory rules for this? > > So you mean possibly breaking some existing platforms? I don't like the > > idea of doing that... > > No, I'm not intent to to breaking some existing platforms, > this patch set including 36 patches, all the platform should work fine > after apply all these patches, but if only some of them applied, > there is compile error or running error because of feature missing. OK. Similar to the Linux kernel, it's not a good thing to break buildability of things during a patch series. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: