lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 11 Aug 2008 09:57:07 -0700
From:	Kevin Hilman <khilman@...prootsystems.com>
To:	"Jaswinder Singh" <jaswinderdavinci@...il.com>
Cc:	"Sudhakar Rajashekhara" <sudhakar.raj@...com>,
	davinci-linux-open-source@...ux.davincidsp.com,
	linux-kernel@...r.kernel.org, lethal@...ux-sh.org
Subject: Re: [PATCH v2 02/13] ARM:DaVinci: base address for dm6467

"Jaswinder Singh" <jaswinderdavinci@...il.com> writes:

> Hello all,
>
> On Fri, Aug 8, 2008 at 4:52 AM, Kevin Hilman
> <khilman@...prootsystems.com> wrote:
>> Sudhakar Rajashekhara <sudhakar.raj@...com> writes:
>>
>>> Source: Texas Instruments Inc.
>>> Type: Enhancement
>>> Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@...com>
>>> Description:
>>> Defines the base addresses and LPSC assignments for dm6467.
>>> ---
>>>  include/asm-arm/arch-davinci/hardware.h        |    2 +
>>>  include/asm-arm/arch-davinci/hardware_dm6467.h |   90 ++++++++++++++++++++++++
>>>  2 files changed, 92 insertions(+), 0 deletions(-)
>>>  create mode 100644 include/asm-arm/arch-davinci/hardware_dm6467.h
>>>
>>> diff --git a/include/asm-arm/arch-davinci/hardware.h b/include/asm-arm/arch-davinci/hardware.h
>>> index a2e8969..1f88572 100644
>>> --- a/include/asm-arm/arch-davinci/hardware.h
>>> +++ b/include/asm-arm/arch-davinci/hardware.h
>>> @@ -11,6 +11,8 @@
>>>  #ifndef __ASM_ARCH_HARDWARE_H
>>>  #define __ASM_ARCH_HARDWARE_H
>>>
>>> +#include <asm/arch/hardware_dm6467.h>
>>> +
>>
>> Yes, Like that this is a separate file.  However, lets just call it dm6467.h
>>
>
> I do not understand what is the point of adding dm6467.h without
> #ifdef CONFIG_ARCH_DAVINCI_DM646x. If I have 6446 why should I add
> 6467. This make sense if I have board with multiple chips like dm6446
> chip and dm6467 chips. Can you please explain.
>
> I can understand you are trying to follow omap model but some other
> nice models are also available for example SH model we can take
> advantage of those.
>
> I like this approach in SH that they are growing in multiple-direction
> as they added supports for cpus, boards and drivers. They did their
> porting in such a way that it is easy to add more boards and more cpus
> by just copying paste and change your settings as per your hardware.
>
> Currently we are assuming 6446 chip as common. I think 6446 part
> should also come in ifdef  CONFIG_ARCH_DAVINCI_DM646x. If I am using
> DM355 why should I need 6446.
>
> And Currently arch-davinci is based only on TI EVM board. There are
> different kinds of boards available in market. To add them in linux
> tree we should move current EVM to CONFIG_MACH_DAVINCI_TIEVM. So I
> think we also need to revise our directory sturcture to grow our
> family.

We're not assuming a 6446/EVM is common or the reference.  It's just
that this is the only one that exists currently in git.  It does not
mean that new stuff hast to follow what is done for 6446.  Now is the
time to re-organize things so that it can expand as more parts are
added.  Patches welcome.

Kevin



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ