mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
Merge branch '2019-09-19-master-imports'
- Coding style corrections in some RTC drivers. - Small doc updates. - Regression fix in part_test_dos() - Regression fix on TI OMAP WDTs. - Document deadline for CONFIG_DM migration. - Switch Travis-CI to "xenial" release.
This commit is contained in:
commit
aa8c6294ed
10 changed files with 37 additions and 527 deletions
|
@ -4,7 +4,7 @@
|
|||
# build U-Boot on Travis CI - https://travis-ci.org/
|
||||
|
||||
sudo: required
|
||||
dist: trusty
|
||||
dist: xenial
|
||||
|
||||
language: c
|
||||
|
||||
|
@ -12,7 +12,7 @@ addons:
|
|||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-trusty-7
|
||||
- llvm-toolchain-xenial-7
|
||||
packages:
|
||||
- cppcheck
|
||||
- sloccount
|
||||
|
@ -61,7 +61,7 @@ install:
|
|||
|
||||
env:
|
||||
global:
|
||||
- PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin
|
||||
- PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin:/usr/local/bin
|
||||
- PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci
|
||||
- BUILD_DIR=build
|
||||
- HOSTCC="cc"
|
||||
|
|
8
Makefile
8
Makefile
|
@ -940,6 +940,14 @@ ifneq ($(CONFIG_DM_SPI)$(CONFIG_OF_CONTROL),yy)
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
ifneq ($(CONFIG_DM),y)
|
||||
@echo >&2 "===================== WARNING ======================"
|
||||
@echo >&2 "This board does not use CONFIG_DM. CONFIG_DM will be"
|
||||
@echo >&2 "compulsory starting with the v2020.01 release."
|
||||
@echo >&2 "Failure to update may result in board removal."
|
||||
@echo >&2 "See doc/driver-model/migration.rst for more info."
|
||||
@echo >&2 "===================================================="
|
||||
endif
|
||||
ifeq ($(CONFIG_MMC),y)
|
||||
ifneq ($(CONFIG_DM_MMC)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
|
||||
@echo >&2 "===================== WARNING ======================"
|
||||
|
|
|
@ -93,7 +93,8 @@ static int test_block_type(unsigned char *buffer)
|
|||
static int part_test_dos(struct blk_desc *dev_desc)
|
||||
{
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
ALLOC_CACHE_ALIGN_BUFFER(legacy_mbr, mbr, 1);
|
||||
ALLOC_CACHE_ALIGN_BUFFER(legacy_mbr, mbr,
|
||||
DIV_ROUND_UP(dev_desc->blksz, sizeof(legacy_mbr)));
|
||||
|
||||
if (blk_dread(dev_desc, 0, 1, (ulong *)mbr) != 1)
|
||||
return -1;
|
||||
|
|
|
@ -4,355 +4,8 @@ negligence in combination with ordinary bitrot. Sometimes this goes
|
|||
by unnoticed, but often build errors will result. If nobody cares any
|
||||
more to resolve such problems, then the code is really dead and will
|
||||
be removed from the U-Boot source tree. The remainders rest in peace
|
||||
in the imperishable depths of the git history. This document tries to
|
||||
maintain a list of such former fellows, so archaeologists can check
|
||||
easily if there is something they might want to dig for...
|
||||
The list should be sorted in reverse chronological order.
|
||||
|
||||
|
||||
Board Arch CPU Commit Removed Last known maintainer/contact
|
||||
=================================================================================================
|
||||
ocotea powerpc ppc4xx 29155e73 2015-10-27 Stefan Roese <sr@denx.de>
|
||||
taishan powerpc ppc4xx bb5553c6 2015-10-27 Stefan Roese <sr@denx.de>
|
||||
ebony powerpc ppc4xx 9d9e2f5d 2015-10-27 Stefan Roese <sr@denx.de>
|
||||
taihu powerpc ppc4xx 123b6cd7 2015-10-27 John Otken <jotken@softadvances.com>
|
||||
lcd4_lwmon5 powerpc ppc4xx b6b5e394 2015-10-02 Stefan Roese <sr@denx.de>
|
||||
da830evm arm arm926ejs d7e8b2b9 2015-09-12 Nick Thompson <nick.thompson@gefanuc.com>
|
||||
wireless_space arm arm926ejs b352182a 2015-09-12 Albert ARIBAUD <albert.u.boot@aribaud.net>
|
||||
stxgp3 powerpc mpc85xx 2ec69b88 2015-09-02 Dan Malek <dan@embeddedalley.com>
|
||||
stxssa powerpc mpc85xx 2ec69b88 2015-09-02 Dan Malek <dan@embeddedalley.com>
|
||||
cmi_mpc5xx powerpc mpc5xx 972f5320 2015-09-02
|
||||
zeus powerpc ppc4xx eb5d1dc7 2015-09-02 Stefan Roese <sr@denx.de>
|
||||
sbc405 powerpc ppc4xx 0e030593 2015-09-02
|
||||
pcs440ep powerpc ppc4xx 242836a8 2015-09-02 Stefan Roese <sr@denx.de>
|
||||
p3p440 powerpc ppc4xx c6999e5f 2015-09-02 Stefan Roese <sr@denx.de>
|
||||
csb272/csb472 powerpc ppc4xx 54a3f260 2015-09-02 Tolunay Orkun <torkun@nextio.com>
|
||||
alpr powerpc ppc4xx 0d2fc811 2015-09-02 Stefan Roese <sr@denx.de>
|
||||
balloon3 arm pxa 679d4456 2015-08-30 Marek Vasut <marex@denx.de>
|
||||
cpu9260_128M arm arm926ejs af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
cpu9260 arm arm926ejs af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
cpu9260_nand_128M arm arm926ejs af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
cpu9260_nand arm arm926ejs af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
cpu9G20_128M arm arm926ejs af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
cpu9G20 arm arm926ejs af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
cpuat91 arm arm920t af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
cpuat91_ram arm arm920t af7f884b 2015-08-30 Eric Benard <eric@eukrea.com>
|
||||
davinci_dm355evm arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_dm355leopard arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_dm365evm arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_dm6467evm arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_dm6467Tevm arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_dvevm arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_schmoogie arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_sffsdr arm arm926ejs 6761946f 2015-08-30
|
||||
davinci_sonata arm arm926ejs 6761946f 2015-08-30
|
||||
dig297 arm armv7 5ff33d04 2015-08-30 Luca Ceresoli <luca.ceresoli@comelit.it>
|
||||
ea20 arm arm926ejs 6761946f 2015-08-30
|
||||
eb_cpux9k2 arm arm920t 5522f12b 2015-08-30 Jens Scharsig <esw@bus-elektronik.de>
|
||||
eb_cpux9k2_ram arm arm920t 5522f12b 2015-08-30 Jens Scharsig <esw@bus-elektronik.de>
|
||||
enbw_cmc arm arm926ejs a6f7f787 2015-08-30 Heiko Schocher <hs@denx.de>
|
||||
ima3-mx53 arm armv7 3eb8f58d 2015-08-30
|
||||
imx27lite arm arm926ejs bc0840bc 2015-08-30 Wolfgang Denk <wd@denx.de>
|
||||
imx31_litekit arm arm1136 36d14178 2015-08-30
|
||||
jornada arm sa1100 df0b116d 2015-08-30 Kristoffer Ericson <kristoffer.ericson@gmail.com>
|
||||
lp8x4x arm pxa 9f840b8d 2015-08-30 Sergey Yanovich <ynvich@gmail.com>
|
||||
magnesium arm arm926ejs bc0840bc 2015-08-30 Heiko Schocher <hs@denx.de>
|
||||
mv88f6281gtw_ge arm arm926ejs 7cd768cf 2015-08-30 Prafulla Wadaskar <prafulla@marvell.com>
|
||||
mx51_efikamx arm armv7 b6073fd2 2015-08-30
|
||||
mx51_efikasb arm armv7 b6073fd2 2015-08-30
|
||||
nhk8815 arm arm926ejs 0abdd9d0 2015-08-30 Nomadik Linux Team <STN_WMM_nomadik_linux@list.st.com>
|
||||
nhk8815_onenand arm arm926ejs 0abdd9d0 2015-08-30 Nomadik Linux Team <STN_WMM_nomadik_linux@list.st.com>
|
||||
omap3_mvblx arm armv7 8dc372f9 2015-08-30 Michael Jones <michael.jones@matrix-vision.de>
|
||||
omap3_sdp3430 arm armv7 93b25c08 2015-08-30 Nishanth Menon <nm@ti.com>
|
||||
otc570 arm arm926ejs 819216dd 2015-08-30 Daniel Gorsulowski <daniel.gorsulowski@esd.eu>
|
||||
otc570_dataflash arm arm926ejs 819216dd 2015-08-30 Daniel Gorsulowski <daniel.gorsulowski@esd.eu>
|
||||
palmld arm pxa 35782e9c 2015-08-30 Marek Vasut <marex@denx.de>
|
||||
palmtc arm pxa 8896325d 2015-08-30 Marek Vasut <marex@denx.de>
|
||||
palmtreo680 arm pxa ad4f54ea 2015-08-30 Mike Dunn <mikedunn@newsguy.com>
|
||||
polaris arm pxa f6eac00a 2015-08-30 Stefano Babic <sbabic@denx.de>
|
||||
portuxg20 arm arm926ejs 79d19734 2015-08-30 Markus Hubig <mhubig@imko.de>
|
||||
pxa255_idp arm pxa 49d8899b 2015-08-30 Marek Vasut <marex@denx.de>
|
||||
qong arm arm1136 daf77086 2015-08-30 Wolfgang Denk <wd@denx.de>
|
||||
rd6281a arm arm926ejs 47b87d2e 2015-08-30 Prafulla Wadaskar <prafulla@marvell.com>
|
||||
scb9328 arm arm920t 7650beb7 2015-08-30 Torsten Koschorrek <koschorrek@synertronixx.de>
|
||||
snowball arm armv7 7495e41b 2015-08-30 Mathieu Poirier <mathieu.poirier@linaro.org>
|
||||
stamp9g20 arm arm926ejs 79d19734 2015-08-30 Markus Hubig <mhubig@imko.de>
|
||||
tk71 arm arm926ejs f73db66d 2015-08-30
|
||||
trizepsiv arm pxa f6eac00a 2015-08-30 Stefano Babic <sbabic@denx.de>
|
||||
tt01 arm arm1136 0c81f37d 2015-08-30 Helmut Raiger <helmut.raiger@hale.at>
|
||||
tx25 arm arm926ejs b9599dd8 2015-08-30 John Rigby <jcrigby@gmail.com>
|
||||
u8500_href arm armv7 7495e41b 2015-08-30
|
||||
versatileab arm arm926ejs b928e658 2015-08-30
|
||||
versatilepb arm arm926ejs b928e658 2015-08-30
|
||||
versatileqemu arm arm926ejs b928e658 2015-08-30
|
||||
vision2 arm armv7 bee2b99d 2015-08-30 Stefano Babic <sbabic@denx.de>
|
||||
vl_ma2sc arm arm926ejs 6e830dfc 2015-08-30 Jens Scharsig <esw@bus-elektronik.de>
|
||||
vl_ma2sc_ram arm arm926ejs 6e830dfc 2015-08-30 Jens Scharsig <esw@bus-elektronik.de>
|
||||
vpac270_nor_128 arm pxa 452ef830 2015-08-30 Marek Vasut <marex@denx.de>
|
||||
vpac270_nor_256 arm pxa 452ef830 2015-08-30 Marek Vasut <marex@denx.de>
|
||||
vpac270_ond_256 arm pxa 452ef830 2015-08-30 Marek Vasut <marex@denx.de>
|
||||
xaeniax arm pxa 1c87dd76 2015-08-30
|
||||
zipitz2 arm pxa 49d8899b 2015-08-30 Cliff Brake <cliff.brake@gmail.com>
|
||||
cam_enc_4xx arm arm926ejs 8d775763 2015-08-20 Heiko Schocher <hs@denx.de>
|
||||
afeb9260 arm arm926ejs f6b42c14 2015-05-13 Sergey Lapin <slapin@ossfans.org>
|
||||
tny_a9260 arm arm926ejs f6b42c14 2015-05-13 Albin Tonnerre <albin.tonnerre@free-electrons.com>
|
||||
sbc35_a9g20 arm arm926ejs f6b42c14 2015-05-13 Albin Tonnerre <albin.tonnerre@free-electrons.com>
|
||||
sc3 powerpc ppc4xx 27e72156 2015-05-10 Heiko Schocher <hs@denx.de>
|
||||
T4240EMU powerpc mpc85xx 7fc63cca 2015-05-05 York Sun <yorksun@freescale.com>
|
||||
korat powerpc ppc4xx 5043045d 2015-03-17 Larry Johnson <lrj@acm.org>
|
||||
W7OLMC powerpc ppc4xx 6beecd5d 2015-03-17 Erik Theisen <etheisen@mindspring.com>
|
||||
W7OLMG powerpc ppc4xx 6beecd5d 2015-03-17 Erik Theisen <etheisen@mindspring.com>
|
||||
JSE powerpc ppc4xx 2da8137b 2015-03-17 Stephen Williams <steve@icarus.com>
|
||||
hawkboard arm arm926ejs cb957cda 2015-02-24 Syed Mohammed Khasim <sm.khasim@gmail.com>:Sughosh Ganu <urwithsughosh@gmail.com>
|
||||
tnetv107x arm arm1176 50b82c4b 2015-02-24 Chan-Taek Park <c-park@ti.com>
|
||||
a320evb arm arm920t 29fc6f24 2015-02-24 Po-Yu Chuang <ratbert@faraday-tech.com>
|
||||
cm4008 arm arm920t a2f39e83 2015-02-24 Greg Ungerer <greg.ungerer@opengear.com>
|
||||
cm41xx arm arm920t a2f39e83 2015-02-24
|
||||
dkb arm arm926ejs 346cfba4 2015-02-24 Lei Wen <leiwen@marvell.com>
|
||||
jadecpu arm arm926ejs 41fbbbbc 2015-02-24 Matthias Weisser <weisserm@arcor.de>
|
||||
CATcenter powerpc ppc4xx 5344cc1a 2015-01-23
|
||||
PPChameleonEVB powerpc ppc4xx 5344cc1a 2015-01-23 Andrea "llandre" Marson <andrea.marson@dave-tech.it>
|
||||
P2020DS powerpc mpc85xx 168dcc6c 2015-01-23
|
||||
P2020COME powerpc mpc85xx 89123536 2015-01-23 Ira W. Snyder <iws@ovro.caltech.edu>
|
||||
P2020RDB powerpc mpc85xx 743d4815 2015-01-23 Poonam Aggrwal <poonam.aggrwal@freescale.com>
|
||||
P2010RDB powerpc mpc85xx 743d4815 2015-01-23
|
||||
P1020RDB powerpc mpc85xx 743d4815 2015-01-23
|
||||
P1011RDB powerpc mpc85xx 743d4815 2015-01-23
|
||||
MPC8360EMDS powerpc mpc83xx 8d1e3cb1 2015-01-23 Dave Liu <daveliu@freescale.com>
|
||||
MPC8360ERDK powerpc mpc83xx 8d1e3cb1 2015-01-23 Anton Vorontsov <avorontsov@ru.mvista.com>
|
||||
P3G4 powerpc 74xx_7xx d928664f 2015-01-16 Wolfgang Denk <wd@denx.de>
|
||||
ZUMA powerpc 74xx_7xx d928664f 2015-01-16 Nye Liu <nyet@zumanetworks.com>
|
||||
ppmc7xx powerpc 74xx_7xx d928664f 2015-01-16
|
||||
ELPPC powerpc 74xx_7xx d928664f 2015-01-16
|
||||
mpc7448hpc2 powerpc 74xx_7xx d928664f 2015-01-16 Roy Zang <tie-fei.zang@freescale.com>
|
||||
CPCI405 ppc4xx 405gp 5f1459dc 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
CPCI405DT ppc4xx 405gpr 5f1459dc 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
CPCI405AB ppc4xx 405gpr 5f1459dc 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
G2000 ppc4xx 405ep 5f8f6294 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
WUH405 ppc4xx 405ep fc88a5bf 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
VOH405 ppc4xx 405ep 807db88b 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
PMC405 ppc4xx 405gp d5263304 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
PCI405 ppc4xx 405gp dbe7bb0d 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
OCRTC ppc4xx 405gpr cc6e715f 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
HUB405 ppc4xx 405ep e434d5d7 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
HH405 ppc4xx 405ep 843125da 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
DU440 ppc4xx 440epx 7ac9d47a 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
DU405 ppc4xx 405gpr bc114076 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
DP405 ppc4xx 405ep 9a4018e0 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
CPCIISER4 ppc4xx 405gp 37057260 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
CMS700 ppc4xx 405ep 2404124c 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
ASH405 ppc4xx 405ep b5e7c84f 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
AR405 ppc4xx 405gpr 61b57c4a 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
APC405 ppc4xx 405gpr 2b8a04e5 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
TASREG m68k mcf52x2 cbdc662a 2015-01-13 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
A3000 powerpc mpc824x d622ac39 2015-01-05
|
||||
CPC45 powerpc mpc824x d622ac39 2015-01-05 Josef Wagner <Wagner@Microsys.de>
|
||||
CU824 powerpc mpc824x d622ac39 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
eXalion powerpc mpc824x d622ac39 2015-01-05 Torsten Demke <torsten.demke@fci.com>
|
||||
MVBLUE powerpc mpc824x d622ac39 2015-01-05
|
||||
MUSENKI powerpc mpc824x d622ac39 2015-01-05 Jim Thompson <jim@musenki.com>
|
||||
Sandpoint8240 powerpc mpc824x d622ac39 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
Sandpoint8245 powerpc mpc824x d622ac39 2015-01-05 Jim Thompson <jim@musenki.com>
|
||||
utx8245 powerpc mpc824x d622ac39 2015-01-05 Greg Allen <gallen@arlut.utexas.edu>
|
||||
atc powerpc mpc8260 9067b300 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
CPU86 powerpc mpc8260 f7e1af86 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
CPU87 powerpc mpc8260 f7e1af86 2015-01-05
|
||||
ep82xxm powerpc mpc8260 e2b19629 2015-01-05
|
||||
gw8260 powerpc mpc8260 8eecbaf3 2015-01-05 Oliver Brown <obrown@adventnetworks.com>
|
||||
IPHASE4539 powerpc mpc8260 87882f57 2015-01-05 Wolfgang Grandegger <wg@denx.de>
|
||||
muas3001 powerpc mpc8260 d2fd1d66 2015-01-05 Heiko Schocher <hs@denx.de>
|
||||
PM825 powerpc mpc8260 dc0b2fb4 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
PM826 powerpc mpc8260 dc0b2fb4 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
PM828 powerpc mpc8260 dc0b2fb4 2015-01-05
|
||||
MPC8266ADS powerpc mpc8260 b3a2bbe1 2015-01-05 Rune Torgersen <runet@innovsys.com>
|
||||
VoVPN-GW powerpc mpc8260 cc90905f 2015-01-05
|
||||
ep8260 powerpc mpc8260 4ad015ba 2015-01-05 Frank Panno <fpanno@delphintech.com>
|
||||
ppmc8260 powerpc mpc8260 793116d2 2015-01-05 Brad Kemp <Brad.Kemp@seranoa.com>
|
||||
sacsng powerpc mpc8260 b35c0ad6 2015-01-05 Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
|
||||
cogent_mpc8260 powerpc mpc8260 d19f6a60 2015-01-05 Murray Jensen <Murray.Jensen@csiro.au>
|
||||
cogent_8xx powerpc mpc8xx d19f6a60 2015-01-05 Murray Jensen <Murray.Jensen@csiro.au>
|
||||
ESTEEM192E powerpc mpc8xx af0e3514 2015-01-05 Conn Clark <clark@esteem.com>
|
||||
IP860 powerpc mpc8xx 5ec71100 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
IVML24 powerpc mpc8xx ca620cd1 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
IVMS8 powerpc mpc8xx ca620cd1 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
lwmon powerpc mpc8xx acc2372d 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
NETVIA powerpc mpc8xx f017cd7f 2015-01-05 Pantelis Antoniou <panto@intracom.gr>
|
||||
R360MPI powerpc mpc8xx 79cbecb8 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
RRvision powerpc mpc8xx 8737fc75 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
SPD823TS powerpc mpc8xx 72ba368f 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
KUP4K powerpc mpc8xx 4317d070 2015-01-05 Klaus Heydeck <heydeck@kieback-peter.de>
|
||||
KUP4X powerpc mpc8xx 4317d070 2015-01-05 Klaus Heydeck <heydeck@kieback-peter.de>
|
||||
ELPT860 powerpc mpc8xx 3c5b20f1 2015-01-05 The LEOX team <team@leox.org>
|
||||
uc100 powerpc mpc8xx ceaf499b 2015-01-05 Stefan Roese <sr@denx.de>
|
||||
FPS850L powerpc mpc8xx 5d2a5ef7 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
FPS860L powerpc mpc8xx 5d2a5ef7 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
NSCU powerpc mpc8xx 5d2a5ef7 2015-01-05
|
||||
SM850 powerpc mpc8xx 5d2a5ef7 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
TK885D powerpc mpc8xx 5d2a5ef7 2015-01-05
|
||||
virtlab2 powerpc mpc8xx 5d2a5ef7 2015-01-05 Wolfgang Denk <wd@denx.de>
|
||||
hermes powerpc mpc8xx 36da51e 2014-12-08 Wolfgang Denk <wd@denx.de>
|
||||
TOP860 powerpc mpc860 d58a945 2014-10-28 Reinhard Meyer <reinhard.meyer@emk-elektronik.de>
|
||||
TOP9000 arm at91sam9xeXXX d58a945 2014-10-28 Reinhard Meyer <reinhard.meyer@emk-elektronik.de>
|
||||
TQM8272 powerpc mpc8260 f06f9a1 2014-10-27 Wolfgang Denk <wd@denx.de>
|
||||
TQM8260 powerpc mpc8260 ccc1950 2014-10-27 Wolfgang Denk <wd@denx.de>
|
||||
IDS8247 powerpc mpc8260 6afb357 2014-10-27 Heiko Schocher <hs@denx.de>
|
||||
HWW1U1A powerpc mpc85xx 4109cb0 2014-10-27 Kyle Moffett <Kyle.D.Moffett@boeing.com>
|
||||
hymod powerpc mpc8260 5038d7f 2014-10-27 Murray Jensen <Murray.Jensen@csiro.au>
|
||||
MHPC powerpc mpc8xx 1655f9f 2014-10-27 Frank Gottschling <fgottschling@eltec.de>
|
||||
ICU862 powerpc mpc8xx 4af5f0f 2014-10-27 Wolfgang Denk <wd@denx.de>
|
||||
CPCI750 powerpc 74xx_7xx 03b0040 2014-10-27 Reinhard Arlt <reinhard.arlt@esd-electronics.com>
|
||||
DB64360 powerpc 74xx_7xx 03b0040 2014-10-27
|
||||
DB64460 powerpc 74xx_7xx 03b0040 2014-10-27
|
||||
p3m750 powerpc 74xx_7xx 03b0040 2014-10-27 Stefan Roese <sr@denx.de>
|
||||
p3m7448 powerpc 74xx_7xx 03b0040 2014-10-27 Stefan Roese <sr@denx.de>
|
||||
MERGERBOX powerpc mpc83xx e7a5656 2014-10-10 Andre Schwarz <andre.schwarz@matrix-vision.de>
|
||||
MVBLM7 powerpc mpc83xx e7a5656 2014-10-10 Andre Schwarz <andre.schwarz@matrix-vision.de>
|
||||
bluestone powerpc ppc4xx 9ed3246 2014-10-10 Tirumala Marri <tmarri@apm.com>
|
||||
CRAYL1 powerpc ppc4xx 1521cdc 2014-10-10 David Updegraff <dave@cray.com>
|
||||
KAREF powerpc ppc4xx dc9617e 2014-10-10 Travis Sawyer <travis.sawyer@sandburst.com>
|
||||
METROBOX powerpc ppc4xx dc9617e 2014-10-10 Travis Sawyer <travis.sawyer@sandburst.com>
|
||||
PK1C20 nios2 - 70fbc461 2014-08-24 Scott McNutt <smcnutt@psyent.com>
|
||||
PCI5441 nios2 - 70fbc461 2014-08-24 Scott McNutt <smcnutt@psyent.com>
|
||||
flagadm powerpc mpc8xx aec6f8c5 2014-08-22 Kári Davíðsson <kd@flaga.is>
|
||||
gen860t powerpc mpc8xx 6bde1ec1 2014-08-22 Keith Outwater <Keith_Outwater@mvis.com>
|
||||
sixnet powerpc mpc8xx 4723ce49 2014-08-22 Dave Ellis <DGE@sixnetio.com>
|
||||
svm_sc8xx powerpc mpc8xx d1a4aafd 2014-08-22 John Zhan <zhanz@sinovee.com>
|
||||
stxxtc powerpc mpc8xx 0ace4d9d 2014-08-22 Dan Malek <dan@embeddedalley.com>
|
||||
omap5912osk arm arm926ejs 62d636aa 2014-08-22 Rishi Bhattacharya <rishi@ti.com>
|
||||
p1023rds powerpc mpc85xx d0bc5140 2014-07-22 Roy Zang <tie-fei.zang@freescale.com>
|
||||
spc1920 powerpc mpc8xx 98ad54be 2014-07-07
|
||||
v37 powerpc mpc8xx b8c1438a 2014-07-07
|
||||
fads powerpc mpc8xx 03f9d7d1 2014-07-07
|
||||
netphone powerpc mpc8xx c51c1c9a 2014-07-07
|
||||
netta2 powerpc mpc8xx c51c1c9a 2014-07-07
|
||||
netta powerpc mpc8xx c51c1c9a 2014-07-07
|
||||
rbc823 powerpc mpc8xx c750b9c0 2014-07-07
|
||||
quantum powerpc mpc8xx 0657e46e 2014-07-07
|
||||
RPXlite_dw powerpc mpc8xx 0657e46e 2014-07-07
|
||||
qs850 powerpc mpc8xx dab0f762 2014-07-07
|
||||
qs860t powerpc mpc8xx dab0f762 2014-07-07
|
||||
simpc8313 powerpc mpc83xx 7445207f 2014-06-05 Ron Madrid <info@sheldoninst.com>
|
||||
hidden_dragon powerpc mpc824x 3fe1a854 2014-05-30 Yusdi Santoso <yusdi_santoso@adaptec.com>
|
||||
debris powerpc mpc824x 7edb1f7b 2014-05-30 Sangmoon Kim <dogoil@etinsys.com>
|
||||
kvme080 powerpc mpc824x 2868f862 2014-05-30 Sangmoon Kim <dogoil@etinsys.com>
|
||||
ep8248 powerpc mpc8260 49ad566d 2014-05-30 Yuli Barcohen <yuli@arabellasw.com>
|
||||
ispan powerpc mpc8260 80bae39a 2014-05-30 Yuli Barcohen <yuli@arabellasw.com>
|
||||
rattler powerpc mpc8260 d0664db4 2014-05-30 Yuli Barcohen <yuli@arabellasw.com>
|
||||
zpc1900 powerpc mpc8260 6f80bb48 2014-05-30 Yuli Barcohen <yuli@arabellasw.com>
|
||||
mpc8260ads powerpc mpc8260 facb6725 2014-05-30 Yuli Barcohen <yuli@arabellasw.com>
|
||||
adder powerpc mpc8xx 373a9788 2014-05-30 Yuli Barcohen <yuli@arabellasw.com>
|
||||
quad100hd powerpc ppc405ep 3569571d 2014-05-30 Gary Jennejohn <gljennjohn@googlemail.com>
|
||||
incaip mips mips32 538cf92c 2014-04-20 Wolfgang Denk <wd@denx.de>
|
||||
lubbock arm pxa 36bf57b 2014-04-18 Kyle Harris <kharris@nexus-tech.net>
|
||||
EVB64260 powerpc mpc824x bb3aef9 2014-04-18
|
||||
MOUSSE powerpc mpc824x 03f2ecc 2014-04-18
|
||||
rsdproto powerpc mpc8260 8b043e6 2014-04-18
|
||||
RPXsuper powerpc mpc8260 0ebf5f5 2014-04-18
|
||||
RPXClassic powerpc mpc8xx 4fb3925 2014-04-18
|
||||
RPXlite powerpc mpc8xx 4fb3925 2014-04-18
|
||||
FADS powerpc mpc8xx aa6e1e4 2014-04-18
|
||||
genietv powerpc mpc8xx b8a49bd 2014-04-18
|
||||
mbx8xx powerpc mpc8xx d6b11fd 2014-04-18
|
||||
nx823 powerpc mpc8xx a146e8b 2014-04-18
|
||||
idmr m68k mcf52x2 ba650e9b 2014-01-28
|
||||
M5271EVB m68k mcf52x2 ba650e9b 2014-01-28
|
||||
dvl_host arm ixp e317de6b 2014-01-28 Michael Schwingen <michael@schwingen.org>
|
||||
actux4 arm ixp 6ff7aafa 2014-01-28 Michael Schwingen <michael@schwingen.org>
|
||||
actux3 arm ixp 38da33f3 2014-01-28 Michael Schwingen <michael@schwingen.org>
|
||||
actux2 arm ixp 13e0ee7f 2014-01-28 Michael Schwingen <michael@schwingen.org>
|
||||
actux1 arm ixp 373ee048 2014-01-28 Michael Schwingen <michael@schwingen.org>
|
||||
mx1ads arm arm920t e570aca9 2014-01-13
|
||||
mini2440 arm arm920t af5b9b1f 2014-01-13 Gabriel Huau <contact@huau-gabriel.fr>
|
||||
omap730p2 arm arm926ejs 79c5c08d 2013-11-11
|
||||
pn62 powerpc mpc824x 649acfe1 2013-11-11 Wolfgang Grandegger <wg@grandegger.com>
|
||||
pdnb3 arm ixp 304db0b 2013-09-24 Stefan Roese <sr@denx.de>
|
||||
scpu arm ixp 304db0b 2013-09-24 Stefan Roese <sr@denx.de>
|
||||
omap1510inn arm arm925t 0610a16 2013-09-23 Kshitij Gupta <kshitij@ti.com>
|
||||
CANBT powerpc 405CR fb8f4fd 2013-08-07 Matthias Fuchs <matthias.fuchs@esd.eu>
|
||||
omap2420h4 arm omap24xx 7f5eef9 2013-06-04 Richard Woodruff <r-woodruff2@ti.com>
|
||||
Alaska8220 powerpc mpc8220 d6ed322 2013-05-11
|
||||
Yukon8220 powerpc mpc8220 d6ed322 2013-05-11
|
||||
sorcery powerpc mpc8220 d6ed322 2013-05-11
|
||||
smdk6400 arm arm1176 52587f1 2013-04-12 Zhong Hongbo <bocui107@gmail.com>
|
||||
ns9750dev arm arm926ejs 4cfc611 2013-02-28 Markus Pietrek <mpietrek@fsforth.de>
|
||||
eNET x86 x86 7e8c53d 2013-02-14 Graeme Russ <graeme.russ@gmail.com>
|
||||
PCIPPC2 powerpc MPC740/MPC750 7c9e89b 2013-02-07 Wolfgang Denk <wd@denx.de>
|
||||
PCIPPC6 powerpc MPC740/MPC750 7c9e89b 2013-02-07 Wolfgang Denk <wd@denx.de>
|
||||
AMX860 powerpc mpc860 1b0757e 2012-10-28 Wolfgang Denk <wd@denx.de>
|
||||
c2mon powerpc mpc855 1b0757e 2012-10-28 Wolfgang Denk <wd@denx.de>
|
||||
EP88x powerpc mpc885 1b0757e 2012-10-28
|
||||
ETX094 powerpc mpc850 1b0757e 2012-10-28 Wolfgang Denk <wd@denx.de>
|
||||
IAD210 powerpc mpc860 1b0757e 2012-10-28 -
|
||||
LANTEC powerpc mpc850 1b0757e 2012-10-28 Wolfgang Denk <wd@denx.de>
|
||||
SCM powerpc mpc8260 1b0757e 2012-10-28 Wolfgang Grandegger <wg@denx.de>
|
||||
SX1 arm arm925t 53c4154 2012-10-26
|
||||
TQM85xx powerpc MPC85xx d923a5d 2012-10-04 Stefan Roese <sr@denx.de>
|
||||
ADCIOP powerpc ppc4xx 99bcad1 2012-09-19 Matthias Fuchs <matthias.fuchs@esd-electronics.com>
|
||||
DASA_SIM powerpc ppc4xx 99bcad1 2012-09-19 Matthias Fuchs <matthias.fuchs@esd-electronics.com>
|
||||
apollon arm omap24xx 535c74f 2012-09-18 Kyungmin Park <kyungmin.park@samsung.com>
|
||||
tb0229 mips mips32 3f3110d 2011-12-12
|
||||
OXC powerpc MPC8240 309a292 2011-12-07
|
||||
BAB7xx powerpc MPC740/MPC750 c53043b 2011-12-07 Frank Gottschling <fgottschling@eltec.de>
|
||||
xm250 arm pxa c477d72 2011-11-25
|
||||
pleb2 arm pxa d299173 2011-11-25
|
||||
cradle arm pxa 00c4aca 2011-11-25 Kyle Harris <kharris@nexus-tech.net>
|
||||
cerf250 arm pxa f13eba6 2011-11-25 Prakash Kumar <prakash@embedx.com>
|
||||
mpq101 powerpc mpc85xx e877fab 2011-10-23 Alex Dubov <oakad@yahoo.com>
|
||||
ixdpg425 arm ixp 0ca8eb7 2011-09-22 Stefan Roese <sr@denx.de>
|
||||
ixdp425 arm ixp 0ca8eb7 2011-09-22 Kyle Harris <kharris@nexus-tech.net>
|
||||
zylonite arm pxa b66521a 2011-09-05
|
||||
shannon arm sa1100 5df092d 2011-09-05 Rolf Offermanns <rof@sysgo.de>
|
||||
modnet50 arm arm720t 9c62815 2011-09-05 Thomas Elste <info@elste.org>
|
||||
lpc2292sodimm arm arm720t d1a067a 2011-09-05
|
||||
lart arm sa1100 3d57573 2011-09-05 Alex Züpke <azu@sysgo.de>
|
||||
impa7 arm arm720t c1f8750 2011-09-05 Marius Gröger <mag@sysgo.de>
|
||||
gcplus arm sa1100 2c650e2 2011-09-05 George G. Davis <gdavis@mvista.com>
|
||||
evb4510 arm arm720t 26e670e 2011-09-05 Curt Brune <curt@cucy.com>
|
||||
ep7312 arm arm720t c8f63b4 2011-09-05 Marius Gröger <mag@sysgo.de>
|
||||
dnp1110 arm sa1100 fc5e5ce 2011-09-05 Alex Züpke <azu@sysgo.de>
|
||||
SMN42 arm arm720t 6aac646 2011-09-05
|
||||
at91rm9200dk arm arm920t 1c85752 2011-07-17
|
||||
m501sk arm arm920t b1a2bd4 2011-07-17
|
||||
kb9202 arm arm920t 5bd3814 2011-07-17
|
||||
csb637 arm arm920t d14af08 2011-07-17
|
||||
cmc_pu2 arm arm920t 37a9b4d 2011-07-17
|
||||
at91cap9adk arm arm926ejs b550834 2011-07-17 Stelian Pop <stelian@popies.net>
|
||||
voiceblue arm arm925t 1b793a4 2011-07-17
|
||||
smdk2400 arm arm920t ad218a8 2011-07-17 Gary Jennejohn <garyj@denx.de>
|
||||
sbc2410x arm arm920t 1f7f0ed 2011-07-17
|
||||
netstar arm arm925t 6ea2405 2011-07-17
|
||||
mx1fs2 arm arm920t 6962419 2011-07-17
|
||||
lpd7a404 arm lh7a40x 957731e 2011-07-17
|
||||
edb9301 arm arm920t 716f7ad 2011-07-17
|
||||
edb9302 arm arm920t 716f7ad 2011-07-17
|
||||
edb9302a arm arm920t 716f7ad 2011-07-17
|
||||
edb9307 arm arm920t 716f7ad 2011-07-17
|
||||
edb9307a arm arm920t 716f7ad 2011-07-17
|
||||
edb9312 arm arm920t 716f7ad 2011-07-17
|
||||
edb9315 arm arm920t 716f7ad 2011-07-17
|
||||
edb9315a arm arm920t 716f7ad 2011-07-17
|
||||
B2 arm s3c44b0 5dcf536 2011-07-16 Andrea Scian <andrea.scian@dave-tech.it>
|
||||
armadillo arm arm720t be28857 2011-07-16 Rowel Atienza <rowel@diwalabs.com>
|
||||
assabet arm sa1100 c91e90d 2011-07-16 George G. Davis <gdavis@mvista.com>
|
||||
trab arm S3C2400 566e5cf 2011-05-01 Gary Jennejohn <garyj@denx.de>
|
||||
mp2usb ARM AT91RM2900 ee986e2 2011-01-25 Eric Bénard <eric@eukrea.com>
|
||||
barco powerpc MPC8245 afaa27b 2010-11-23 Marc Leeman <marc.leeman@barco.com>
|
||||
ERIC powerpc 405GP d9ba451 2010-11-21 Swen Anderson <sand@peppercon.de>
|
||||
VoVPN-GW_100MHz powerpc MPC8260 26fe3d2 2010-10-24 Juergen Selent <j.selent@elmeg.de>
|
||||
xsengine ARM PXA2xx 4262a7c 2010-10-20
|
||||
wepep250 ARM PXA2xx 7369478 2010-10-20 Peter Figuli <peposh@etc.sk>
|
||||
delta ARM PXA2xx 75e2035 2010-10-20
|
||||
NC650 powerpc MPC852 333d86d 2010-10-19 Wolfgang Denk <wd@denx.de>
|
||||
CP850 powerpc MPC852 333d86d 2010-10-19 Wolfgang Denk <wd@denx.de>
|
||||
logodl ARM PXA2xx 059e778 2010-10-18 August Hoeraendl <august.hoerandl@gmx.at>
|
||||
CCM powerpc MPC860 dff07e1 2010-10-06 Wolfgang Grandegger <wg@denx.de>
|
||||
PCU_E powerpc MPC860T 544d97e 2010-10-06 Wolfgang Denk <wd@denx.de>
|
||||
HMI10 powerpc MPC823 77efe35 2010-09-19 Wolfgang Denk <wd@denx.de>
|
||||
GTH powerpc MPC860 0fe247b 2010-07-17 Thomas Lange <thomas@corelatus.se>
|
||||
AmigaOneG3SE powerpc 74xx_7xx 953b7e6 2010-06-23
|
||||
suzaku microblaze - 4f18060 2009-10-03 Yasushi Shoji <yashi@atmark-techno.com>
|
||||
XUPV2P microblaze - 8fab49e 2008-12-10 Michal Simek <monstr@monstr.eu>
|
||||
MVS1 powerpc MPC823 306620b 2008-08-26 Andre Schwarz <andre.schwarz@matrix-vision.de>
|
||||
adsvix ARM PXA27x 7610db1 2008-07-30 Adrian Filipi <adrian.filipi@eurotech.com>
|
||||
R5200 ColdFire - 48ead7a 2008-03-31 Zachary P. Landau <zachary.landau@labxtechnologies.com>
|
||||
CPCI440 powerpc 440GP b568fd2 2007-12-27 Matthias Fuchs <matthias.fuchs@esd-electronics.com>
|
||||
in the imperishable depths of the git history. Please use the tools
|
||||
git provides to read through this history. A common example would be:
|
||||
$ git log -p --follow -- board/technexion/twister
|
||||
to see the history and changes made to the Technexion "twister" board
|
||||
from introduction to removal.
|
||||
|
|
|
@ -7,6 +7,16 @@ U-Boot has been migrating to a new driver model since its introduction in
|
|||
2014. This file describes the schedule for deprecation of pre-driver-model
|
||||
features.
|
||||
|
||||
CONFIG_DM
|
||||
---------
|
||||
|
||||
* Status: In progress
|
||||
* Deadline: 2020.01
|
||||
|
||||
Starting with the 2010.01 release CONFIG_DM will be enabled for all boards.
|
||||
This does not concern CONFIG_DM_SPL and CONFIG_DM_TPL. The conversion date for
|
||||
these configuration items still needs to be defined.
|
||||
|
||||
CONFIG_DM_MMC
|
||||
-------------
|
||||
|
||||
|
|
|
@ -224,7 +224,7 @@ For example:
|
|||
#include <dt-structs.h>
|
||||
|
||||
struct mmc_platdata {
|
||||
#if CONFIG_IS_ENABLED(SPL_OF_PLATDATA)
|
||||
#if CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
/* Put this first since driver model will copy the data here */
|
||||
struct dtd_mmc dtplat;
|
||||
#endif
|
||||
|
@ -237,7 +237,7 @@ For example:
|
|||
|
||||
static int mmc_ofdata_to_platdata(struct udevice *dev)
|
||||
{
|
||||
#if !CONFIG_IS_ENABLED(SPL_OF_PLATDATA)
|
||||
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
/* Decode the device tree data */
|
||||
struct mmc_platdata *plat = dev_get_platdata(dev);
|
||||
const void *blob = gd->fdt_blob;
|
||||
|
@ -253,7 +253,7 @@ For example:
|
|||
{
|
||||
struct mmc_platdata *plat = dev_get_platdata(dev);
|
||||
|
||||
#if CONFIG_IS_ENABLED(SPL_OF_PLATDATA)
|
||||
#if CONFIG_IS_ENABLED(OF_PLATDATA)
|
||||
/* Decode the of-platdata from the C structures */
|
||||
struct dtd_mmc *dtplat = &plat->dtplat;
|
||||
|
||||
|
@ -308,7 +308,7 @@ The dt-structs.h file includes the generated file
|
|||
(include/generated//dt-structs.h) if CONFIG_SPL_OF_PLATDATA is enabled.
|
||||
Otherwise (such as in U-Boot proper) these structs are not available. This
|
||||
prevents them being used inadvertently. All usage must be bracketed with
|
||||
#if CONFIG_IS_ENABLED(SPL_OF_PLATDATA).
|
||||
#if CONFIG_IS_ENABLED(OF_PLATDATA).
|
||||
|
||||
The dt-platdata.c file contains the device declarations and is is built in
|
||||
spl/dt-platdata.c.
|
||||
|
|
|
@ -260,10 +260,11 @@ int rtc_enable_32khz_output(int busnum, int chip_addr)
|
|||
struct udevice *dev;
|
||||
|
||||
ret = i2c_get_chip_for_busnum(busnum, chip_addr, 1, &dev);
|
||||
if (!ret)
|
||||
if (!ret) {
|
||||
ret = dm_i2c_reg_write(dev, RTC_STAT_REG_ADDR,
|
||||
RTC_STAT_BIT_BB32KHZ |
|
||||
RTC_STAT_BIT_EN32KHZ);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -150,7 +150,6 @@ static int omap3_wdt_reset(struct udevice *dev)
|
|||
{
|
||||
struct omap3_wdt_priv *priv = dev_get_priv(dev);
|
||||
|
||||
priv->wdt_trgr_pattern = 0x1234;
|
||||
/*
|
||||
* Somebody just triggered watchdog reset and write to WTGR register
|
||||
* is in progress. It is resetting right now, no need to trigger it
|
||||
|
@ -231,6 +230,7 @@ static int omap3_wdt_probe(struct udevice *dev)
|
|||
if (!priv->regs)
|
||||
return -EINVAL;
|
||||
|
||||
priv->wdt_trgr_pattern = 0x1234;
|
||||
debug("%s: Probing wdt%u\n", __func__, dev->seq);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
* CONFIG_VAL(FOO) evaluates to the value of
|
||||
* CONFIG_FOO if CONFIG_SPL_BUILD is undefined,
|
||||
* CONFIG_SPL_FOO if CONFIG_SPL_BUILD is defined.
|
||||
* CONFIG_TPL_FOO if CONFIG_TPL_BUILD is defined.
|
||||
*/
|
||||
#define CONFIG_VAL(option) config_val(option)
|
||||
|
||||
|
@ -82,6 +83,7 @@
|
|||
* CONFIG_IS_ENABLED(FOO) evaluates to
|
||||
* 1 if CONFIG_SPL_BUILD is undefined and CONFIG_FOO is set to 'y' or 'm',
|
||||
* 1 if CONFIG_SPL_BUILD is defined and CONFIG_SPL_FOO is set to 'y' or 'm',
|
||||
* 1 if CONFIG_TPL_BUILD is defined and CONFIG_TPL_FOO is set to 'y' or 'm',
|
||||
* 0 otherwise.
|
||||
*/
|
||||
#define CONFIG_IS_ENABLED(option) \
|
||||
|
|
|
@ -1,165 +0,0 @@
|
|||
#!/usr/bin/env python2
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
||||
#
|
||||
|
||||
"""
|
||||
Fill the "Commit" and "Removed" fields of doc/README.scrapyard
|
||||
|
||||
The file doc/README.scrapyard is used to keep track of removed boards.
|
||||
|
||||
When we remove support for boards, we are supposed to add entries to
|
||||
doc/README.scrapyard leaving "Commit" and "Removed" fields blank.
|
||||
|
||||
The "Commit" field is the commit hash in which the board was removed
|
||||
and the "Removed" is the date at which the board was removed. Those
|
||||
two are known only after the board removal patch was applied, thus they
|
||||
need to be filled in later.
|
||||
|
||||
This effectively means that the person who removes other boards is
|
||||
supposed to fill in the blank fields before adding new entries to
|
||||
doc/README.scrapyard.
|
||||
|
||||
That is a really tedious task that should be automated.
|
||||
This script fills the blank fields of doc/README.scrapyard for you!
|
||||
|
||||
Usage:
|
||||
|
||||
The "Commit" and "Removed" fields must be "-". The other fields should
|
||||
have already been filled in by a former commit.
|
||||
|
||||
Run
|
||||
scripts/fill_scrapyard.py
|
||||
"""
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
DOC='doc/README.scrapyard'
|
||||
|
||||
def get_last_modify_commit(file, line_num):
|
||||
"""Get the commit that last modified the given line.
|
||||
|
||||
This function runs "git blame" against the given line of the given
|
||||
file and returns the commit hash that last modified it.
|
||||
|
||||
Arguments:
|
||||
file: the file to be git-blame'd.
|
||||
line_num: the line number to be git-blame'd. This line number
|
||||
starts from 1, not 0.
|
||||
|
||||
Returns:
|
||||
Commit hash that last modified the line. The number of digits is
|
||||
long enough to form a unique commit.
|
||||
"""
|
||||
result = subprocess.check_output(['git', 'blame', '-L',
|
||||
'%d,%d' % (line_num, line_num), file])
|
||||
commit = result.split()[0]
|
||||
|
||||
if commit[0] == '^':
|
||||
sys.exit('%s: line %d: ' % (file, line_num) +
|
||||
'this line was modified before the beginning of git history')
|
||||
|
||||
if commit == '0' * len(commit):
|
||||
sys.exit('%s: line %d: locally modified\n' % (file, line_num) +
|
||||
'Please run this script in a clean repository.')
|
||||
|
||||
return commit
|
||||
|
||||
def get_committer_date(commit):
|
||||
"""Get the committer date of the given commit.
|
||||
|
||||
This function returns the date when the given commit was applied.
|
||||
|
||||
Arguments:
|
||||
commit: commit-ish object.
|
||||
|
||||
Returns:
|
||||
The committer date of the given commit in the form YY-MM-DD.
|
||||
"""
|
||||
committer_date = subprocess.check_output(['git', 'show', '-s',
|
||||
'--format=%ci', commit])
|
||||
return committer_date.split()[0]
|
||||
|
||||
def move_to_topdir():
|
||||
"""Change directory to the top of the git repository.
|
||||
|
||||
Or, exit with an error message if called out of a git repository.
|
||||
"""
|
||||
try:
|
||||
toplevel = subprocess.check_output(['git', 'rev-parse',
|
||||
'--show-toplevel'])
|
||||
except subprocess.CalledProcessError:
|
||||
sys.exit('Please run in a git repository.')
|
||||
|
||||
# strip '\n'
|
||||
toplevel = toplevel.rstrip()
|
||||
|
||||
# Change the current working directory to the toplevel of the respository
|
||||
# for our easier life.
|
||||
os.chdir(toplevel)
|
||||
|
||||
class TmpFile:
|
||||
|
||||
"""Useful class to handle a temporary file.
|
||||
|
||||
tempfile.mkstemp() is often used to create a unique temporary file,
|
||||
but what is inconvenient is that the caller is responsible for
|
||||
deleting the file when done with it.
|
||||
|
||||
Even when the caller errors out on the way, the temporary file must
|
||||
be deleted somehow. The idea here is that we delete the file in
|
||||
the destructor of this class because the destructor is always
|
||||
invoked when the instance of the class is freed.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
"""Constructor - create a temporary file"""
|
||||
fd, self.filename = tempfile.mkstemp()
|
||||
self.file = os.fdopen(fd, 'w')
|
||||
|
||||
def __del__(self):
|
||||
"""Destructor - delete the temporary file"""
|
||||
try:
|
||||
os.remove(self.filename)
|
||||
except:
|
||||
pass
|
||||
|
||||
def main():
|
||||
move_to_topdir()
|
||||
|
||||
line_num = 1
|
||||
|
||||
tmpfile = TmpFile()
|
||||
for line in open(DOC):
|
||||
tmp = line.split(None, 5)
|
||||
modified = False
|
||||
|
||||
if len(tmp) >= 5:
|
||||
# fill "Commit" field
|
||||
if tmp[3] == '-':
|
||||
tmp[3] = get_last_modify_commit(DOC, line_num)
|
||||
modified = True
|
||||
# fill "Removed" field
|
||||
if tmp[4] == '-':
|
||||
tmp[4] = get_committer_date(tmp[3])
|
||||
if modified:
|
||||
line = tmp[0].ljust(17)
|
||||
line += tmp[1].ljust(12)
|
||||
line += tmp[2].ljust(15)
|
||||
line += tmp[3].ljust(12)
|
||||
line += tmp[4].ljust(12)
|
||||
if len(tmp) >= 6:
|
||||
line += tmp[5]
|
||||
line = line.rstrip() + '\n'
|
||||
|
||||
tmpfile.file.write(line)
|
||||
line_num += 1
|
||||
|
||||
os.rename(tmpfile.filename, DOC)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Reference in a new issue