arm1136 scripts
Here is a patch to fix a startup in C100 (arm1136). Basically make sure that UART is configured before using it. Michal Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
3e51d893ed
commit
bf3410fcc7
|
@ -469,11 +469,12 @@ proc initC100 {} {
|
||||||
mww $INTC_ARM1_CONTROL_REG 0x1
|
mww $INTC_ARM1_CONTROL_REG 0x1
|
||||||
# configure clocks
|
# configure clocks
|
||||||
setupPLL
|
setupPLL
|
||||||
|
# setupUART0 must be run before setupDDR2 as setupDDR2 uses UART.
|
||||||
|
setupUART0
|
||||||
# enable cache
|
# enable cache
|
||||||
# ? (u-boot does nothing here)
|
# ? (u-boot does nothing here)
|
||||||
# DDR2 memory init
|
# DDR2 memory init
|
||||||
setupDDR2
|
setupDDR2
|
||||||
setupUART0
|
|
||||||
putsUART0 "C100 initialization complete.\n"
|
putsUART0 "C100 initialization complete.\n"
|
||||||
puts "C100 initialization complete."
|
puts "C100 initialization complete."
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue