Skip to content

arm, davinci: add am1808 based enbw_cmc board

Igor Grinberg u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 of 3 patches 0 repliesNew
  2. v11 of 8 patches 0 repliesSuperseded

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/3arm, davinci: add support for am1808 based enbw_cmc board+0 -04 replies
3/3arm, davinci: add support for am1808 based enbw_cmc board+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/3] arm, davinci: add am1808 based enbw_cmc board

Hi Heiko,

Quoted 41 lines · Heiko Schocher

repost from:
[U-Boot] [PATCH v2 0/3] arm, davinci: add am1808 based enbw_cmc board
http://lists.denx.de/pipermail/u-boot/2011-October/104399.html

Following patches are needed for this patchset
- patchset from Christian Riesch:
[U-Boot] [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI
http://lists.denx.de/pipermail/u-boot/2011-November/111182.html

- [U-Boot,1/2] arm, arm926ejs: always do cpu critical inits patchwork.ozlabs.org/patch/124787/

- [U-Boot] arm, fdt: update ethernet mac address before booting Linux
http://patchwork.ozlabs.org/patch/114736/

- [U-Boot] : davinci: Replace CONFIG_PRELOADER with CONFIG_SPL_BUILD in board/davinci/common/misc.c
http://patchwork.ozlabs.org/patch/114482/

checkpatch:
total: 0 errors, 0 warnings, 75 lines checked

20111128_ml/0001-arm-davinci-move-davinci_rtc-struct-to-hardware.h.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 18 lines checked

20111128_ml/0002-arm-davinci-da850-add-uart1-tx-rx-pinmux-config.patch has no obvious style problems and is ready for submission.
WARNING: Use #include <linux/gpio.h> instead of <asm/gpio.h>
#223: FILE: board/enbw/enbw_cmc/enbw_cmc.c:41:
+#include <asm/gpio.h>

WARNING: Use #include <linux/io.h> instead of <asm/io.h> #229: FILE: board/enbw/enbw_cmc/enbw_cmc.c:47:
+#include <asm/io.h>

WARNING: simple_strtoul is obsolete, use kstrtoul instead #610: FILE: board/enbw/enbw_cmc/enbw_cmc.c:428:
+ sprintf(buf, "%ld", simple_strtoul(s, NULL, 10) + 1);

ERROR: Macros with multiple statements should be enclosed in a do - while loop #951: FILE: include/configs/enbw_cmc.h:99:
+#define CONFIG_DTT_SENSORS {0} /* Sensor addresses */

Quoted 6 lines

total: 1 errors, 3 warnings, 1168 lines checked

20111128_ml/0003-arm-davinci-add-support-for-am1808-based-enbw_cmc-bo.patch has style problems, please review.

If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.

This does not look like tools/checkpatch.pl in current U-Boot source. Have you tried to use the tools/checkpatch.pl from current U-Boot source?

Quoted 25 lines
Cc Paulraj Sandeep <[email protected]>
Cc Albert ARIBAUD <[email protected]>
Cc Igor Grinberg <[email protected]>
Cc Christian Riesch <[email protected]>

Heiko Schocher (3):
arm, davinci: move davinci_rtc struct to hardware.h arm, davinci, da850: add uart1 tx rx pinmux config arm, davinci: add support for am1808 based enbw_cmc board

 MAINTAINERS                                     |    1 +
 arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c   |    5 +
 arch/arm/include/asm/arch-davinci/hardware.h    |   39 ++
 arch/arm/include/asm/arch-davinci/pinmux_defs.h |    1 +
 board/enbw/enbw_cmc/Makefile                    |   51 ++
 board/enbw/enbw_cmc/enbw_cmc.c                  |  652 +++++++++++++++++++++++
 boards.cfg                                      |    1 +
 drivers/rtc/davinci.c                           |   26 -
 include/configs/enbw_cmc.h                      |  451 ++++++++++++++++
 9 files changed, 1201 insertions(+), 26 deletions(-)
 create mode 100644 board/enbw/enbw_cmc/Makefile
 create mode 100644 board/enbw/enbw_cmc/enbw_cmc.c
 create mode 100644 include/configs/enbw_cmc.h
Signature · 2 lines
Regards,
Igor.