Remove printfs from CanHaveChosenInDTS
This commit is contained in:
@@ -51,10 +51,8 @@ trait CanHaveHTIF { this: BaseSubsystem =>
|
|||||||
case object ChosenInDTS extends Field[Boolean](true)
|
case object ChosenInDTS extends Field[Boolean](true)
|
||||||
trait CanHaveChosenInDTS { this: BaseSubsystem =>
|
trait CanHaveChosenInDTS { this: BaseSubsystem =>
|
||||||
if (p(ChosenInDTS)) {
|
if (p(ChosenInDTS)) {
|
||||||
println("got here")
|
|
||||||
this match {
|
this match {
|
||||||
case t: HasPeripheryUART if (!p(PeripheryUARTKey).isEmpty) => {
|
case t: HasPeripheryUART if (!p(PeripheryUARTKey).isEmpty) => {
|
||||||
println("Add chosen resource")
|
|
||||||
val chosen = new Device {
|
val chosen = new Device {
|
||||||
def describe(resources: ResourceBindings): Description = {
|
def describe(resources: ResourceBindings): Description = {
|
||||||
val stdout = resources("stdout").map(_.value)
|
val stdout = resources("stdout").map(_.value)
|
||||||
|
|||||||
Reference in New Issue
Block a user