Re: [PATCH] cfa10036: Retrieve the RAM size at runtime

2013-03-25 Thread Maxime Ripard
HI, Le 25/03/2013 13:58, Alexandre Belloni a écrit : > On 25/03/2013 13:51, Sascha Hauer wrote: >> >> index 1bc20cf..37cc17e 100644 >> --- a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c >> +++ b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c >> @@ -39,6 +39,8 @@ >> #include >> #include >

Re: [PATCH] cfa10036: Retrieve the RAM size at runtime

2013-03-25 Thread Alexandre Belloni
On 25/03/2013 13:51, Sascha Hauer wrote: > > index 1bc20cf..37cc17e 100644 > --- a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c > +++ b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c > @@ -39,6 +39,8 @@ > #include > #include > > +#include > + > #include > > #include > @@ -90,9 +9

Re: [PATCH] cfa10036: Retrieve the RAM size at runtime

2013-03-25 Thread Sascha Hauer
On Thu, Mar 21, 2013 at 04:36:38PM +0100, Alexandre Belloni wrote: > The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM > on it. > > Since it's not stored anywhere, we need to runtime detect it by > introducing the cfa10036_get_ram_size function which is similar to > get_ram_si

Re: [PATCH] cfa10036: Retrieve the RAM size at runtime

2013-03-25 Thread Maxime Ripard
Hi Alexandre, Le 21/03/2013 16:36, Alexandre Belloni a écrit : > The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM > on it. > > Since it's not stored anywhere, we need to runtime detect it by > introducing the cfa10036_get_ram_size function which is similar to > get_ram_size.

[PATCH] cfa10036: Retrieve the RAM size at runtime

2013-03-21 Thread Alexandre Belloni
The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM on it. Since it's not stored anywhere, we need to runtime detect it by introducing the cfa10036_get_ram_size function which is similar to get_ram_size. As we run from RAM, we can then use _text and __bss_stop to prevent poking

Re: [PATCH] cfa10036: Retrieve the RAM size at runtime

2013-02-14 Thread Maxime Ripard
Hi Jean-Christophe, Le 13/02/2013 18:09, Jean-Christophe PLAGNIOL-VILLARD a écrit : > On 17:50 Wed 13 Feb , Maxime Ripard wrote: >> The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM >> on it. >> >> Since it's not stored anywhere, we need to runtime detect it, thanks to >>

Re: [PATCH] cfa10036: Retrieve the RAM size at runtime

2013-02-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:50 Wed 13 Feb , Maxime Ripard wrote: > The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM > on it. > > Since it's not stored anywhere, we need to runtime detect it, thanks to > the get_ram_size function. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boards/crys

[PATCH] cfa10036: Retrieve the RAM size at runtime

2013-02-13 Thread Maxime Ripard
The cfa-10036 comes in two flavours, with either 128MB or 256MB of RAM on it. Since it's not stored anywhere, we need to runtime detect it, thanks to the get_ram_size function. Signed-off-by: Maxime Ripard --- arch/arm/boards/crystalfontz-cfa10036/cfa10036.c |3 ++- 1 file changed, 2 insert