07 Jan, 2009
40 commits
-
Signed-off-by: Mike Frysinger
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu -
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu -
Signed-off-by: Cliff Cai
Signed-off-by: Bryan Wu -
Bug: Boot kernel in BF533-EZKIT without set ip during boot,
it stops at initial console.Restore serial platform_device data to fix this issue.
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu -
Fix typo - kernel crash on bf533-stamp/bf533-ezkit after config IP for ethernet port
Signed-off-by: Michael Hennerich
Signed-off-by: Bryan Wu -
Signed-off-by: Cliff Cai
Signed-off-by: Bryan Wu -
fix this typo in this patch
Reported-by: Ben Matthews
Signed-off-by: Robin Getz
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
change the hwtrace description to be less confusing and default it to on
(since there shouldnt be any crashes in the miss handler code itself)Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
[Mike Frysinger : scrub comment header]
Signed-off-by: Graf Yang
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Graf Yang
Signed-off-by: Bryan Wu -
rewrite get_sclk()/get_vco() based on the assumption sclk/vco never
changes (since today it cannot)Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
this also fixes some errors in the ipipe merge
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu -
[Mike Frysinger :
- handle bf531/bf532/bf534/bf536 variants in ipipe.h
- cleanup IPIPE logic for bfin_set_irq_handler()
- cleanup ipipe asm code a bit and add missing ENDPROC()
- simplify IPIPE code in trap_c
- unify some of the IPIPE code and fix style
- simplify DO_IRQ_L1 handling with ipipe code
- revert IRQ_SW_INT# addition from ipipe merge
- remove duplicate get_{c,s}clk() prototypes
]Signed-off-by: Yi Li
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Michael Hennerich
Signed-off-by: Bryan Wu -
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu -
[Grace Pan : Add case for kgdb test in l1 and l2]
Signed-off-by: Grace Pan
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
This is a mixture ofcMichael McTernan's patch and the existing cplb-mpu code.
We ditch the old cplb-nompu implementation, which is a good example of
why a good algorithm in a HLL is preferrable to a bad algorithm written in
assembly. Rather than try to construct a table of all posible CPLBs and
search it, we just create a (smaller) table of memory regions and
their attributes. Some of the data structures are now unified for both
the mpu and nompu cases. A lot of needless complexity in cplbinit.c is
removed.Further optimizations:
* compile cplbmgr.c with a lot of -ffixed-reg options, and omit saving
these registers on the stack when entering a CPLB exception.
* lose cli/nop/nop/sti sequences for some workarounds - these don't
* make
sense in an exception contextAdditional code unification should be possible after this.
[Mike Frysinger :
- convert CPP if statements to C if statements
- remove redundant statements
- use a do...while loop rather than a for loop to get slightly better
optimization and to avoid gcc "may be used uninitialized" warnings ...
we know that the [id]cplb_nr_bounds variables will never be 0, so this
is OK
- the no-mpu code was the last user of MAX_MEM_SIZE and with that rewritten,
we can punt it
- add some BUG_ON() checks to make sure we dont overflow the small
cplb_bounds array
- add i/d cplb entries for the bootrom because there is functions/data in
there we want to access
- we do not need a NULL trailing entry as any time we access the bounds
arrays, we use the nr_bounds variable
]Signed-off-by: Michael McTernan
Signed-off-by: Mike Frysinger
Signed-off-by: Bernd Schmidt
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Graf Yang
Signed-off-by: Bryan Wu -
If we are running on a chip revision below what we are compiled for,
there will be missing anomaly workarounds, and a panic is inevitable. Do
is sooner, rather than later, so people don't look for bugs that already
have workarounds (that they turned off).Signed-off-by: Robin Getz
Signed-off-by: Bryan Wu -
Blackfin MUSB has 8 endpoints including ep0 and 8 dma channels not 7
Signed-off-by: Bryan Wu
-
do not allow people to pass in a diff clkin_hz value when
reprogramming clocks -- it is too late currentlySigned-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
rather than use *(unsigned int *)v everywhere, do this once with a local
cpu_num variableSigned-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Michael Hennerich
Signed-off-by: Bryan Wu -
Signed-off-by: Graf Yang
Signed-off-by: Bryan Wu -
Signed-off-by: Graf Yang
Signed-off-by: Bryan Wu -
Signed-off-by: Graf Yang
Signed-off-by: Bryan Wu -
Channnel -> Channel
Signed-off-by: Jean Delvare
Signed-off-by: Bryan Wu -
Signed-off-by: Bernd Schmidt
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Robin Getz
Signed-off-by: Bryan Wu -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu