OMAP: AM3517/05: Add craneboard support
Subsystems (3)
PATCH 1/1 OMAP: AM3517/05: Add craneboard support
From: Srinath <[email protected]>
This patch adds basic board file. Detailed support will follow in subsequent patches.
[1] http://www.ti.com/sitara [2] http://www.mistralsolutions.com/products/craneboard.php
This patch has been created against omap-next branch.
--- arch/arm/configs/omap2plus_defconfig | 1 + arch/arm/mach-omap2/Kconfig | 5 ++ arch/arm/mach-omap2/Makefile | 2 + arch/arm/mach-omap2/board-am3517crane.c | 70 ++++++++++++++++++++++++++ arch/arm/plat-omap/include/plat/uncompress.h | 1 + 5 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/board-am3517crane.c
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -40,6 +40,7 @@ CONFIG_MACH_OMAP_LDP=y CONFIG_MACH_OVERO=y CONFIG_MACH_OMAP3EVM=y CONFIG_MACH_OMAP3517EVM=y +CONFIG_MACH_CRANEBOARD=y CONFIG_MACH_OMAP3_PANDORA=y CONFIG_MACH_OMAP3_TOUCHBOOK=y CONFIG_MACH_OMAP_3430SDP=y
arch/arm/mach-omap2/Kconfig +5 -0
@@ -174,6 +174,11 @@ config MACH_OMAP3517EVM default y select OMAP_PACKAGE_CBB +config MACH_CRANEBOARD + bool "AM3517/05 CRANE board" + depends on ARCH_OMAP3 + select OMAP_PACKAGE_CBB + config MACH_OMAP3_PANDORA bool "OMAP3 Pandora" depends on ARCH_OMAP3
arch/arm/mach-omap2/Makefile +2 -0
@@ -170,6 +170,8 @@ obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \ obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o +obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o + obj-$(CONFIG_MACH_SBC3530) += board-omap3stalker.o \ hsmmc.o # Platform specific device init code
arch/arm/mach-omap2/board-am3517crane.c new file +70 -0
70 lines not on this page · raw message
arch/arm/plat-omap/include/plat/uncompress.h +1 -0
@@ -145,6 +145,7 @@ static inline void __arch_decomp_setup(unsigned long arch_id)/* omap3 based boards using UART3 */ DEBUG_LL_OMAP3 (3 , cm_t35);DEBUG_LL_OMAP3 (3 , cm_t3517); +DEBUG_LL_OMAP3 (3 , craneboard);DEBUG_LL_OMAP3 (3 , igep0020);DEBUG_LL_OMAP3 (3 , igep0030);DEBUG_LL_OMAP3 (3 , nokia_rx51);
Signature · 1 line
1.7.1.226.g770c5
Hi,
Looking much better now, thanks.
Few suggestion, not usually well documented, but a convention nevertheless:
$subject: might be a good idea to do the following for revision of patch
original patch [PATCH] is considered v1
next revision such as this is considered v2 [PATCH v2] is useful for people to keep track of the revision of patch under discussion.
when you post with git send-email especially in a follow on patch, add --in-reply-to "Original patch subject" - this helps mail readers like gmail/thunderbird etc to properly group them up for the receiver. Honestly, I forget to do this most of the time, but is a good practice to have nonetheless.
[email protected] had written, on 10/25/2010 09:45 AM, the following:
Quoted 7 lines
From: Srinath <[email protected]>
This patch adds basic board file. Detailed support will follow in subsequent patches.
[1] http://www.ti.com/sitara [2] http://www.mistralsolutions.com/products/craneboard.php
Look at other board file addition examples - for example:
IGEP - commit ID: 58e111621d402d41cb0cabae7c532d6194b7d943
it gives a brief description of
a) what the board is
b) overall resemblance to other boards
c) idea about the family of silicon involved
when you give a link - we in the linux-omap probably have heard about sitara family of processors, but the patch needs to go down to linux-arm and lkml - where progressively, the processor is not probably not that well heard of :). it might be nice to state OMAP3 family of processors to give the reviewer an idea about what is being talked about.
http://omapedia.org/wiki/Releasing_to_Linux_kernel_using_patches_and_emails#Note_on_git_commit_comments
See the point on "Suggestions for Commit messages:"
Quoted 2 lines
This patch has been created against omap-next branch.
This is not something you'd like to see in kernel.org commit message right? this is the type of info which could easily fit into diffstat section.
Quoted 3 lines
Signed-off-by Srinath <[email protected]>---
this side of the patch is called the diffstat - >from here to the first diff does not get into the git history when committed with git am - so we can add quiet a few things here
Since this is v2 of the patch series, few suggestions
a) "This patch has been created against omap-next branch" is nice thing to do -> keep in mind, with omap-for-linus being merged to kernel.org, you may want to base further changes on kernel.org - but if you state something to the maintainer, this is the place to do it
b) when you post v2 of a patch, keep in mind you'd like to help a reader who might have missed reviewing your previous patch to review this one in context to the previous patches as well.. at least the rule I try to follow is to have the diffstat of a later series contain details as follows:
v2: change 1
change 2
did not do change 3 - reason why..
v1: link of the discussion, I prefer using marc.info as it can give me a complete thread easily, for example, I'd post a link like this:
http://marc.info/?t=128801458500004&r=1&w=2
Reason for doing this:
a) having additional reviewers improves your code
b) for an old reviewer, v2 sections tell him/her what has changed and he can focus to those changes alone, rest he has already seen
b) for a new reviewer, v1 gives a context of previous discussion, v2 tells him/her what actions where taken by the author as a result and provide comments in reference to that.
Note: this is a bit of a pain as the patch goes through multiple iterations, but as far as I saw, it has at least helped my patches at times :).
Quoted 13 lines
arch/arm/configs/omap2plus_defconfig | 1 + arch/arm/mach-omap2/Kconfig | 5 ++ arch/arm/mach-omap2/Makefile | 2 + arch/arm/mach-omap2/board-am3517crane.c | 70 ++++++++++++++++++++++++++ arch/arm/plat-omap/include/plat/uncompress.h | 1 + 5 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/board-am3517crane.carch/arm/configs/omap2plus_defconfig +0
-0
arch/arm/configs/omap2plus_defconfig CONFIG_MACH_OMAP_LDP=y · line 46
Quoted 7 lines
arch/arm/configs/omap2plus_defconfig +1
-0@@ -40,6 +40,7 @@ CONFIG_MACH_OMAP_LDP=y CONFIG_MACH_OVERO=y CONFIG_MACH_OMAP3EVM=y CONFIG_MACH_OMAP3517EVM=y +CONFIG_MACH_CRANEBOARD=y CONFIG_MACH_OMAP3_PANDORA=y CONFIG_MACH_OMAP3_TOUCHBOOK=y CONFIG_MACH_OMAP_3430SDP=y
I suggest you drop this change -> leave it to Tony when he creates his usual defconfig cleanups :)
look at commit ids:58e111621d402d41cb0cabae7c532d6194b7d943 - IGEP board b075f58b2c0f377b4bfbe11b817e003393bcb489 - PandaBoard for examples how the board introductions have been done recently.
[...]
rest looks ok to me.
Signature · 2 lines
Regards, Nishanth Menon